From d5758cb310183ae876455ce1c3b35383b4f0940f Mon Sep 17 00:00:00 2001 From: Isaac Marovitz Date: Mon, 9 Oct 2023 11:20:23 -0400 Subject: [PATCH] Fix ETC2 PTA formats Format --- src/Ryujinx.Graphics.Metal/FormatTable.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Ryujinx.Graphics.Metal/FormatTable.cs b/src/Ryujinx.Graphics.Metal/FormatTable.cs index 6bacae0c0..29f348cac 100644 --- a/src/Ryujinx.Graphics.Metal/FormatTable.cs +++ b/src/Ryujinx.Graphics.Metal/FormatTable.cs @@ -94,11 +94,11 @@ namespace Ryujinx.Graphics.Metal Add(Format.Bc6HSfloat, MTLPixelFormat.BC6HRGBFloat); Add(Format.Bc6HUfloat, MTLPixelFormat.BC6HRGBUfloat); Add(Format.Etc2RgbUnorm, MTLPixelFormat.ETC2RGB8); - Add(Format.Etc2RgbaUnorm, MTLPixelFormat.ETC2RGB8A1); - // Add(Format.Etc2RgbPtaUnorm, MTLPixelFormat.Etc2RgbPtaUnorm); + // Add(Format.Etc2RgbaUnorm, MTLPixelFormat.ETC2RGBA8); + Add(Format.Etc2RgbPtaUnorm, MTLPixelFormat.ETC2RGB8A1); Add(Format.Etc2RgbSrgb, MTLPixelFormat.ETC2RGB8sRGB); - Add(Format.Etc2RgbaSrgb, MTLPixelFormat.ETC2RGB8A1sRGB); - // Add(Format.Etc2RgbPtaSrgb, MTLPixelFormat.Etc2RgbPtaSrgb); + // Add(Format.Etc2RgbaSrgb, MTLPixelFormat.ETC2RGBA8sRGB); + Add(Format.Etc2RgbPtaSrgb, MTLPixelFormat.ETC2RGB8A1sRGB); // Add(Format.R8Uscaled, MTLPixelFormat.R8Uscaled); // Add(Format.R8Sscaled, MTLPixelFormat.R8Sscaled); // Add(Format.R16Uscaled, MTLPixelFormat.R16Uscaled);