diff options
-rw-r--r-- | src/mesa/tnl/t_vb_arbprogram.h | 11 |
1 files 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 |