Merge branch 'mesa_7_7_branch'
[mesa.git] / src / mesa / shader / program_parser.h
index c170948f73a83f15330b75becf25421c1adb94c0..69396ca2c0f48ccc358426bf15587f0fe4714b7d 100644 (file)
@@ -56,6 +56,12 @@ struct asm_symbol {
     */
    unsigned param_binding_begin;
 
+   /**
+    * Constants put into the parameter list may be swizzled.  This
+    * field contain's the symbol's swizzle. (SWIZZLE_X/Y/Z/W)
+    */
+   unsigned param_binding_swizzle;
+
    /* This is how many entries in the the program_parameter_list we take up
     * with our state tokens or constants. Note that this is _not_ the same as
     * the number of param registers we eventually use.