summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/sis/sis_context.c
diff options
context:
space:
mode:
authorEric Anholt <anholt@FreeBSD.org>2005-10-24 06:40:56 +0000
committerEric Anholt <anholt@FreeBSD.org>2005-10-24 06:40:56 +0000
commitdc793d4e9a71159da13b9230abde344309924287 (patch)
treed2e68f18eb5f57e9dd82388ad651bb4c05e5b1f6 /src/mesa/drivers/dri/sis/sis_context.c
parent3265585b151d44c825fb7a82b16b076fb7fdca77 (diff)
Add support for GL_EXT_stencil_wrap by guessing that the skip of two values in
the register header was meaningful. It turns out those were the proper values for the plain INCR/DECR ops, while what we were using as INCR/DECR were the _WRAP versions. Tested with stencil_wrap (didn't expose normal/_WRAP swapping) and stencilwrap (exposed it nicely) tests. Props to idr for poking me about adding this.
Diffstat (limited to 'src/mesa/drivers/dri/sis/sis_context.c')
-rw-r--r--src/mesa/drivers/dri/sis/sis_context.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/sis/sis_context.c b/src/mesa/drivers/dri/sis/sis_context.c
index 948f15a941..22ced964af 100644
--- a/src/mesa/drivers/dri/sis/sis_context.c
+++ b/src/mesa/drivers/dri/sis/sis_context.c
@@ -74,6 +74,7 @@ struct dri_extension card_extensions[] =
{ "GL_ARB_multisample", GL_ARB_multisample_functions },
{ "GL_ARB_multitexture", NULL },
{ "GL_EXT_texture_lod_bias", NULL },
+ { "GL_EXT_stencil_wrap", NULL },
{ "GL_NV_blend_square", NULL },
{ NULL, NULL }
};