Match S8UintD24Unorm to Depth24UnormStencil8

Kind of works for es2gears
This commit is contained in:
Isaac Marovitz 2024-06-20 22:55:33 +01:00 committed by Isaac Marovitz
parent 49781fde65
commit a638060dee

View file

@ -65,7 +65,7 @@ namespace Ryujinx.Graphics.Metal
Add(Format.R32G32B32A32Sint, MTLPixelFormat.RGBA32Sint);
Add(Format.S8Uint, MTLPixelFormat.Stencil8);
Add(Format.D16Unorm, MTLPixelFormat.Depth16Unorm);
// Add(Format.S8UintD24Unorm, MTLPixelFormat.BGRA8Unorm);
Add(Format.S8UintD24Unorm, MTLPixelFormat.Depth24UnormStencil8);
Add(Format.D32Float, MTLPixelFormat.Depth32Float);
Add(Format.D24UnormS8Uint, MTLPixelFormat.Depth24UnormStencil8);
Add(Format.D32FloatS8Uint, MTLPixelFormat.Depth32FloatStencil8);