Set DepthAttachmentPixelFormat

This commit is contained in:
Isaac Marovitz 2024-05-16 20:54:27 -04:00
parent 8348320056
commit 996ac27982
No known key found for this signature in database
GPG key ID: 97250B2B09A132E1

View file

@ -69,6 +69,8 @@ namespace Ryujinx.Graphics.Metal
}
}
renderPipelineDescriptor.DepthAttachmentPixelFormat = descriptor.DepthAttachment.Texture.PixelFormat;
var error = new NSError(IntPtr.Zero);
var pipelineState = _device.NewRenderPipelineState(renderPipelineDescriptor, ref error);
if (error != IntPtr.Zero)