gallivm: Add lp_build_select_bitwise() alternative to lp_build_select_bitwise
authorJosé Fonseca <jfonseca@vmware.com>
Tue, 27 Jul 2010 12:08:01 +0000 (13:08 +0100)
committerJosé Fonseca <jfonseca@vmware.com>
Tue, 27 Jul 2010 12:09:46 +0000 (13:09 +0100)
commit2a45972fb2ba12a6561e5cba84d167f4c30566d4
treeeaef9a51116809ced9f5923b13b9caf2a75c60a0
parentfef5ae949fd71419bb2a25f0944f0b50e60a668a
gallivm: Add lp_build_select_bitwise() alternative to lp_build_select_bitwise

When

  (mask & a) | (~mask & b)

is meant instead of

   mask ? a : b
src/gallium/auxiliary/gallivm/lp_bld_logic.c
src/gallium/auxiliary/gallivm/lp_bld_logic.h