From: Brian Paul Date: Sat, 29 Oct 2005 16:51:34 +0000 (+0000) Subject: added warning about use of REG_SCRATCH X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5244fc6d60a365f04b85cbd035abf9bee93b3f4f;p=mesa.git added warning about use of REG_SCRATCH --- 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