loop_controls: fix analysis of already analyzed loops
authorLuca Barbieri <luca@luca-barbieri.com>
Tue, 7 Sep 2010 15:02:37 +0000 (17:02 +0200)
committerIan Romanick <ian.d.romanick@intel.com>
Mon, 13 Sep 2010 20:03:10 +0000 (13:03 -0700)
commit710d41131b9715c5c378e0138d991f346647b9c8
tree7ec6f0ef2249cb12055dd01ad40049121a272a31
parent4de7a3b76add1940f7316253a619c3728025d9db
loop_controls: fix analysis of already analyzed loops

The loop_controls pass didn't look at the counter values it put in ir_loop
on previous iterations, so while the first iteration worked, subsequent
ones couldn't determine max_iterations.
src/glsl/loop_controls.cpp