From a155ab93a3be567a18222e98ba6e361e2edb6009 Mon Sep 17 00:00:00 2001 From: Brian Ho Date: Thu, 2 Jan 2020 14:42:14 -0500 Subject: [PATCH] turnip: Update tu_query_pool with turnip-specific fields tu_query_pool was forked from radv_query_pool, but we will need a different set of fields to implement queries in turnip. Part-of: --- src/freedreno/vulkan/tu_private.h | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/freedreno/vulkan/tu_private.h b/src/freedreno/vulkan/tu_private.h index 39025c49a78..61998317b63 100644 --- a/src/freedreno/vulkan/tu_private.h +++ b/src/freedreno/vulkan/tu_private.h @@ -1549,12 +1549,11 @@ tu_device_finish_meta(struct tu_device *device); struct tu_query_pool { + VkQueryType type; uint32_t stride; - uint32_t availability_offset; uint64_t size; - char *ptr; - VkQueryType type; - uint32_t pipeline_stats_mask; + uint32_t pipeline_statistics; + struct tu_bo bo; }; struct tu_semaphore -- 2.11.0