GS/Metal: Add FLOAT32_TO_FLOAT24 case to DepthStencil texture format for shader convert.

This commit is contained in:
lightningterror 2024-07-08 01:48:11 +02:00
parent 93abd2f2e5
commit a2aae7fb45
1 changed files with 1 additions and 0 deletions

View File

@ -1118,6 +1118,7 @@ bool GSDeviceMTL::Create(GSVSyncMode vsync_mode, bool allow_present_throttle)
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: