summaryrefslogtreecommitdiff
path: root/src/glsl/lower_discard.cpp
AgeCommit message (Collapse)Author
2010-12-01glsl: Add a lowering pass to move discards out of if-statements.Kenneth Graunke
This should allow lower_if_to_cond_assign to work in the presence of discards, fixing bug #31690 and likely #31983. NOTE: This is a candidate for the 7.9 branch.