glsl: Generate code for constant expressions that have an output type the differs...
authorIan Romanick <ian.d.romanick@intel.com>
Tue, 12 Jul 2016 00:09:22 +0000 (17:09 -0700)
committerIan Romanick <ian.d.romanick@intel.com>
Tue, 30 Aug 2016 23:28:02 +0000 (16:28 -0700)
commit8f5357b1d690604333d04964eccf01a51c914c40
tree0f4342ce05ecd3664d3093414c3d8eb9214cb322
parent74e335c7623165e8c4b15609ec34c6c4e952995e
glsl: Generate code for constant expressions that have an output type the differs from the input types

v2: Remove extra int() cast in find_lsb.  Suggested by Matt.  'for (a,
b) in d' => 'for a, b in d'.  Suggested by Dylan.

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