blob: 0911d355626073384c9459d7a67332c2d04000cb [file] [log] [blame]
SKIP: INVALID
RWByteAddressBuffer prevent_dce : register(u0);
uint2 subgroupBroadcast_a279d7() {
uint2 res = WaveReadLaneAt((1u).xx, 1);
return res;
}
void fragment_main() {
prevent_dce.Store2(0u, subgroupBroadcast_a279d7());
}
[numthreads(1, 1, 1)]
void compute_main() {
prevent_dce.Store2(0u, subgroupBroadcast_a279d7());
}
FXC validation failure:
<scrubbed_path>(4,15-40): error X3004: undeclared identifier 'WaveReadLaneAt'
tint executable returned error: exit status 1