summaryrefslogtreecommitdiff
path: root/src/glsl/lower_jumps.cpp
AgeCommit message (Collapse)Author
2010-12-09glsl: fix lowering conditional returns in subroutinesFabian Bieler
this fix applies to the lower_sub_return 'branch' of the lower_jumps pass Fixes piglit tests glsl-functions-5 and glsl-functions-6.
2010-12-01glsl: Add comments to lower_jumps (from the commit message).Kenneth Graunke
This is essentially Luca's commit message, but placed at the top of the file.
2010-12-01glsl: Remove "discard" support from lower_jumps.Kenneth Graunke
The new lower_discard and opt_discard_simplification passes should handle all the necessary transformations, so lower_jumps doesn't need to support it. Also, lower_jumps incorrectly handled conditional discards - it would unconditionally truncate all code after the discard. Rather than fixing the bug, simply remove the code. NOTE: This is a candidate for the 7.9 branch.
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.