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;
pub struct ShaderInstrumentationMetricDataHeaderARM {
result_index: u32,
result_sub_index: u32,
stages: vk::ShaderStageFlags,
basic_block_index: u32,
}
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.
Valid Usage (Implicit)
VUID-VkShaderInstrumentationMetricDataHeaderARM-stages-parameter
stages must be a valid combination of VkShaderStageFlagBits values
VUID-VkShaderInstrumentationMetricDataHeaderARM-stages-requiredbitmask
stages must not be 0
Type
Structures