From 1bf9a711dbff31a449f1ded9e92c3880b13406ea Mon Sep 17 00:00:00 2001 From: TellowKrinkle Date: Mon, 24 Jan 2022 03:39:28 -0600 Subject: [PATCH] GS:MTL: Fix colclip --- pcsx2/GS/Renderers/Metal/tfx.metal | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pcsx2/GS/Renderers/Metal/tfx.metal b/pcsx2/GS/Renderers/Metal/tfx.metal index 03b3419d33ab5..2895d29d32dba 100644 --- a/pcsx2/GS/Renderers/Metal/tfx.metal +++ b/pcsx2/GS/Renderers/Metal/tfx.metal @@ -699,9 +699,9 @@ struct PSMain Color.rgb = clamp(Color.rgb, 0.f, 255.f); if (PS_DFMT == FMT_16) - Color.rgb = float3(ushort3(Color.rgb) & 0xF8); + Color.rgb = float3(short3(Color.rgb) & 0xF8); else if (PS_COLCLIP && !PS_HDR) - Color.rgb = float3(ushort3(Color.rgb) & 0xFF); + Color.rgb = float3(short3(Color.rgb) & 0xFF); } MainPSOut ps_main()