C Specification
The shader instrumentation metrics block header is defined as:
// Provided by VK_ARM_shader_instrumentation
typedef struct VkShaderInstrumentationMetricDataHeaderARM {
uint32_t resultIndex;
uint32_t resultSubIndex;
VkShaderStageFlags stages;
uint32_t basicBlockIndex;
} VkShaderInstrumentationMetricDataHeaderARM;
Members
-
resultIndexis the result index of the metric block, as captured when the command was recorded. -
resultSubIndexis a secondary index with the result index, explained further below. -
stagesis a bitfield of VkShaderStageFlagBits describing the shader stages that the metric block is for. -
basicBlockIndexis the index of the basic block within the shader that the metric block is for.
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.