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.Gpu/Engine | |
| parent | c6676007bfdc65724afebac27990c47a5d6aa3dd (diff) | |
Vulkan: Include DepthMode in ProgramPipelineState (#5185)
Diffstat (limited to 'src/Ryujinx.Graphics.Gpu/Engine')
| -rw-r--r-- | src/Ryujinx.Graphics.Gpu/Engine/Threed/StateUpdater.cs | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/Ryujinx.Graphics.Gpu/Engine/Threed/StateUpdater.cs b/src/Ryujinx.Graphics.Gpu/Engine/Threed/StateUpdater.cs index 4feb8baf..5fa4702b 100644 --- a/src/Ryujinx.Graphics.Gpu/Engine/Threed/StateUpdater.cs +++ b/src/Ryujinx.Graphics.Gpu/Engine/Threed/StateUpdater.cs @@ -771,7 +771,11 @@ namespace Ryujinx.Graphics.Gpu.Engine.Threed /// </summary> private void UpdateDepthMode() { - _context.Renderer.Pipeline.SetDepthMode(GetDepthMode()); + DepthMode mode = GetDepthMode(); + + _pipeline.DepthMode = mode; + + _context.Renderer.Pipeline.SetDepthMode(mode); } /// <summary> |
