mirror of https://github.com/Ryujinx/Ryujinx.git
Set DepthAttachmentPixelFormat
This commit is contained in:
parent
6a2db0b198
commit
f40bdc1f18
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue