summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/r128/r128_context.c
diff options
context:
space:
mode:
authorIan Romanick <idr@us.ibm.com>2004-06-04 00:46:23 +0000
committerIan Romanick <idr@us.ibm.com>2004-06-04 00:46:23 +0000
commit98e7d810e1dc67405075efef83a46504c35b8a19 (patch)
treecfe36c168cc33a1f9a0ad8659cc4320715bfec8c /src/mesa/drivers/dri/r128/r128_context.c
parentd672f38709352da01b5a4a04a1777f3a40d09180 (diff)
Enable GL_EXT_blend_subtract and GL_NV_blend_square.
GL_EXT_blend_subtract was already enabled via GL_ARB_imaging, but now one of the added modes is supported in hardware. GL_NV_blend_square was tested with progs/tests/blendsquare on an Rage128 Pro with PCI ID 1002:5046. I know there are some differences with some versions of the chip.
Diffstat (limited to 'src/mesa/drivers/dri/r128/r128_context.c')
-rw-r--r--src/mesa/drivers/dri/r128/r128_context.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/r128/r128_context.c b/src/mesa/drivers/dri/r128/r128_context.c
index 012840effe..8075270a8c 100644
--- a/src/mesa/drivers/dri/r128/r128_context.c
+++ b/src/mesa/drivers/dri/r128/r128_context.c
@@ -74,8 +74,10 @@ static const char * const card_extensions[] =
"GL_ARB_texture_compression",
"GL_ARB_texture_env_add",
"GL_ARB_texture_mirrored_repeat",
+ "GL_EXT_blend_subtract",
"GL_EXT_texture_edge_clamp",
"GL_MESA_ycbcr_texture",
+ "GL_NV_blend_square",
"GL_SGIS_generate_mipmap",
NULL
};