Structures
VkPerformanceQuerySubmitInfoKHR
Structure indicating which counter pass index is active for performance queries
The VkPerformanceQuerySubmitInfoKHR structure is defined as:
typedef struct VkPerformanceQuerySubmitInfoKHR {
VkStructureType sType;
const void* pNext;
uint32_t counterPassIndex;
} VkPerformanceQuerySubmitInfoKHR;
pub struct PerformanceQuerySubmitInfoKHR {
s_type: vk::StructureType,
p_next: *const c_void,
counter_pass_index: u32, // Index for which counter pass to submit
}
sTypeis a VkStructureType value identifying this structure.pNextisNULLor a pointer to a structure extending this structure.counterPassIndexspecifies which counter pass index is active.
If the VkSubmitInfo::pNext chain does not include this
structure, the batch defaults to use counter pass index 0.
Valid Usage
VUID-VkPerformanceQuerySubmitInfoKHR-counterPassIndex-03221
counterPassIndex must be less than the number of counter passes
required by any queries within the batch.
The required number of counter passes for a performance query is
obtained by calling
vkGetPhysicalDeviceQueueFamilyPerformanceQueryPassesKHR
Valid Usage (Implicit)
VUID-VkPerformanceQuerySubmitInfoKHR-sType-sType
sType must be VK_STRUCTURE_TYPE_PERFORMANCE_QUERY_SUBMIT_INFO_KHR