i965: Set the if stack pop count when breaking out of a loop inside an if.
authorEric Anholt <eric@anholt.net>
Thu, 19 Aug 2010 04:21:05 +0000 (21:21 -0700)
committerEric Anholt <eric@anholt.net>
Thu, 19 Aug 2010 04:31:56 +0000 (21:31 -0700)
commit8de8c97275e9555183a7e8f2238143657bbe60b2
tree69a426182b45075678ca2b7a64f20e6c49846615
parentbad29dc6dad7ed1bff46c67e61dab01f8d82b557
i965: Set the if stack pop count when breaking out of a loop inside an if.

Otherwise, we might end up with the if stack pointing at the wrong
place.  Fixes GPU hang with glsl-vs-if-loop.
src/mesa/drivers/dri/i965/brw_vs_emit.c