blob: 7914d1c8ab0b038eb8d864cb89cb9142a1fcc159 [file] [log] [blame]
SKIP: INVALID
RWByteAddressBuffer prevent_dce : register(u0);
int4 subgroupShuffleUp_3e609f() {
int4 arg_0 = (1).xxxx;
uint arg_1 = 1u;
int4 v = arg_0;
uint v_1 = arg_1;
int4 res = WaveReadLaneAt(v, (WaveGetLaneIndex() - v_1));
return res;
}
void fragment_main() {
prevent_dce.Store4(0u, asuint(subgroupShuffleUp_3e609f()));
}
[numthreads(1, 1, 1)]
void compute_main() {
prevent_dce.Store4(0u, asuint(subgroupShuffleUp_3e609f()));
}
FXC validation failure:
<scrubbed_path>(8,33-50): error X3004: undeclared identifier 'WaveGetLaneIndex'