blob: f4734abb67fe6e627e1161e83e3da051e1fe8a44 [file] [log] [blame]
SKIP: INVALID
RWByteAddressBuffer prevent_dce : register(u0);
int2 subgroupShuffleUp_db5bcb() {
int2 res = WaveReadLaneAt((1).xx, (WaveGetLaneIndex() - 1u));
return res;
}
void fragment_main() {
prevent_dce.Store2(0u, asuint(subgroupShuffleUp_db5bcb()));
return;
}
[numthreads(1, 1, 1)]
void compute_main() {
prevent_dce.Store2(0u, asuint(subgroupShuffleUp_db5bcb()));
return;
}
FXC validation failure:
<scrubbed_path>(4,38-55): error X3004: undeclared identifier 'WaveGetLaneIndex'
tint executable returned error: exit status 1