From: Ilia Mirkin Date: Sat, 12 Jul 2014 02:09:38 +0000 (-0400) Subject: gallium: add interfaces for controlling tess program state X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=18bce2f19437f9a6b86e33324cb559cd54470d51;p=mesa.git gallium: add interfaces for controlling tess program state Signed-off-by: Ilia Mirkin Reviewed-by: Roland Scheidegger Signed-off-by: Marek Olšák --- diff --git a/src/gallium/include/pipe/p_context.h b/src/gallium/include/pipe/p_context.h index 2d9f6d35dc9..67deb046e29 100644 --- a/src/gallium/include/pipe/p_context.h +++ b/src/gallium/include/pipe/p_context.h @@ -170,6 +170,16 @@ struct pipe_context { void (*bind_gs_state)(struct pipe_context *, void *); void (*delete_gs_state)(struct pipe_context *, void *); + void * (*create_tcs_state)(struct pipe_context *, + const struct pipe_shader_state *); + void (*bind_tcs_state)(struct pipe_context *, void *); + void (*delete_tcs_state)(struct pipe_context *, void *); + + void * (*create_tes_state)(struct pipe_context *, + const struct pipe_shader_state *); + void (*bind_tes_state)(struct pipe_context *, void *); + void (*delete_tes_state)(struct pipe_context *, void *); + void * (*create_vertex_elements_state)(struct pipe_context *, unsigned num_elements, const struct pipe_vertex_element *);