summaryrefslogtreecommitdiff
path: root/src/mesa/pipe/p_context.h
diff options
context:
space:
mode:
authorBrian <brian.paul@tungstengraphics.com>2007-08-16 13:33:43 -0600
committerBrian <brian.paul@tungstengraphics.com>2007-08-16 13:33:43 -0600
commitde653b4c9bddcec46f3ddf411ec082dd178d7b38 (patch)
treec46350dc671e6bfc32c7a0f3df45b4d0d82c6661 /src/mesa/pipe/p_context.h
parentebe510766927315ec6dcd846a980cb851b5331d4 (diff)
Begin added vertex shader state/support.
Renamed pipe_fs_state to pipe_shader_state since it can be used for both vertex and fragment shader info.
Diffstat (limited to 'src/mesa/pipe/p_context.h')
-rw-r--r--src/mesa/pipe/p_context.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/mesa/pipe/p_context.h b/src/mesa/pipe/p_context.h
index 6679aae089..320b4877c3 100644
--- a/src/mesa/pipe/p_context.h
+++ b/src/mesa/pipe/p_context.h
@@ -117,7 +117,10 @@ struct pipe_context {
const struct pipe_framebuffer_state * );
void (*set_fs_state)( struct pipe_context *,
- const struct pipe_fs_state * );
+ const struct pipe_shader_state * );
+
+ void (*set_vs_state)( struct pipe_context *,
+ const struct pipe_shader_state * );
void (*set_polygon_stipple)( struct pipe_context *,
const struct pipe_poly_stipple * );