blob: 49f21d8e6b97ff2abe6ab5e8ab8f3087b3cb6e18 [file] [log] [blame]
RWByteAddressBuffer prevent_dce : register(u0);
uint subgroupAdd_b61df7() {
uint res = WaveActiveSum(1u);
return res;
}
void fragment_main() {
prevent_dce.Store(0u, asuint(subgroupAdd_b61df7()));
return;
}
[numthreads(1, 1, 1)]
void compute_main() {
prevent_dce.Store(0u, asuint(subgroupAdd_b61df7()));
return;
}