C Specification

The VkGpaPerfBlockPropertiesAMD structure is defined as:

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

Members

The members of the VkGpaPerfBlockPropertiesAMD structure describe the following:

Description

  • 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.

Valid Usage (Implicit)
  • VUID-VkGpaPerfBlockPropertiesAMD-blockType-parameter
    blockType must be a valid VkGpaPerfBlockAMD value

  • VUID-VkGpaPerfBlockPropertiesAMD-flags-zerobitmask
    flags must be 0

See Also

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 2014-2026 The Khronos Group Inc.

SPDX-License-Identifier: CC-BY-4.0