To end an indexed query after the set of desired drawing or dispatching commands is recorded, call:
// Provided by VK_EXT_transform_feedback void vkCmdEndQueryIndexedEXT( VkCommandBuffer commandBuffer, VkQueryPool queryPool, uint32_t query, uint32_t index);
commandBufferis the command buffer into which this command will be recorded.
queryPoolis the query pool that is managing the results of the query.
queryis the query index within the query pool where the result is stored.
indexis the query type specific index.
The command completes the query in
queryPool identified by
index, and marks it as available.
vkCmdEndQueryIndexedEXT command operates the same as the
vkCmdEndQuery command, except that it also accepts a query type
This command defines an execution dependency between other query commands that reference the same query index.
The first synchronization scope
includes all commands which reference the queries in
query that occur earlier in
The second synchronization scope includes only the operation of this command.
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.