blob: c09690d19bee5554629e264cd1ba521f58934d49 [file] [log] [blame]
SKIP: INVALID
RWByteAddressBuffer prevent_dce : register(u0);
uint2 subgroupShuffleXor_e3c10b() {
uint2 res = WaveReadLaneAt((1u).xx, (WaveGetLaneIndex() ^ 1u));
return res;
}
void fragment_main() {
prevent_dce.Store2(0u, asuint(subgroupShuffleXor_e3c10b()));
return;
}
[numthreads(1, 1, 1)]
void compute_main() {
prevent_dce.Store2(0u, asuint(subgroupShuffleXor_e3c10b()));
return;
}
FXC validation failure:
<scrubbed_path>(4,40-57): error X3004: undeclared identifier 'WaveGetLaneIndex'