From 2b3514966d56c46a4d82123fa68439b046b79ebc Mon Sep 17 00:00:00 2001 From: Dave Airlie Date: Mon, 29 May 2023 13:37:30 +1000 Subject: [PATCH] gallium: add task/mesh shader entrypoints in context MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Reviewed-by: Marek Olšák Part-of: --- src/gallium/include/pipe/p_context.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/src/gallium/include/pipe/p_context.h b/src/gallium/include/pipe/p_context.h index 2d50cae..ea206a9 100644 --- a/src/gallium/include/pipe/p_context.h +++ b/src/gallium/include/pipe/p_context.h @@ -408,6 +408,15 @@ struct pipe_context { void (*bind_vertex_elements_state)(struct pipe_context *, void *); void (*delete_vertex_elements_state)(struct pipe_context *, void *); + void * (*create_ts_state)(struct pipe_context *, + const struct pipe_shader_state *); + void (*bind_ts_state)(struct pipe_context *, void *); + void (*delete_ts_state)(struct pipe_context *, void *); + + void * (*create_ms_state)(struct pipe_context *, + const struct pipe_shader_state *); + void (*bind_ms_state)(struct pipe_context *, void *); + void (*delete_ms_state)(struct pipe_context *, void *); /*@}*/ /** @@ -995,6 +1004,9 @@ struct pipe_context { */ void (*launch_grid)(struct pipe_context *context, const struct pipe_grid_info *info); + + void (*draw_mesh_tasks)(struct pipe_context *context, + const struct pipe_grid_info *info); /*@}*/ /** -- 2.7.4