blob: 6e3fa93d0e935b3ba962393aa0f087068af021dc [file] [log] [blame]
SKIP: INVALID
RWByteAddressBuffer prevent_dce : register(u0);
float3 quadSwapX_150d6f() {
float3 res = QuadReadAcrossX((1.0f).xxx);
return res;
}
void fragment_main() {
prevent_dce.Store3(0u, asuint(quadSwapX_150d6f()));
return;
}
[numthreads(1, 1, 1)]
void compute_main() {
prevent_dce.Store3(0u, asuint(quadSwapX_150d6f()));
return;
}
FXC validation failure:
<scrubbed_path>(4,16-42): error X3004: undeclared identifier 'QuadReadAcrossX'
tint executable returned error: exit status 1