Add GEqual depth testing to Vulkan backend

This commit is contained in:
Jack Andersen 2018-05-25 17:41:35 -10:00
parent be52f01303
commit b814cb503a
1 changed files with 3 additions and 0 deletions

View File

@ -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 = {};