aboutsummaryrefslogtreecommitdiffstats
path: root/src/glsl/ir_if_to_cond_assign.cpp
Commit message (Collapse)AuthorAgeFilesLines
* glsl: Rename various ir_* files to lower_* and opt_*.Kenneth Graunke2010-11-151-168/+0
| | | | | This helps distinguish between lowering passes, optimization passes, and other compiler code.
* glsl2: Add and use new variable mode ir_var_temporaryIan Romanick2010-07-201-1/+2
| | | | | | | | | | | | | | | | | This is quite a large patch because breaking it into smaller pieces would result in the tree being intermitently broken. The big changes are: * Add the ir_var_temporary variable mode * Change the ir_variable constructor to take the mode as a parameter and correctly specify the mode for all ir_varables. * Change the linker to not cross validate ir_var_temporary variables. * Change the linker to pull all ir_var_temporary variables from global scope into 'main'.
* glsl2: Add a pass for converting if statements to conditional assignment.Eric Anholt2010-07-191-0/+167
This will be used on 915 and similar hardware of that generation.