VkPhysicalDeviceShaderInstrumentationPropertiesARM(3)

# VkPhysicalDeviceShaderInstrumentationPropertiesARM(3) Manual Page

## Name

VkPhysicalDeviceShaderInstrumentationPropertiesARM - Structure describing shader instrumentation properties for a physical device

Loading… please wait.

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

- VUID-VkPhysicalDeviceShaderInstrumentationPropertiesARM-sType-sType
  `sType` must be VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_INSTRUMENTATION_PROPERTIES_ARM

Structure Chaining

Extends the structure

  - VkPhysicalDeviceProperties2

## See Also

VK_ARM_shader_instrumentation, VkBool32, VkStructureType

## 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