From 18bce2f19437f9a6b86e33324cb559cd54470d51 Mon Sep 17 00:00:00 2001 From: Ilia Mirkin Date: Fri, 11 Jul 2014 22:09:38 -0400 Subject: [PATCH] gallium: add interfaces for controlling tess program state MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Ilia Mirkin Reviewed-by: Roland Scheidegger Signed-off-by: Marek Olšák --- src/gallium/include/pipe/p_context.h | 10 ++++++++++ 1 file changed, 10 insertions(+) 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 *); -- 2.30.2