blob: d5177d61948900dfa972e6389f6ccbac81ea73d4 [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'
tint executable returned error: exit status 1