Module: Mesa
Branch: master
Commit: a155ab93a3be567a18222e98ba6e361e2edb6009
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=a155ab93a3be567a18222e98ba6e361e2edb6009

Author: Brian Ho <[email protected]>
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

_______________________________________________
mesa-commit mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to