| 494 | } |
| 495 | |
| 496 | QueryPool 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 | |
| 506 | void Device::destroyQueryPool(QueryPool &queryPool) |
| 507 | { |
no test coverage detected