summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2005-10-29 16:51:34 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2005-10-29 16:51:34 +0000
commit5244fc6d60a365f04b85cbd035abf9bee93b3f4f (patch)
tree250927a506707191b536d73d597ca7791a692449
parent3c2f8b22b9b87ccc06e33ecc088703c68d8230d8 (diff)
downloadexternal_mesa3d-5244fc6d60a365f04b85cbd035abf9bee93b3f4f.zip
external_mesa3d-5244fc6d60a365f04b85cbd035abf9bee93b3f4f.tar.gz
external_mesa3d-5244fc6d60a365f04b85cbd035abf9bee93b3f4f.tar.bz2
added warning about use of REG_SCRATCH
-rw-r--r--src/mesa/tnl/t_vb_arbprogram.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/tnl/t_vb_arbprogram.h b/src/mesa/tnl/t_vb_arbprogram.h
index 02cd432..92ae461 100644
--- a/src/mesa/tnl/t_vb_arbprogram.h
+++ b/src/mesa/tnl/t_vb_arbprogram.h
@@ -65,7 +65,7 @@
#define REG_NEG 67 /* -1,-1,-1,-1 */
#define REG_LIT 68 /* 1,0,0,1 */
#define REG_LIT2 69 /* 1,0,0,1 */
-#define REG_SCRATCH 70 /* internal temporary */
+#define REG_SCRATCH 70 /* internal temporary. XXX we can't actually use this because 70 doesn't fit in the 5-bit 'dst' instruction field! */
#define REG_UNDEF 127 /* special case - never used */
#define REG_MAX 128
#define REG_INVALID ~0