From d0946213fa9d0fc7a25f29410192f89aef24cf74 Mon Sep 17 00:00:00 2001 From: Isaac Marovitz Date: Fri, 31 May 2024 14:03:38 +0100 Subject: [PATCH] Log failed format conversions --- src/Ryujinx.Graphics.Metal/FormatTable.cs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/Ryujinx.Graphics.Metal/FormatTable.cs b/src/Ryujinx.Graphics.Metal/FormatTable.cs index e3f531cdd7..529758e782 100644 --- a/src/Ryujinx.Graphics.Metal/FormatTable.cs +++ b/src/Ryujinx.Graphics.Metal/FormatTable.cs @@ -180,6 +180,11 @@ namespace Ryujinx.Graphics.Metal } } + if (mtlFormat == MTLPixelFormat.Invalid) + { + Logger.Error?.PrintMsg(LogClass.Gpu, $"Application requested {format}, no direct equivalent was found!"); + } + return mtlFormat; } }