diff options
| author | riperiperi <rhy3756547@hotmail.com> | 2023-06-01 08:05:39 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-06-01 09:05:39 +0200 |
| commit | 4741a05df95dd8964543f9770d8bfe15d842beaf (patch) | |
| tree | 74263d1eddd3fdf2fbbc691316618be9d42dbc3d /src/Ryujinx.Graphics.Vulkan | |
| parent | c6676007bfdc65724afebac27990c47a5d6aa3dd (diff) | |
Vulkan: Include DepthMode in ProgramPipelineState (#5185)
Diffstat (limited to 'src/Ryujinx.Graphics.Vulkan')
| -rw-r--r-- | src/Ryujinx.Graphics.Vulkan/PipelineConverter.cs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Ryujinx.Graphics.Vulkan/PipelineConverter.cs b/src/Ryujinx.Graphics.Vulkan/PipelineConverter.cs index 79179ce0..a52b4462 100644 --- a/src/Ryujinx.Graphics.Vulkan/PipelineConverter.cs +++ b/src/Ryujinx.Graphics.Vulkan/PipelineConverter.cs @@ -165,6 +165,7 @@ namespace Ryujinx.Graphics.Vulkan pipeline.DepthTestEnable = state.DepthTest.TestEnable; pipeline.DepthWriteEnable = state.DepthTest.WriteEnable; pipeline.DepthCompareOp = state.DepthTest.Func.Convert(); + pipeline.DepthMode = state.DepthMode == DepthMode.MinusOneToOne; pipeline.FrontFace = state.FrontFace.Convert(); |
