From c16239b4a66f08c68714c293fc51930c2efb88f0 Mon Sep 17 00:00:00 2001 From: Dave Airlie Date: Fri, 18 Dec 2020 12:28:20 +1000 Subject: [PATCH] gallium: add grid base to dispatch info MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Vulkan device group support allows launching grids from a grid base set of values. Add the interface for gallium Reviewed-by: Marek Olšák Reviewed-by: Roland Scheidegger Reviweed-by: Eric Anholt Part-of: --- 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: *