aboutsummaryrefslogtreecommitdiff
path: root/mesalib/src/mesa/shader/program_parser.h
diff options
context:
space:
mode:
Diffstat (limited to 'mesalib/src/mesa/shader/program_parser.h')
-rw-r--r--mesalib/src/mesa/shader/program_parser.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/mesalib/src/mesa/shader/program_parser.h b/mesalib/src/mesa/shader/program_parser.h
index c170948f7..be952d4b9 100644
--- a/mesalib/src/mesa/shader/program_parser.h
+++ b/mesalib/src/mesa/shader/program_parser.h
@@ -56,7 +56,13 @@ struct asm_symbol {
*/
unsigned param_binding_begin;
- /* This is how many entries in the the program_parameter_list we take up
+ /**
+ * 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 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.
*/
@@ -203,6 +209,8 @@ struct asm_parser_state {
unsigned TexRect:1;
unsigned TexArray:1;
unsigned NV_fragment:1;
+ unsigned OriginUpperLeft:1;
+ unsigned PixelCenterInteger:1;
} option;
struct {