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