r300: Added the vertex program src/dest register defines.
authorOliver McFadden <z3ro.geek@gmail.com>
Mon, 25 Feb 2008 12:22:08 +0000 (12:22 +0000)
committerOliver McFadden <z3ro.geek@gmail.com>
Sat, 1 Mar 2008 06:33:05 +0000 (06:33 +0000)
src/mesa/drivers/dri/r300/r300_reg.h

index 9b2e1f5ed3b090a3ae29bd263f6033745b5b3b98..29d2e7f4f34c858331398532cb49aa5a130a2714 100644 (file)
@@ -2479,6 +2479,22 @@ enum {
        ME_PRED_SET_RESTORE             = 28,
 };
 
+enum {
+       PVS_SRC_REG_TEMPORARY           = 0,    /* Intermediate Storage */
+       PVS_SRC_REG_INPUT               = 1,    /* Input Vertex Storage */
+       PVS_SRC_REG_CONSTANT            = 2,    /* Constant State Storage */
+       PVS_SRC_REG_ALT_TEMPORARY       = 3,    /* Alternate Intermediate Storage */
+};
+
+enum {
+       PVS_DST_REG_TEMPORARY           = 0,    /* Intermediate Storage */
+       PVS_DST_REG_A0                  = 1,    /* Address Register Storage */
+       PVS_DST_REG_OUT                 = 2,    /* Output Memory. Used for all outputs */
+       PVS_DST_REG_OUT_REPL_X          = 3,    /* Output Memory & Replicate X to all channels */
+       PVS_DST_REG_ALT_TEMPORARY       = 4,    /* Alternate Intermediate Storage */
+       PVS_DST_REG_INPUT               = 5,    /* Output Memory & Replicate X to all channels */
+};
+
 /*\}*/
 
 /*\{*/