Function Prototype
vkDestroyShaderInstrumentationARM
Destroy a shader instrumentation object
To destroy a shader instrumentation object, call:
void vkDestroyShaderInstrumentationARM(
VkDevice device,
VkShaderInstrumentationARM instrumentation,
const VkAllocationCallbacks* pAllocator);
pub fn destroy_shader_instrumentation_arm(
device: vk::Device,
instrumentation: vk::ShaderInstrumentationARM,
p_allocator: *const vk::AllocationCallbacks,
);
deviceis the logical device that destroys the shader instrumentation.instrumentationis the handle of the shader instrumentation to destroy.pAllocatorcontrols 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-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
instrumentationmust be externally synchronized
Type
Function Prototype