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