From 5244fc6d60a365f04b85cbd035abf9bee93b3f4f Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Sat, 29 Oct 2005 16:51:34 +0000 Subject: [PATCH] added warning about use of REG_SCRATCH --- src/mesa/tnl/t_vb_arbprogram.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mesa/tnl/t_vb_arbprogram.h b/src/mesa/tnl/t_vb_arbprogram.h index 02cd432825c..92ae46113f1 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 -- 2.30.2