blob: 6608bc6b8fed8e27bd40cb45fcc0c76c34714239 [file] [log] [blame]
//
// fragment_main
//
RWByteAddressBuffer prevent_dce : register(u0);
vector<float16_t, 2> subgroupInclusiveMul_ac5df5() {
vector<float16_t, 2> arg_0 = (float16_t(1.0h)).xx;
vector<float16_t, 2> v = arg_0;
vector<float16_t, 2> res = (WavePrefixProduct(v) * v);
return res;
}
void fragment_main() {
prevent_dce.Store<vector<float16_t, 2> >(0u, subgroupInclusiveMul_ac5df5());
}
//
// compute_main
//
RWByteAddressBuffer prevent_dce : register(u0);
vector<float16_t, 2> subgroupInclusiveMul_ac5df5() {
vector<float16_t, 2> arg_0 = (float16_t(1.0h)).xx;
vector<float16_t, 2> v = arg_0;
vector<float16_t, 2> res = (WavePrefixProduct(v) * v);
return res;
}
[numthreads(1, 1, 1)]
void compute_main() {
prevent_dce.Store<vector<float16_t, 2> >(0u, subgroupInclusiveMul_ac5df5());
}