blob: 69b8d098296e3e4b9f67352f75e23fbbeb20a257 [file] [log] [blame]
RWByteAddressBuffer prevent_dce : register(u0);
int2 subgroupXor_473de8() {
int2 arg = (1).xx;
int2 res = asint(WaveActiveBitXor(asuint(arg)));
return res;
}
void fragment_main() {
prevent_dce.Store2(0u, asuint(subgroupXor_473de8()));
}
[numthreads(1, 1, 1)]
void compute_main() {
prevent_dce.Store2(0u, asuint(subgroupXor_473de8()));
}