Log failed format conversions

This commit is contained in:
Isaac Marovitz 2024-05-31 14:03:38 +01:00
parent dee19f8227
commit 7158c8ddc2
No known key found for this signature in database
GPG Key ID: 97250B2B09A132E1
1 changed files with 5 additions and 0 deletions

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;
}
}