aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2005-07-15 22:47:00 +0000
committerBrian Paul <[email protected]>2005-07-15 22:47:00 +0000
commitdf0350b7ec11ea0d130a8d29642f94c8512b29bc (patch)
treea3d8f2059cdad2f3d3d9d1620742600ec2e0d6ab
parentb0489d4f822211f50c99a789ce797e9e10bf4a6c (diff)
added comments
-rw-r--r--src/mesa/tnl/t_vb_arbprogram.h11
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