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

Author: Dave Airlie <[email protected]>
Date:   Fri Dec 18 12:28:20 2020 +1000

gallium: add grid base to dispatch info

Vulkan device group support allows launching grids from
a grid base set of values. Add the interface for gallium

Reviewed-by: Marek Olšák <[email protected]>
Reviewed-by: Roland Scheidegger <[email protected]>
Reviweed-by: Eric Anholt <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8154>

---

 src/gallium/include/pipe/p_state.h | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/src/gallium/include/pipe/p_state.h 
b/src/gallium/include/pipe/p_state.h
index 3092524ba06..b00cbff046a 100644
--- a/src/gallium/include/pipe/p_state.h
+++ b/src/gallium/include/pipe/p_state.h
@@ -873,6 +873,11 @@ struct pipe_grid_info
     */
    uint grid[3];
 
+   /**
+    * Base offsets to launch grids from
+    */
+   uint grid_base[3];
+
    /* Indirect compute parameters resource: If not NULL, block sizes are taken
     * from this buffer instead, which is laid out as follows:
     *

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

Reply via email to