To dynamically set the depth compare operator, call:
// Provided by VK_EXT_extended_dynamic_state void vkCmdSetDepthCompareOpEXT( VkCommandBuffer commandBuffer, VkCompareOp depthCompareOp);
commandBufferis the command buffer into which the command will be recorded.
depthCompareOpspecifies the depth comparison operator.
This command sets the depth comparison operator for subsequent drawing
commands when the graphics pipeline is created with
VK_DYNAMIC_STATE_DEPTH_COMPARE_OP_EXT set in
Otherwise, this state is specified by the
depthCompareOp value used
to create the currently active pipeline.
For more information, see the Vulkan Specification
This page is extracted from the Vulkan Specification. Fixes and changes should be made to the Specification, not directly.