mirror of https://github.com/AxioDL/boo.git
Add GEqual depth testing to Vulkan backend
This commit is contained in:
parent
be52f01303
commit
b814cb503a
|
@ -2264,6 +2264,9 @@ public:
|
|||
case ZTest::Equal:
|
||||
depthStencilInfo.depthCompareOp = VK_COMPARE_OP_EQUAL;
|
||||
break;
|
||||
case ZTest::GEqual:
|
||||
depthStencilInfo.depthCompareOp = VK_COMPARE_OP_GREATER_OR_EQUAL;
|
||||
break;
|
||||
}
|
||||
|
||||
VkPipelineColorBlendAttachmentState colorAttachment = {};
|
||||
|
|
Loading…
Reference in New Issue