From 92cd6e8435f9210ac80b52c3eff1044676904ca3 Mon Sep 17 00:00:00 2001 From: refractionpcsx2 Date: Sun, 9 Oct 2022 04:53:18 +0100 Subject: [PATCH] GS: Fix DX shader error --- bin/resources/shaders/dx11/tfx.fx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/resources/shaders/dx11/tfx.fx b/bin/resources/shaders/dx11/tfx.fx index bd1be829b0..b792e7e7dd 100644 --- a/bin/resources/shaders/dx11/tfx.fx +++ b/bin/resources/shaders/dx11/tfx.fx @@ -715,7 +715,7 @@ void ps_fbmask(inout float4 C, float2 pos_xy) if (PS_FBMASK) { float4 RT = trunc(RtTexture.Load(int3(pos_xy, 0)) * 255.0f + 0.1f); - C = (float4)(((uint4)(int4)C & (FbMask ^ 0xFF) | ((uint4)RT & FbMask)); + C = (float4)(((uint4)(int4)C & (FbMask ^ 0xFF)) | ((uint4)RT & FbMask)); } }