glsl: Generate code for constant unary expression that map one type to another
authorIan Romanick <ian.d.romanick@intel.com>
Sat, 9 Jul 2016 00:12:33 +0000 (17:12 -0700)
committerIan Romanick <ian.d.romanick@intel.com>
Tue, 30 Aug 2016 23:28:01 +0000 (16:28 -0700)
commitaa9f4fc53e8c7bdc6270dce82485d8ddf053a562
treedabce801fffaa6b52f75424cfe29b8dd63358e2d
parent3fcb6b85c0331bd0bf98394d3a0def350d8c06cc
glsl: Generate code for constant unary expression that map one type to another

ir_unop_i2b is omitted because its source can either be int or uint.
That makes it special.

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