Structures

VkShaderInstrumentationMetricDataHeaderARM

Structure describing the header of a metric block

The shader instrumentation metrics block header is defined as:

typedef struct VkShaderInstrumentationMetricDataHeaderARM {
    uint32_t resultIndex;
    uint32_t resultSubIndex;
    VkShaderStageFlags stages;
    uint32_t basicBlockIndex;
} VkShaderInstrumentationMetricDataHeaderARM;
  • resultIndex is the result index of the metric block, as captured when the command was recorded.
  • resultSubIndex is a secondary index with the result index, explained further below.
  • stages is a bitfield of VkShaderStageFlagBits describing the shader stages that the metric block is for.
  • basicBlockIndex is the index of the basic block within the shader that the metric block is for.