gallium: add interfaces for controlling tess program state
authorIlia Mirkin <imirkin@alum.mit.edu>
Sat, 12 Jul 2014 02:09:38 +0000 (22:09 -0400)
committerMarek Olšák <marek.olsak@amd.com>
Sat, 16 May 2015 12:48:54 +0000 (14:48 +0200)
Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Reviewed-by: Roland Scheidegger <sroland@vmware.com>
Signed-off-by: Marek Olšák <marek.olsak@amd.com>
src/gallium/include/pipe/p_context.h

index 2d9f6d35dc9b4dfad655a03b159e8ea8941c192f..67deb046e29554bf526bc35f0f13e0b825a8dffa 100644 (file)
@@ -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 *);