Set DepthAttachmentPixelFormat
This commit is contained in:
parent
7f65ec0b8c
commit
f79ebd1141
@ -69,6 +69,8 @@ namespace Ryujinx.Graphics.Metal
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
renderPipelineDescriptor.DepthAttachmentPixelFormat = descriptor.DepthAttachment.Texture.PixelFormat;
|
||||||
|
|
||||||
var error = new NSError(IntPtr.Zero);
|
var error = new NSError(IntPtr.Zero);
|
||||||
var pipelineState = _device.NewRenderPipelineState(renderPipelineDescriptor, ref error);
|
var pipelineState = _device.NewRenderPipelineState(renderPipelineDescriptor, ref error);
|
||||||
if (error != IntPtr.Zero)
|
if (error != IntPtr.Zero)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user