i965: Fix nested loops in the VS.
authorEric Anholt <eric@anholt.net>
Tue, 9 Mar 2010 17:56:42 +0000 (09:56 -0800)
committerEric Anholt <eric@anholt.net>
Tue, 16 Mar 2010 19:15:02 +0000 (12:15 -0700)
commitd24f59d0081074ae9c4532949e75147447c8a82a
tree43b045c76fc60307e3978d57065891e391d0336c
parent009392f50db7ae0f6ef1fcbff268d5b833852074
i965: Fix nested loops in the VS.

We were patching up all the break and continues between the start of
our loop and the end of our loop, even if they were breaks/continues
for an inner loop.  Avoiding patching already patched breaks/continues
fixes piglit glsl-vs-loop-nested.
(cherry picked from commit f6f547d87ea68f44c50a0b0231b7360ca94b2975)
src/mesa/drivers/dri/i965/brw_vs_emit.c