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