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

Author: Mike Blumenkrantz <[email protected]>
Date:   Wed Oct 28 13:17:52 2020 -0400

zink: add enum for different queues

Reviewed-by: Dave Airlie <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9626>

---

 src/gallium/drivers/zink/zink_batch.h | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/src/gallium/drivers/zink/zink_batch.h 
b/src/gallium/drivers/zink/zink_batch.h
index 1db1aed70b7..1fe3d905de3 100644
--- a/src/gallium/drivers/zink/zink_batch.h
+++ b/src/gallium/drivers/zink/zink_batch.h
@@ -42,6 +42,12 @@ struct zink_resource;
 struct zink_sampler_view;
 struct zink_surface;
 
+enum zink_queue {
+   ZINK_QUEUE_GFX,
+   ZINK_QUEUE_COMPUTE,
+   ZINK_QUEUE_ANY,
+};
+
 struct zink_batch {
    unsigned batch_id : 3;
    VkCommandPool cmdpool;

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

Reply via email to