aboutsummaryrefslogtreecommitdiffstats
path: root/src/vulkan
diff options
context:
space:
mode:
Diffstat (limited to 'src/vulkan')
-rw-r--r--src/vulkan/anv_query.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/vulkan/anv_query.c b/src/vulkan/anv_query.c
index 3b29a235cd3..1bcac097104 100644
--- a/src/vulkan/anv_query.c
+++ b/src/vulkan/anv_query.c
@@ -175,7 +175,8 @@ void anv_CmdResetQueryPool(
for (uint32_t i = 0; i < queryCount; i++) {
switch (pool->type) {
- case VK_QUERY_TYPE_OCCLUSION: {
+ case VK_QUERY_TYPE_OCCLUSION:
+ case VK_QUERY_TYPE_TIMESTAMP: {
struct anv_query_pool_slot *slot = pool->bo.map;
slot[startQuery + i].available = 0;
break;