gallivm: fix breakc
authorZack Rusin <zackr@vmware.com>
Thu, 4 Apr 2013 22:06:14 +0000 (15:06 -0700)
committerZack Rusin <zackr@vmware.com>
Wed, 10 Apr 2013 19:25:34 +0000 (12:25 -0700)
commit1ad4a4eeb3fe83ce3ce7336250d725bf0a28de7b
tree158bba02218a1081049ca8fcc98635dc1fab616f
parente4484a0309ab44a790df29a599fb2b01eb885d5a
gallivm: fix breakc

we break when the mask values are 0 not, 1, plus it's bit comparison
not a floating point comparison. This fixes both.

Signed-off-by: Zack Rusin <zackr@vmware.com>
Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
Reviewed-by: Roland Scheidegger <sroland@vmware.com>
src/gallium/auxiliary/gallivm/lp_bld_tgsi_soa.c