summaryrefslogtreecommitdiff
path: root/src/mesa/pipe/softpipe/sp_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/softpipe/sp_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/softpipe/sp_context.h')
-rw-r--r--src/mesa/pipe/softpipe/sp_context.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mesa/pipe/softpipe/sp_context.h b/src/mesa/pipe/softpipe/sp_context.h
index f45cb6fe2c..8f184c644a 100644
--- a/src/mesa/pipe/softpipe/sp_context.h
+++ b/src/mesa/pipe/softpipe/sp_context.h
@@ -63,6 +63,7 @@ enum interp_mode {
#define SP_NEW_TEXTURE 0x800
#define SP_NEW_STENCIL 0x1000
#define SP_NEW_VERTEX 0x2000
+#define SP_NEW_VS 0x4000
struct softpipe_context {
@@ -79,7 +80,8 @@ struct softpipe_context {
struct pipe_clip_state clip;
struct pipe_depth_state depth_test;
struct pipe_framebuffer_state framebuffer;
- struct pipe_fs_state fs;
+ struct pipe_shader_state fs;
+ struct pipe_shader_state vs;
struct pipe_poly_stipple poly_stipple;
struct pipe_scissor_state scissor;
struct pipe_sampler_state sampler[PIPE_MAX_SAMPLERS];