To reset a range of queries in a query pool on a queue, call:
// Provided by VK_VERSION_1_0 void vkCmdResetQueryPool( VkCommandBuffer commandBuffer, VkQueryPool queryPool, uint32_t firstQuery, uint32_t queryCount);
commandBufferis the command buffer into which this command will be recorded.
queryPoolis the handle of the query pool managing the queries being reset.
firstQueryis the initial query index to reset.
queryCountis the number of queries to reset.
When executed on a queue, this command sets the status of query indices
queryCount - 1] to
queryType used to create
VK_QUERY_TYPE_PERFORMANCE_QUERY_KHR, this command sets the status of
query indices [
queryCount - 1] to unavailable for each pass of
indicated by a call to
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.