diff options
author | Lody <imlody@163.com> | 2022-05-06 08:47:55 +0200 |
---|---|---|
committer | Lody <imlody@163.com> | 2022-05-06 08:47:55 +0200 |
commit | 535bc61b4c6c6242624afc330acd7071a7dc1ed1 (patch) | |
tree | 8c99783a099a64bfec783964be49b029f612ff77 /src | |
parent | Merge pull request #8300 from Morph1984/resultval-range (diff) | |
download | yuzu-535bc61b4c6c6242624afc330acd7071a7dc1ed1.tar yuzu-535bc61b4c6c6242624afc330acd7071a7dc1ed1.tar.gz yuzu-535bc61b4c6c6242624afc330acd7071a7dc1ed1.tar.bz2 yuzu-535bc61b4c6c6242624afc330acd7071a7dc1ed1.tar.lz yuzu-535bc61b4c6c6242624afc330acd7071a7dc1ed1.tar.xz yuzu-535bc61b4c6c6242624afc330acd7071a7dc1ed1.tar.zst yuzu-535bc61b4c6c6242624afc330acd7071a7dc1ed1.zip |
Diffstat (limited to '')
-rw-r--r-- | src/video_core/renderer_vulkan/vk_rasterizer.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/video_core/renderer_vulkan/vk_rasterizer.cpp b/src/video_core/renderer_vulkan/vk_rasterizer.cpp index fd27581ce..ce6c853c1 100644 --- a/src/video_core/renderer_vulkan/vk_rasterizer.cpp +++ b/src/video_core/renderer_vulkan/vk_rasterizer.cpp @@ -784,8 +784,8 @@ void RasterizerVulkan::UpdateStencilFaces(Tegra::Engines::Maxwell3D::Regs& regs) }); } else { // Front face defines both faces - scheduler.Record([ref = regs.stencil_back_func_ref, write_mask = regs.stencil_back_mask, - test_mask = regs.stencil_back_func_mask](vk::CommandBuffer cmdbuf) { + scheduler.Record([ref = regs.stencil_front_func_ref, write_mask = regs.stencil_front_mask, + test_mask = regs.stencil_front_func_mask](vk::CommandBuffer cmdbuf) { cmdbuf.SetStencilReference(VK_STENCIL_FACE_FRONT_AND_BACK, ref); cmdbuf.SetStencilWriteMask(VK_STENCIL_FACE_FRONT_AND_BACK, write_mask); cmdbuf.SetStencilCompareMask(VK_STENCIL_FACE_FRONT_AND_BACK, test_mask); |