diff options
author | Brian <brian.paul@tungstengraphics.com> | 2007-05-24 17:37:36 -0600 |
---|---|---|
committer | Brian <brian.paul@tungstengraphics.com> | 2007-05-24 17:37:36 -0600 |
commit | 008fb50174fb6717f3b71836427bc6be4e44613c (patch) | |
tree | 5a10e328618f82f97eead2ca7d1fb9fffbee9a7d /src/mesa/softpipe/sp_defines.h | |
parent | 2248829b99bf388dfe7ee9c6763f98167b52ba8b (diff) |
Stencil state.
Diffstat (limited to 'src/mesa/softpipe/sp_defines.h')
-rw-r--r-- | src/mesa/softpipe/sp_defines.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/src/mesa/softpipe/sp_defines.h b/src/mesa/softpipe/sp_defines.h index f47d782285..bc88e3d71e 100644 --- a/src/mesa/softpipe/sp_defines.h +++ b/src/mesa/softpipe/sp_defines.h @@ -71,4 +71,22 @@ #define SP_LOGICOP_OR 14 #define SP_LOGICOP_SET 15 +#define SP_STENCIL_FUNC_NEVER 0 +#define SP_STENCIL_FUNC_LESS 1 +#define SP_STENCIL_FUNC_EQUAL 2 +#define SP_STENCIL_FUNC_LEQUAL 3 +#define SP_STENCIL_FUNC_GREATER 4 +#define SP_STENCIL_FUNC_NOTEQUAL 5 +#define SP_STENCIL_FUNC_GEQUAL 6 +#define SP_STENCIL_FUNC_ALWAYS 7 + +#define SP_STENCIL_OP_KEEP 0 +#define SP_STENCIL_OP_ZERO 1 +#define SP_STENCIL_OP_REPLACE 2 +#define SP_STENCIL_OP_INCR 3 +#define SP_STENCIL_OP_DECR 4 +#define SP_STENCIL_OP_INCR_WRAP 5 +#define SP_STENCIL_OP_DECR_WRAP 6 +#define SP_STENCIL_OP_INVERT 7 + #endif |