summaryrefslogtreecommitdiff
path: root/src/glsl/lower_if_to_cond_assign.cpp
AgeCommit message (Collapse)Author
2011-01-31Convert everything from the talloc API to the ralloc API.Kenneth Graunke
2010-12-27glsl: Support if-flattening beyond a given maximum nesting depth.Kenneth Graunke
This adds a new optional max_depth parameter (defaulting to 0) to lower_if_to_cond_assign, and makes the pass only flatten if-statements nested deeper than that. By default, all if-statements will be flattened, just like before. This patch also renames do_if_to_cond_assign to lower_if_to_cond_assign, to match the new naming conventions.
2010-11-17glsl: Fix Doxygen tag \file in recently renamed filesChad Versace
2010-11-15glsl: Rename various ir_* files to lower_* and opt_*.Kenneth Graunke
This helps distinguish between lowering passes, optimization passes, and other compiler code.