blob: 5a59200a48e7b30f6c6f558d69c8e1cfc0f1e246 [file] [log] [blame]
RWByteAddressBuffer prevent_dce : register(u0);
int subgroupAdd_ba53f9() {
int res = WaveActiveSum(int(1));
return res;
}
void fragment_main() {
prevent_dce.Store(0u, asuint(subgroupAdd_ba53f9()));
}
[numthreads(1, 1, 1)]
void compute_main() {
prevent_dce.Store(0u, asuint(subgroupAdd_ba53f9()));
}