To reset a range of queries in a query pool on a queue, call:
// Provided by VK_VERSION_1_0
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
This command defines an execution dependency between other query commands that reference the same query.
The operation of this command happens after the first scope and happens before the second scope.
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.