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

@@ -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();