blob: fea3ece4c6d1ed094f152ea3c55ac15f6058494c [file] [log] [blame]
SKIP: INVALID
RWByteAddressBuffer prevent_dce : register(u0);
int2 subgroupShuffleUp_db5bcb() {
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(subgroupShuffleUp_db5bcb()));
}
[numthreads(1, 1, 1)]
void compute_main() {
prevent_dce.Store2(0u, asuint(subgroupShuffleUp_db5bcb()));
}
FXC validation failure:
<scrubbed_path>(8,33-50): error X3004: undeclared identifier 'WaveGetLaneIndex'
tint executable returned error: exit status 1