RWByteAddressBuffer prevent_dce : register(u0); | |
int4 subgroupShuffleDown_313d9b() { | |
int4 res = WaveReadLaneAt((int(1)).xxxx, (WaveGetLaneIndex() + 1u)); | |
return res; | |
} | |
void fragment_main() { | |
prevent_dce.Store4(0u, asuint(subgroupShuffleDown_313d9b())); | |
} | |
[numthreads(1, 1, 1)] | |
void compute_main() { | |
prevent_dce.Store4(0u, asuint(subgroupShuffleDown_313d9b())); | |
} | |