3 #include "query_backend.h"
11 VulkanQueryPool::VulkanQueryPool(unsigned t):
12 vulkan_type(get_vulkan_query_type(t))
14 throw logic_error("VulkanQueryPool is unimplemented");
17 VulkanQueryPool::VulkanQueryPool(VulkanQueryPool &&other):
18 vulkan_type(other.vulkan_type)
21 VulkanQueryPool::~VulkanQueryPool()
24 void VulkanQueryPool::resize()
27 unsigned VulkanQueryPool::get_result(unsigned) const
33 unsigned get_vulkan_query_type(unsigned t)
37 case OCCLUSION_QUERY: return VK_QUERY_TYPE_OCCLUSION;
38 default: throw invalid_argument("get_vulkan_query_type");