glsl: Generate code for constant ir_triop_fma and ir_triop_bitfield_extract expressions
authorIan Romanick <ian.d.romanick@intel.com>
Tue, 12 Jul 2016 19:30:19 +0000 (12:30 -0700)
committerIan Romanick <ian.d.romanick@intel.com>
Tue, 30 Aug 2016 23:28:02 +0000 (16:28 -0700)
commit8954a019f7e9098738c7cc25ed097e7f85c24def
treeedaf8b2e0aeab243adc99468866a930adaa47180
parentda61c94db8bb26bac61565a3c6a3f6a3f5e1eab6
glsl: Generate code for constant ir_triop_fma and ir_triop_bitfield_extract expressions

ir_triop_bitfield_extract is a little weird because the second and third
operand and aways int, so they may differ in type from the first
operand.

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