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