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; | |
} |