From e97c9bc959204fd520c51b7077db3af34ad6ec66 Mon Sep 17 00:00:00 2001 From: Isaac Marovitz Date: Fri, 31 May 2024 11:24:33 +0100 Subject: [PATCH] Map R5G5B5A1Unorm --- src/Ryujinx.Graphics.Metal/FormatTable.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Ryujinx.Graphics.Metal/FormatTable.cs b/src/Ryujinx.Graphics.Metal/FormatTable.cs index 7cac4f7c4..e3f531cdd 100644 --- a/src/Ryujinx.Graphics.Metal/FormatTable.cs +++ b/src/Ryujinx.Graphics.Metal/FormatTable.cs @@ -73,7 +73,7 @@ namespace Ryujinx.Graphics.Metal // Add(Format.R4G4Unorm, MTLPixelFormat.R4G4Unorm); // Add(Format.R4G4B4A4Unorm, MTLPixelFormat.R4G4B4A4Unorm); // Add(Format.R5G5B5X1Unorm, MTLPixelFormat.R5G5B5X1Unorm); - // Add(Format.R5G5B5A1Unorm, MTLPixelFormat.R5G5B5A1Unorm); + Add(Format.R5G5B5A1Unorm, MTLPixelFormat.BGR5A1Unorm); Add(Format.R5G6B5Unorm, MTLPixelFormat.B5G6R5Unorm); Add(Format.R10G10B10A2Unorm, MTLPixelFormat.RGB10A2Unorm); Add(Format.R10G10B10A2Uint, MTLPixelFormat.RGB10A2Uint);