| commit | e9d0f265aabb39928d4d8a527684bf3b9eebc21c | [log] [tgz] |
|---|---|---|
| author | Ian Romanick <ian.d.romanick@intel.com> | Mon Apr 05 17:01:53 2010 -0700 |
| committer | Ian Romanick <ian.d.romanick@intel.com> | Wed Apr 07 11:42:36 2010 -0700 |
| tree | d9d7946a8314352fe8d510f0db5ec1df3ee760ec | |
| parent | c0e76d8352fbe96efb0338e9d98b08494671e504 [diff] [blame] |
Begin tracking the nesting of loops and switch-statements
diff --git a/glsl_parser_extras.h b/glsl_parser_extras.h index 96c975b..373d295 100644 --- a/glsl_parser_extras.h +++ b/glsl_parser_extras.h
@@ -56,6 +56,9 @@ /** Index of last generated anonymous temporary. */ unsigned temp_index; + + /** Loop or switch statement containing the current instructions. */ + class ir_instruction *loop_or_switch_nesting; }; typedef struct YYLTYPE {