1
0
mirror of https://github.com/doitsujin/dxvk.git synced 2025-01-18 20:52:10 +01:00

[dxvk] Fix stencil state assignment

Not really important since we don't use stencil anyway,
but we should at least populate the struct correctly.
This commit is contained in:
Philip Rebohle 2018-09-27 21:04:49 +02:00
parent 161fb6215a
commit 33408a8a74
No known key found for this signature in database
GPG Key ID: C8CC613427A31C99

View File

@ -514,7 +514,7 @@ namespace dxvk {
stencilOp.compareOp = VK_COMPARE_OP_ALWAYS;
stencilOp.compareMask = 0xFFFFFFFF;
stencilOp.writeMask = 0xFFFFFFFF;
stencilOp.compareMask = 0;
stencilOp.reference = 0;
VkPipelineDepthStencilStateCreateInfo dsState;
dsState.sType = VK_STRUCTURE_TYPE_PIPELINE_DEPTH_STENCIL_STATE_CREATE_INFO;