From df0350b7ec11ea0d130a8d29642f94c8512b29bc Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Fri, 15 Jul 2005 22:47:00 +0000 Subject: [PATCH] added comments --- src/mesa/tnl/t_vb_arbprogram.h | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/src/mesa/tnl/t_vb_arbprogram.h b/src/mesa/tnl/t_vb_arbprogram.h index 5b100a09025..02cd432825c 100644 --- a/src/mesa/tnl/t_vb_arbprogram.h +++ b/src/mesa/tnl/t_vb_arbprogram.h @@ -40,10 +40,13 @@ #define MSK (VP_MAX_OPCODE+1) #define REL (VP_MAX_OPCODE+2) -#define FILE_REG 0 -#define FILE_LOCAL_PARAM 1 -#define FILE_ENV_PARAM 2 -#define FILE_STATE_PARAM 3 +/** + * Register files for vertex programs + */ +#define FILE_REG 0 /* temporaries */ +#define FILE_LOCAL_PARAM 1 /* local parameters */ +#define FILE_ENV_PARAM 2 /* global parameters */ +#define FILE_STATE_PARAM 3 /* GL state references */ #define REG_ARG0 0 #define REG_ARG1 1 -- 2.11.0