Mesa (master): turnip: Update tu_query_pool with turnip-specific fields
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Fri Jan 24 18:31:13 UTC 2020
Module: Mesa
Branch: master
Commit: a155ab93a3be567a18222e98ba6e361e2edb6009
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=a155ab93a3be567a18222e98ba6e361e2edb6009
Author: Brian Ho <brian at brkho.com>
Date: Thu Jan 2 14:42:14 2020 -0500
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>
---
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
More information about the mesa-commit
mailing list