Function Prototype

vkDestroyShaderInstrumentationARM

Destroy a shader instrumentation object

To destroy a shader instrumentation object, call:

void vkDestroyShaderInstrumentationARM(
    VkDevice device,
    VkShaderInstrumentationARM instrumentation,
    const VkAllocationCallbacks*    pAllocator);
  • device is the logical device that destroys the shader instrumentation.
  • instrumentation is the handle of the shader instrumentation to destroy.
  • pAllocator controls host memory allocation as described in the Memory Allocation chapter.

Valid Usage

VUID-vkDestroyShaderInstrumentationARM-instrumentation-12374

All submitted commands that refer to instrumentation must have completed execution

Valid Usage (Implicit)

VUID-vkDestroyShaderInstrumentationARM-pAllocator-parameter

If pAllocator is not NULL, pAllocator must be a valid pointer to a valid VkAllocationCallbacks structure

VUID-vkDestroyShaderInstrumentationARM-instrumentation-parent

If instrumentation is a valid handle, it must have been created, allocated, or retrieved from device

Host Synchronization

  • Host access to instrumentation must be externally synchronized