glsl: Begin generating code for the most basic constant expressions
authorIan Romanick <ian.d.romanick@intel.com>
Fri, 8 Jul 2016 07:20:43 +0000 (00:20 -0700)
committerIan Romanick <ian.d.romanick@intel.com>
Tue, 30 Aug 2016 23:28:01 +0000 (16:28 -0700)
commit3fcb6b85c0331bd0bf98394d3a0def350d8c06cc
treee684ee9543bcc75de4d9a08b48e92bacea517953
parente31c72a331b178a4e6c0cb80369dacb90055ee3e
glsl: Begin generating code for the most basic constant expressions

Unary operations where all of the supported types use the same C
expression to evaluate them.

v2: '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