blob: f7b368514ae49d9ef6298ef16b0909adeb979016 [file] [log] [blame]
SKIP: Wave ops not supported before SM 6.0
RWByteAddressBuffer prevent_dce : register(u0);
int2 subgroupShuffleXor_071aa0() {
int2 arg_0 = (1).xx;
uint arg_1 = 1u;
int2 v = arg_0;
uint v_1 = arg_1;
int2 res = WaveReadLaneAt(v, (WaveGetLaneIndex() ^ v_1));
return res;
}
void fragment_main() {
prevent_dce.Store2(0u, asuint(subgroupShuffleXor_071aa0()));
}
[numthreads(1, 1, 1)]
void compute_main() {
prevent_dce.Store2(0u, asuint(subgroupShuffleXor_071aa0()));
}