ir_to_mesa: Emit smarter ir_binop_logic_or for vertex programs
authorIan Romanick <ian.d.romanick@intel.com>
Wed, 13 Apr 2016 18:43:23 +0000 (11:43 -0700)
committerIan Romanick <ian.d.romanick@intel.com>
Tue, 10 May 2016 16:22:18 +0000 (09:22 -0700)
commit2483a9a08cae6935e84fab3580ed285c6c68fb75
treeb3653ef32ce14b67443c970c1132e33206fd8099
parentf7328f9afd13a1862259128713ea39757e175a84
ir_to_mesa: Emit smarter ir_binop_logic_or for vertex programs

Continue using ADD in the other case because a fragment shader backend
could fuse the ADD with a MUL to generate a MAD for ((x && y) || z).

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Matt Turner <mattst88@gmail.com>
src/mesa/program/ir_to_mesa.cpp