diff options
author | Brian <brian.paul@tungstengraphics.com> | 2007-07-10 16:37:18 -0600 |
---|---|---|
committer | Brian <brian.paul@tungstengraphics.com> | 2007-07-10 16:37:18 -0600 |
commit | e6eca5c37e13fd0f9100de127075b1bbed0821c0 (patch) | |
tree | 2e4d852baabd395dfb7cba8f8246772b0918f709 /src/mesa/pipe/softpipe/sp_context.h | |
parent | 227c95737bcf373f934bb96aa0777c45c8575074 (diff) |
Begin hooking up stenciling.
Diffstat (limited to 'src/mesa/pipe/softpipe/sp_context.h')
-rw-r--r-- | src/mesa/pipe/softpipe/sp_context.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mesa/pipe/softpipe/sp_context.h b/src/mesa/pipe/softpipe/sp_context.h index c6046624a1..2379a99b81 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_DEPTH_TEST 0x200 #define SP_NEW_SAMPLER 0x400 #define SP_NEW_TEXTURE 0x800 +#define SP_NEW_STENCIL 0x1000 struct softpipe_context { @@ -82,6 +83,7 @@ struct softpipe_context { struct pipe_scissor_state scissor; struct pipe_sampler_state sampler[PIPE_MAX_SAMPLERS]; struct pipe_setup_state setup; + struct pipe_stencil_state stencil; struct pipe_texture_object *texture[PIPE_MAX_SAMPLERS]; struct pipe_viewport_state viewport; GLuint dirty; @@ -117,6 +119,7 @@ struct softpipe_context { struct { struct quad_stage *shade; struct quad_stage *alpha_test; + struct quad_stage *stencil_test; struct quad_stage *depth_test; struct quad_stage *blend; struct quad_stage *output; |