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, 9 Mar 2010 22:42:17 +0000 (14:42 -0800)
commitf6f547d87ea68f44c50a0b0231b7360ca94b2975
tree180ea11e92a0af4fd1aeb7926426d5652cbaf507
parent7f6d2754d586545ab6c970acffdd897294879039
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.
src/mesa/drivers/dri/i965/brw_vs_emit.c