hk: Add support for VK_QUERY_POOL_CREATE_RESET_BIT_KHR
Signed-off-by: Mary Guillemard <mary@mary.zone> Acked-by: Alyssa Rosenzweig <alyssa.rosenzweig@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37380>
This commit is contained in:
committed by
Marge Bot
parent
0aff4433e7
commit
3ec33e2629
@@ -314,6 +314,9 @@ hk_CreateQueryPool(VkDevice device, const VkQueryPoolCreateInfo *pCreateInfo,
|
||||
oq_index[pool->oq_queries++] = index;
|
||||
}
|
||||
|
||||
if (pCreateInfo->flags & VK_QUERY_POOL_CREATE_RESET_BIT_KHR)
|
||||
host_zero_queries(dev, pool, 0, pool->vk.query_count, false);
|
||||
|
||||
*pQueryPool = hk_query_pool_to_handle(pool);
|
||||
|
||||
return VK_SUCCESS;
|
||||
|
||||
Reference in New Issue
Block a user