glsl: Generate code for some constant binary expression that are horizontal
authorIan Romanick <ian.d.romanick@intel.com>
Tue, 12 Jul 2016 17:12:57 +0000 (10:12 -0700)
committerIan Romanick <ian.d.romanick@intel.com>
Tue, 30 Aug 2016 23:28:02 +0000 (16:28 -0700)
commit8cf9157786ff6afa4bb8ce81755a9944dc79320d
treee6326608af807d9ffbc4aa5107a9bcefc48fa57e
parentd5bfe6b9c4dbeef4f594e28cf1481dc60902bec9
glsl: Generate code for some constant binary expression that are horizontal

Only operations where the implementation is identical code regardless of
type.  The only such operations are ir_binop_all_equal and
ir_binop_any_nequal.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Matt Turner <mattst88@gmail.com>
Acked-by: Dylan Baker <dylan@pnwbakers.com>
src/compiler/glsl/ir_expression_operation.py