MCPcopy Create free account
hub / github.com/KhronosGroup/Vulkan-Samples / host_reset

Method host_reset

framework/core/query_pool.cpp:51–57  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

49}
50
51void QueryPool::host_reset(uint32_t first_query, uint32_t query_count)
52{
53 assert(device.is_extension_enabled("VK_EXT_host_query_reset") &&
54 "VK_EXT_host_query_reset needs to be enabled to call QueryPool::host_reset");
55
56 vkResetQueryPoolEXT(device.get_handle(), get_handle(), first_query, query_count);
57}
58
59VkResult QueryPool::get_results(uint32_t first_query, uint32_t num_queries,
60 size_t result_bytes, void *results, VkDeviceSize stride,

Callers 2

create_query_poolsMethod · 0.80
sampleMethod · 0.80

Calls 2

is_extension_enabledMethod · 0.45
get_handleMethod · 0.45

Tested by

no test coverage detected