mirror of
https://github.com/cemu-project/Cemu.git
synced 2024-11-25 18:46:55 +01:00
Vulkan: Fix stencil front mask
This commit is contained in:
parent
54e695a6e8
commit
598298cb3d
@ -826,7 +826,7 @@ void PipelineCompiler::InitDepthStencilState()
|
|||||||
|
|
||||||
depthStencilState.front.reference = stencilRefFront;
|
depthStencilState.front.reference = stencilRefFront;
|
||||||
depthStencilState.front.compareMask = stencilCompareMaskFront;
|
depthStencilState.front.compareMask = stencilCompareMaskFront;
|
||||||
depthStencilState.front.writeMask = stencilWriteMaskBack;
|
depthStencilState.front.writeMask = stencilWriteMaskFront;
|
||||||
depthStencilState.front.compareOp = vkDepthCompareTable[(size_t)frontStencilFunc];
|
depthStencilState.front.compareOp = vkDepthCompareTable[(size_t)frontStencilFunc];
|
||||||
depthStencilState.front.depthFailOp = stencilOpTable[(size_t)frontStencilZFail];
|
depthStencilState.front.depthFailOp = stencilOpTable[(size_t)frontStencilZFail];
|
||||||
depthStencilState.front.failOp = stencilOpTable[(size_t)frontStencilFail];
|
depthStencilState.front.failOp = stencilOpTable[(size_t)frontStencilFail];
|
||||||
|
Loading…
Reference in New Issue
Block a user