summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/i915/i830_context.h
diff options
context:
space:
mode:
authorIan Romanick <idr@us.ibm.com>2004-09-19 08:03:46 +0000
committerIan Romanick <idr@us.ibm.com>2004-09-19 08:03:46 +0000
commitc59270e2b82abe9bcb0af6a1593b81772f6306d3 (patch)
tree5e915e6244527f16cbc5a9497e614043bc39de54 /src/mesa/drivers/dri/i915/i830_context.h
parentb9bbe780313d584974307389a67ca94ad65de3c0 (diff)
Add GL_ARB_texture_cube_map support for i830. Most of the code was
lifted from the i915 side. i830 will now report version 1.3! Hurrah! With the exception of GL_EXT_texture_compression_s3tc, the i830 driver now supports all the extensions that its Windows counterpart supports.
Diffstat (limited to 'src/mesa/drivers/dri/i915/i830_context.h')
-rw-r--r--src/mesa/drivers/dri/i915/i830_context.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/i915/i830_context.h b/src/mesa/drivers/dri/i915/i830_context.h
index 48eb704cea..62e20d0a02 100644
--- a/src/mesa/drivers/dri/i915/i830_context.h
+++ b/src/mesa/drivers/dri/i915/i830_context.h
@@ -89,8 +89,9 @@
#define I830_TEXREG_TM0S2 3
#define I830_TEXREG_TM0S3 4
#define I830_TEXREG_TM0S4 5
-#define I830_TEXREG_MCS 6 /* _3DSTATE_MAP_COORD_SETS */
-#define I830_TEX_SETUP_SIZE 7
+#define I830_TEXREG_MCS 6 /* _3DSTATE_MAP_COORD_SETS */
+#define I830_TEXREG_CUBE 7 /* _3DSTATE_MAP_SUBE */
+#define I830_TEX_SETUP_SIZE 8
#define I830_TEXBLEND_SIZE 12 /* (4 args + op) * 2 + COLOR_FACTOR */