Function Prototype
vkCmdSetCheckpointNV
Insert diagnostic checkpoint in command stream
primary / secondary
both
graphics / compute / transfer
action
Device diagnostic checkpoints are inserted into the command stream by calling vkCmdSetCheckpointNV.
void vkCmdSetCheckpointNV(
VkCommandBuffer commandBuffer,
const void* pCheckpointMarker);
commandBuffer
is the command buffer that will receive the markerpCheckpointMarker
is an opaque application-provided value that will be associated with the checkpoint.
Valid Usage (Implicit)
VUID-vkCmdSetCheckpointNV-commandBuffer-parameter
commandBuffer
must be a valid VkCommandBuffer handle
VUID-vkCmdSetCheckpointNV-commandBuffer-recording
commandBuffer
must be in the recording state
VUID-vkCmdSetCheckpointNV-commandBuffer-cmdpool
The VkCommandPool
that commandBuffer
was allocated from must support graphics, compute, or transfer operations
VUID-vkCmdSetCheckpointNV-videocoding
This command must only be called outside of a video coding scope
Host Synchronization
- Host access to
commandBuffer
must be externally synchronized - Host access to the
VkCommandPool
thatcommandBuffer
was allocated from must be externally synchronized ::