From: Brian Ho Date: Thu, 2 Jan 2020 19:42:14 +0000 (-0500) Subject: turnip: Update tu_query_pool with turnip-specific fields X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=a155ab93a3be567a18222e98ba6e361e2edb6009;p=android-x86%2Fexternal-mesa.git 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: --- 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