Log failed format conversions

This commit is contained in:
Isaac Marovitz 2024-05-31 14:03:38 +01:00 committed by Isaac Marovitz
parent 66e2533c90
commit d0946213fa

View file

@ -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; return mtlFormat;
} }
} }