glsl: Eliminate constant_template2
authorIan Romanick <ian.d.romanick@intel.com>
Mon, 18 Jul 2016 17:58:42 +0000 (10:58 -0700)
committerIan Romanick <ian.d.romanick@intel.com>
Tue, 30 Aug 2016 23:28:03 +0000 (16:28 -0700)
commit822b5c5eb257cccd0fe3939819a3588d18173a23
tree078f08f4ba4a79739cc5a66a0da3fc8474b922f9
parentabc81f788343e1780c21ec748153e7bb003cd7e0
glsl: Eliminate constant_template2

constant_template_common can now handle the case where the result type
is different from the input type by using type_signature_iter.  This
changes the "shape" of all the cast-style operators, but they should
function the same.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
src/compiler/glsl/ir_expression_operation.py