Structures

VkGpaPerfBlockPropertiesAMD

Structure describing GPU performance API block properties for a physical device

The VkGpaPerfBlockPropertiesAMD structure is defined as:

typedef struct VkGpaPerfBlockPropertiesAMD {
    VkGpaPerfBlockAMD blockType;
    VkGpaPerfBlockPropertiesFlagsAMD flags;
    uint32_t instanceCount;
    uint32_t maxEventID;
    uint32_t maxGlobalOnlyCounters;
    uint32_t maxGlobalSharedCounters;
    uint32_t maxStreamingCounters;
} VkGpaPerfBlockPropertiesAMD;

The members of the VkGpaPerfBlockPropertiesAMD structure describe the following:

  • blockType is a VkGpaPerfBlockAMD specifying the performance block type.
  • flags is reserved for future use.
  • instanceCount is the number of instances of this block that are available in the device.
  • maxEventID is the maximum event ID for this block.
  • maxGlobalOnlyCounters is the number of counters available only for global counters.
  • maxGlobalSharedCounters is the total counters available including state shared between global and streaming performance monitor counters.
  • maxStreamingCounters is the maximum number of counters available for streaming only.

If the VkGpaPerfBlockPropertiesAMD structure is included in the pNext chain of the VkPhysicalDeviceProperties2 structure passed to vkGetPhysicalDeviceProperties2, it is filled in with each corresponding implementation-dependent property.