glsl: Eliminate constant_template5
authorIan Romanick <ian.d.romanick@intel.com>
Mon, 18 Jul 2016 17:49:07 +0000 (10:49 -0700)
committerIan Romanick <ian.d.romanick@intel.com>
Tue, 30 Aug 2016 23:28:03 +0000 (16:28 -0700)
commitabc81f788343e1780c21ec748153e7bb003cd7e0
treec96962dcc6e205d59612cf5952dbd09277eaa628
parent53c54a6c733952027b75541b6c7c4efeec319bd8
glsl: Eliminate constant_template5

constant_template_common can now handle the case where the result type
is different from the input type by using type_signature_iter.

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