Function Prototype
vkCmdEndConditionalRenderingEXT
Define the end of a conditional rendering block
To end conditional rendering, call:
void vkCmdEndConditionalRenderingEXT(
VkCommandBuffer commandBuffer);
pub fn cmd_end_conditional_rendering_ext(
command_buffer: vk::CommandBuffer,
);
commandBufferis the command buffer into which this command will be recorded.
Once ended, conditional rendering becomes inactive.
Valid Usage
VUID-vkCmdEndConditionalRenderingEXT-None-01985
Conditional rendering must be active
VUID-vkCmdEndConditionalRenderingEXT-None-01986
If conditional rendering was made active outside of a render pass instance, it must not be ended inside a render pass instance
VUID-vkCmdEndConditionalRenderingEXT-None-01987
If conditional rendering was made active within a subpass it must be ended in the same subpass
Valid Usage (Implicit)
VUID-vkCmdEndConditionalRenderingEXT-commandBuffer-parameter
commandBuffer must be a valid VkCommandBuffer handle
VUID-vkCmdEndConditionalRenderingEXT-commandBuffer-recording
commandBuffer must be in the recording state
VUID-vkCmdEndConditionalRenderingEXT-commandBuffer-cmdpool
The VkCommandPool that commandBuffer was allocated from must support VK_QUEUE_COMPUTE_BIT, or VK_QUEUE_GRAPHICS_BIT operations
VUID-vkCmdEndConditionalRenderingEXT-suspended
This command must not be called between suspended render pass instances
VUID-vkCmdEndConditionalRenderingEXT-videocoding
This command must only be called outside of a video coding scope
Host Synchronization
- Host access to
commandBuffermust be externally synchronized - Host access to the
VkCommandPoolthatcommandBufferwas allocated from must be externally synchronized
Type
Function Prototype
Command Buffer Level
primarysecondary
Queue Types
VK_QUEUE_GRAPHICS_BITVK_QUEUE_COMPUTE_BIT
Command Type
actionstate