blob: c355a7e6f35a360121df13216aded59541ec3adb [file] [log] [blame]
SKIP: FAILED
RWByteAddressBuffer prevent_dce : register(u0);
float4 quadSwapX_69af6a() {
float4 res = QuadReadAcrossX((1.0f).xxxx);
return res;
}
void fragment_main() {
prevent_dce.Store4(0u, asuint(quadSwapX_69af6a()));
return;
}
[numthreads(1, 1, 1)]
void compute_main() {
prevent_dce.Store4(0u, asuint(quadSwapX_69af6a()));
return;
}
FXC validation failure:
C:\src\dawn\Shader@0x00000227AB84E100(4,16-43): error X3004: undeclared identifier 'QuadReadAcrossX'