blob: c3ac794ab72180e80ad06611c98bbc4eab29b54a [file] [log] [blame]
RWByteAddressBuffer prevent_dce : register(u0);
vector<float16_t, 2> subgroupInclusiveAdd_a7c60f() {
vector<float16_t, 2> arg_0 = (float16_t(1.0h)).xx;
vector<float16_t, 2> v = arg_0;
vector<float16_t, 2> res = (WavePrefixSum(v) + v);
return res;
}
void fragment_main() {
prevent_dce.Store<vector<float16_t, 2> >(0u, subgroupInclusiveAdd_a7c60f());
}
[numthreads(1, 1, 1)]
void compute_main() {
prevent_dce.Store<vector<float16_t, 2> >(0u, subgroupInclusiveAdd_a7c60f());
}