vkDestroyShaderInstrumentationARM(3)

# vkDestroyShaderInstrumentationARM(3) Manual Page

## Name

vkDestroyShaderInstrumentationARM - Destroy a shader instrumentation object

## C Specification

To destroy a shader instrumentation object, call:

    // Provided by VK_ARM_shader_instrumentation
    void vkDestroyShaderInstrumentationARM(
        VkDevice                                    device,
        VkShaderInstrumentationARM                  instrumentation,
        const VkAllocationCallbacks*                pAllocator);

## Parameters

- `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.

## Description

Valid Usage

- VUID-vkDestroyShaderInstrumentationARM-instrumentation-12374
  All submitted commands that refer to `instrumentation` must have completed execution

Valid Usage (Implicit)

- VUID-vkDestroyShaderInstrumentationARM-device-parameter
  `device` must be a valid VkDevice handle

- VUID-vkDestroyShaderInstrumentationARM-instrumentation-parameter
  If `instrumentation` is not VK_NULL_HANDLE, `instrumentation` must be a valid VkShaderInstrumentationARM handle

- 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

## See Also

VK_ARM_shader_instrumentation, VkAllocationCallbacks, VkDevice, VkShaderInstrumentationARM

## Document Notes

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.

## Copyright

Copyright 2014-2026 The Khronos Group Inc.

SPDX-License-Identifier: CC-BY-4.0