Structures

VkPhysicalDeviceShaderInstrumentationPropertiesARM

Structure describing shader instrumentation properties for a physical device

The VkPhysicalDeviceShaderInstrumentationPropertiesARM structure is defined as:

typedef struct VkPhysicalDeviceShaderInstrumentationPropertiesARM {
    VkStructureType sType;
    void* pNext;
    uint32_t numMetrics;
    VkBool32 perBasicBlockGranularity;
} VkPhysicalDeviceShaderInstrumentationPropertiesARM;

The members of the VkPhysicalDeviceShaderInstrumentationPropertiesARM structure describe the following:

  • 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)

VUID-VkPhysicalDeviceShaderInstrumentationPropertiesARM-sType-sType

sType must be VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_INSTRUMENTATION_PROPERTIES_ARM