gallivm: fix nested break and continue statements
authorZack Rusin <zackr@vmware.com>
Mon, 3 May 2010 01:40:30 +0000 (21:40 -0400)
committerZack Rusin <zackr@vmware.com>
Mon, 3 May 2010 01:40:30 +0000 (21:40 -0400)
commitd2b6ed7c4daf094bfe3fa4e0318133d0a8ea3cf6
tree81371ccad6737a4eccaf6c4f46bf0d40c7fa6455
parentc2c1f60391113490f4f90efb2786544c599ac991
gallivm: fix nested break and continue statements

we were resetting the mask on each new break/continue statement within
the same scope. we always need to and the current execution mask
with the current break/continue mask to get the correct result (the
masks are always ~1 initially)
src/gallium/auxiliary/gallivm/lp_bld_tgsi_soa.c