RWByteAddressBuffer prevent_dce : register(u0); | |
uint4 subgroupAnd_d2c9a6() { | |
uint4 res = WaveActiveBitAnd((1u).xxxx); | |
return res; | |
} | |
void fragment_main() { | |
prevent_dce.Store4(0u, asuint(subgroupAnd_d2c9a6())); | |
return; | |
} | |
[numthreads(1, 1, 1)] | |
void compute_main() { | |
prevent_dce.Store4(0u, asuint(subgroupAnd_d2c9a6())); | |
return; | |
} |