Files
mesa/src
Paul Berry e71b4ab8a6 glsl: In lower_jumps.cpp, lower both branches of a conditional.
Previously, lower_jumps.cpp would break out of its loop after lowering
a jump instruction in just the then- or else-branch of a conditional,
and it would fail to lower a jump instruction occurring in the other
branch.

Without this patch, lower_jumps.cpp may require multiple passes in
order to lower all jumps.  This results in sub-optimal output because
lower_jumps.cpp produces a brand new set of temporary variables each
time it is run, and the redundant temporary variables are not
guaranteed to be eliminated by later optimization passes.

Fixes unit test test_lower_returns_4.
2011-07-08 09:59:30 -07:00
..
2011-07-06 10:11:04 -04:00
2011-07-08 07:57:27 -06:00
2011-06-24 16:43:03 +09:00
2011-01-12 16:54:21 +00:00
2011-04-27 19:06:07 +01:00
2011-06-30 11:34:51 +01:00