Set DepthAttachmentPixelFormat

This commit is contained in:
Isaac Marovitz 2024-05-16 20:54:27 -04:00 committed by Isaac Marovitz
parent 6a2db0b198
commit f40bdc1f18
1 changed files with 2 additions and 0 deletions

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)