Skip to content

Commit

Permalink
Vulkan: Fix stencil front mask
Browse files Browse the repository at this point in the history
  • Loading branch information
Exzap committed Aug 8, 2024
1 parent 54e695a commit 598298c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -826,7 +826,7 @@ void PipelineCompiler::InitDepthStencilState()

depthStencilState.front.reference = stencilRefFront;
depthStencilState.front.compareMask = stencilCompareMaskFront;
depthStencilState.front.writeMask = stencilWriteMaskBack;
depthStencilState.front.writeMask = stencilWriteMaskFront;
depthStencilState.front.compareOp = vkDepthCompareTable[(size_t)frontStencilFunc];
depthStencilState.front.depthFailOp = stencilOpTable[(size_t)frontStencilZFail];
depthStencilState.front.failOp = stencilOpTable[(size_t)frontStencilFail];
Expand Down

0 comments on commit 598298c

Please sign in to comment.