gallivm: simplify conditional branching
authorJose Fonseca <jfonseca@vmware.com>
Wed, 10 Mar 2010 22:22:30 +0000 (17:22 -0500)
committerZack Rusin <zackr@vmware.com>
Wed, 10 Mar 2010 22:22:30 +0000 (17:22 -0500)
commitd42229707ad4be9be5a8e122354be7102d6ec348
tree0a2d6c09e65f3be1a1961b5efc0eb09dfe011bd1
parentac33e7752d22f03db84e6a4c822b3a3f41d05f77
gallivm: simplify conditional branching

Instead of testing each component individually, we can test the entire
vector at once.
src/gallium/auxiliary/gallivm/lp_bld_tgsi_soa.c