diff options
Diffstat (limited to 'src/vulkan/anv_query.c')
-rw-r--r-- | src/vulkan/anv_query.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/vulkan/anv_query.c b/src/vulkan/anv_query.c index 5b052341e0c..e45b519c0f3 100644 --- a/src/vulkan/anv_query.c +++ b/src/vulkan/anv_query.c @@ -133,14 +133,13 @@ VkResult anv_GetQueryPoolResults( break; } case VK_QUERY_TYPE_PIPELINE_STATISTICS: - /* Not yet implemented */ - break; + unreachable("pipeline stats not supported"); case VK_QUERY_TYPE_TIMESTAMP: { result = slot[firstQuery + i].begin; break; } default: - assert(!"Invalid query type"); + unreachable("invalid pool type"); } if (flags & VK_QUERY_RESULT_64_BIT) { |