gallivm: Eliminate redundant lp_build_select calls.
authorJosé Fonseca <jfonseca@vmware.com>
Fri, 5 Jul 2013 10:53:09 +0000 (11:53 +0100)
committerJosé Fonseca <jfonseca@vmware.com>
Fri, 12 Jul 2013 14:40:16 +0000 (15:40 +0100)
commit1b0d29b5da66998bd70a9429a4c02af6bdc57e89
treea2d08b1161f0354255cd18f2668c77fb7362b109
parent46205ab8cc03cbda6bbc0c958e277f972973ebfe
gallivm: Eliminate redundant lp_build_select calls.

lp_build_cmp already returns 0 / ~0, so the lp_build_select call is
unnecessary.

Reviewed-by: Roland Scheidegger <sroland@vmware.com>
src/gallium/auxiliary/gallivm/lp_bld_tgsi_action.c