Structures
VkQueryPoolPerformanceCreateInfoKHR
Structure specifying parameters of a newly created performance query pool
The VkQueryPoolPerformanceCreateInfoKHR
structure is defined as:
typedef struct VkQueryPoolPerformanceCreateInfoKHR {
VkStructureType sType;
const void* pNext;
uint32_t queueFamilyIndex;
uint32_t counterIndexCount;
const uint32_t* pCounterIndices;
} VkQueryPoolPerformanceCreateInfoKHR;
sType
is a VkStructureType value identifying this structure.pNext
isNULL
or a pointer to a structure extending this structure.queueFamilyIndex
is the queue family index to create this performance query pool for.counterIndexCount
is the length of thepCounterIndices
array.pCounterIndices
is a pointer to an array of indices into the vkEnumeratePhysicalDeviceQueueFamilyPerformanceQueryCountersKHR::pCounters
to enable in this performance query pool.
Valid Usage
VUID-VkQueryPoolPerformanceCreateInfoKHR-queueFamilyIndex-03236
queueFamilyIndex
must be a valid queue family index of the device
VUID-VkQueryPoolPerformanceCreateInfoKHR-performanceCounterQueryPools-03237
The performanceCounterQueryPools
feature must be enabled
VUID-VkQueryPoolPerformanceCreateInfoKHR-pCounterIndices-03321
Each element of pCounterIndices
must be in the range of counters
reported by
vkEnumeratePhysicalDeviceQueueFamilyPerformanceQueryCountersKHR
for the queue family specified in queueFamilyIndex
Valid Usage (Implicit)
VUID-VkQueryPoolPerformanceCreateInfoKHR-sType-sType
sType
must be VK_STRUCTURE_TYPE_QUERY_POOL_PERFORMANCE_CREATE_INFO_KHR
VUID-VkQueryPoolPerformanceCreateInfoKHR-pCounterIndices-parameter
pCounterIndices
must be a valid pointer to an array of counterIndexCount
uint32_t
values
VUID-VkQueryPoolPerformanceCreateInfoKHR-counterIndexCount-arraylength
counterIndexCount
must be greater than 0