mirror of
https://github.com/GreemDev/Ryujinx.git
synced 2025-01-19 19:58:42 +01:00
Update src/Ryujinx.Graphics.Metal/Pipeline.cs
Co-authored-by: gdkchan <gab.dark.100@gmail.com>
This commit is contained in:
parent
bbc2ac2e9b
commit
1f8ae7e5b1
@ -326,7 +326,7 @@ namespace Ryujinx.Graphics.Metal
|
||||
public void SetDepthTest(DepthTestDescriptor depthTest)
|
||||
{
|
||||
var depthStencilState = _renderEncoderState.UpdateDepthState(
|
||||
depthTest.TestEnable ? MTLCompareFunction.Always : depthTest.Func.Convert(),
|
||||
depthTest.TestEnable ? depthTest.Func.Convert() : MTLCompareFunction.Always,
|
||||
depthTest.WriteEnable);
|
||||
|
||||
if (_currentEncoder is MTLRenderCommandEncoder renderCommandEncoder)
|
||||
|
Loading…
x
Reference in New Issue
Block a user