MCPcopy Create free account
hub / github.com/Nadrin/Quartz / createQueryPool

Method createQueryPool

src/raytrace/renderers/vulkan/device.cpp:496–504  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

494}
495
496QueryPool Device::createQueryPool(const QueryPoolCreateInfo &createInfo)
497{
498 QueryPool pool;
499 Result result;
500 if(VKFAILED(result = vkCreateQueryPool(m_device, &createInfo, nullptr, &pool.handle))) {
501 qCCritical(logVulkan) << "Failed to create query pool:" << result.toString();
502 }
503 return pool;
504}
505
506void Device::destroyQueryPool(QueryPool &queryPool)
507{

Callers 1

createResourcesMethod · 0.80

Calls 1

toStringMethod · 0.80

Tested by

no test coverage detected