From a2aae7fb4508424341a07b95e9b403ec1e3c244b Mon Sep 17 00:00:00 2001 From: lightningterror <18107717+lightningterror@users.noreply.github.com> Date: Mon, 8 Jul 2024 01:48:11 +0200 Subject: [PATCH] GS/Metal: Add FLOAT32_TO_FLOAT24 case to DepthStencil texture format for shader convert. --- pcsx2/GS/Renderers/Metal/GSDeviceMTL.mm | 1 + 1 file changed, 1 insertion(+) diff --git a/pcsx2/GS/Renderers/Metal/GSDeviceMTL.mm b/pcsx2/GS/Renderers/Metal/GSDeviceMTL.mm index b280fa5fa81fd..305a1d15739d9 100644 --- a/pcsx2/GS/Renderers/Metal/GSDeviceMTL.mm +++ b/pcsx2/GS/Renderers/Metal/GSDeviceMTL.mm @@ -1118,6 +1118,7 @@ static void OnMainThread(Fn&& fn) pdesc.depthAttachmentPixelFormat = MTLPixelFormatInvalid; break; case ShaderConvert::DEPTH_COPY: + case ShaderConvert::FLOAT32_TO_FLOAT24: case ShaderConvert::RGBA8_TO_FLOAT32: case ShaderConvert::RGBA8_TO_FLOAT24: case ShaderConvert::RGBA8_TO_FLOAT16: