added comments
authorBrian Paul <brian.paul@tungstengraphics.com>
Fri, 15 Jul 2005 22:47:00 +0000 (22:47 +0000)
committerBrian Paul <brian.paul@tungstengraphics.com>
Fri, 15 Jul 2005 22:47:00 +0000 (22:47 +0000)
src/mesa/tnl/t_vb_arbprogram.h

index 5b100a0902536becbced1a9e7512a3ffaa13052b..02cd432825cc0d546bf3f7eded696b1b2e9a11a6 100644 (file)
 #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