aboutsummaryrefslogtreecommitdiffstats
path: root/src/freedreno
diff options
context:
space:
mode:
authorBrian Ho <[email protected]>2020-01-02 14:42:14 -0500
committerMarge Bot <[email protected]>2020-01-24 18:14:01 +0000
commita155ab93a3be567a18222e98ba6e361e2edb6009 (patch)
treecb2589f9cc0a556d5539f6314168985e367afdab /src/freedreno
parent0aa13245c1898472442484814119256a62aa1336 (diff)
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: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3279>
Diffstat (limited to 'src/freedreno')
-rw-r--r--src/freedreno/vulkan/tu_private.h7
1 files 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