Function Prototype

vkCmdEndShaderInstrumentationARM

End shader instrumentation

To end shader instrumentation, call:

void vkCmdEndShaderInstrumentationARM(
    VkCommandBuffer commandBuffer);
  • commandBuffer is the command buffer into which this command will be recorded.

Once recorded, shader instrumentation is no longer considered active within the command buffer.

Valid Usage

VUID-vkCmdEndShaderInstrumentationARM-commandBuffer-12377

Shader instrumentation must be active within commandBuffer

VUID-vkCmdEndShaderInstrumentationARM-commandBuffer-12378

commandBuffer must not be a protected command buffer

Valid Usage (Implicit)

VUID-vkCmdEndShaderInstrumentationARM-commandBuffer-cmdpool

The VkCommandPool that commandBuffer was allocated from must support VK_QUEUE_COMPUTE_BIT, VK_QUEUE_DATA_GRAPH_BIT_ARM, or VK_QUEUE_GRAPHICS_BIT operations

VUID-vkCmdEndShaderInstrumentationARM-suspended

This command must not be called between suspended render pass instances

VUID-vkCmdEndShaderInstrumentationARM-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 that commandBuffer was allocated from must be externally synchronized