Skip to content

Commit 598298c

Browse files
committed
Vulkan: Fix stencil front mask
1 parent 54e695a commit 598298c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Cafe/HW/Latte/Renderer/Vulkan/VulkanPipelineCompiler.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -826,7 +826,7 @@ void PipelineCompiler::InitDepthStencilState()
826826

827827
depthStencilState.front.reference = stencilRefFront;
828828
depthStencilState.front.compareMask = stencilCompareMaskFront;
829-
depthStencilState.front.writeMask = stencilWriteMaskBack;
829+
depthStencilState.front.writeMask = stencilWriteMaskFront;
830830
depthStencilState.front.compareOp = vkDepthCompareTable[(size_t)frontStencilFunc];
831831
depthStencilState.front.depthFailOp = stencilOpTable[(size_t)frontStencilZFail];
832832
depthStencilState.front.failOp = stencilOpTable[(size_t)frontStencilFail];

0 commit comments

Comments
 (0)