C Specification

The VkPhysicalDeviceShaderInstrumentationPropertiesARM structure is defined as:

// Provided by VK_ARM_shader_instrumentation
typedef struct VkPhysicalDeviceShaderInstrumentationPropertiesARM {
    VkStructureType    sType;
    void*              pNext;
    uint32_t           numMetrics;
    VkBool32           perBasicBlockGranularity;
} VkPhysicalDeviceShaderInstrumentationPropertiesARM;

Members

The members of the VkPhysicalDeviceShaderInstrumentationPropertiesARM structure describe the following:

Description

  • sType is a VkStructureType value identifying this structure.

  • pNext is NULL or a pointer to a structure extending this structure.

  • numMetrics is the number of shader instrumentation metrics supported.

  • perBasicBlockGranularity is a boolean value indicating whether shader instrumentation metrics are returned per basic block. If this is VK_FALSE, then all metrics for the shader are reported as basic block index 0.

If the VkPhysicalDeviceShaderInstrumentationPropertiesARM structure is included in the pNext chain of the VkPhysicalDeviceProperties2 structure passed to vkGetPhysicalDeviceProperties2, it is filled in with each corresponding implementation-dependent property.

Valid Usage (Implicit)

See Also

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 2014-2026 The Khronos Group Inc.

SPDX-License-Identifier: CC-BY-4.0