Vulkan: Include DepthMode in ProgramPipelineState (#5185)

This commit is contained in:
riperiperi authored and GitHub committed 2023-06-01 09:05:39 +02:00
1 parent c6676007bf
commit 4741a05df9
4 files changed
+23 -1

No files matched your search

@@ -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>