summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/savage/savage_bci.h
diff options
context:
space:
mode:
authorIan Romanick <idr@us.ibm.com>2005-08-13 01:43:28 +0000
committerIan Romanick <idr@us.ibm.com>2005-08-13 01:43:28 +0000
commit33f9c98aa6643abe587f71976db51d4138ccc2b9 (patch)
tree11b4a76e561ac76314c235fb9eca078f354bca40 /src/mesa/drivers/dri/savage/savage_bci.h
parent6fe7a0dc01887e39f028d8d400b98d199744c18f (diff)
Enable support for EXT_stencil_wrap. The code was already there, but the
extension wasn't enabled. I have verified its correct function with Mesa's stencil_wrap test. It is enabled on both Savage4 and Savage3D. Since Savage3D uses a software fallback for *all* stencil operations, this is safe.
Diffstat (limited to 'src/mesa/drivers/dri/savage/savage_bci.h')
-rw-r--r--src/mesa/drivers/dri/savage/savage_bci.h44
1 files changed, 9 insertions, 35 deletions
diff --git a/src/mesa/drivers/dri/savage/savage_bci.h b/src/mesa/drivers/dri/savage/savage_bci.h
index 591235c4bd..33cfac32c7 100644
--- a/src/mesa/drivers/dri/savage/savage_bci.h
+++ b/src/mesa/drivers/dri/savage/savage_bci.h
@@ -431,43 +431,17 @@ typedef enum
* stencil control
*/
-typedef ZCmpFunc SCmpFunc;
-
-typedef enum
-{
- STC_FAIL_Keep,
- STC_FAIL_Zero,
- STC_FAIL_Equal,
- STC_FAIL_IncClamp,
- STC_FAIL_DecClamp,
- STC_FAIL_Invert,
- STC_FAIL_Inc,
- STC_FAIL_Dec
-} StencilFailOp;
-
-typedef enum
-{
- STC_ZPASS_Keep,
- STC_ZPASS_Zero,
- STC_ZPASS_Equal,
- STC_ZPASS_IncClamp,
- STC_ZPASS_DecClamp,
- STC_ZPASS_Invert,
- STC_ZPASS_Inc,
- STC_ZPASS_Dec
-} StencilZPassOp;
-
typedef enum
{
- STC_ZFAIL_Keep,
- STC_ZFAIL_Zero,
- STC_ZFAIL_Equal,
- STC_ZFAIL_IncClamp,
- STC_ZFAIL_DecClamp,
- STC_ZFAIL_Invert,
- STC_ZFAIL_Inc,
- STC_ZFAIL_Dec
-} StencilZFailOp;
+ STENCIL_Keep,
+ STENCIL_Zero,
+ STENCIL_Equal,
+ STENCIL_IncClamp,
+ STENCIL_DecClamp,
+ STENCIL_Invert,
+ STENCIL_Inc,
+ STENCIL_Dec
+} StencilOp;
/***************************************************************
*** Bitfield Structures for Programming Interface **************