blob: 74e268cccab35e6759709fd126d830a613362f33 [file] [log] [blame]
SKIP: INVALID
RWByteAddressBuffer prevent_dce : register(u0);
int subgroupElect_3943d6() {
bool res = WaveIsFirstLane();
return ((all((res == false))) ? (int(1)) : (int(0)));
}
void fragment_main() {
prevent_dce.Store(0u, asuint(subgroupElect_3943d6()));
}
[numthreads(1, 1, 1)]
void compute_main() {
prevent_dce.Store(0u, asuint(subgroupElect_3943d6()));
}
FXC validation failure:
<scrubbed_path>(4,14-30): error X3004: undeclared identifier 'WaveIsFirstLane'
tint executable returned error: exit status 1