nir: Don't produce nir_op_fexp from GLSL IR
authorIan Romanick <ian.d.romanick@intel.com>
Wed, 6 May 2015 23:57:22 +0000 (16:57 -0700)
committerIan Romanick <ian.d.romanick@intel.com>
Fri, 8 May 2015 19:12:54 +0000 (12:12 -0700)
commita45d55f17c7895c55214d2babeb0f0b03442c8a8
tree99284b1b3c0fcb9951eed2ffcf1467357fcfcf11
parent5e0dca62a7c8d02ab01bec4259cc67324bb2075d
nir: Don't produce nir_op_fexp from GLSL IR

All paths that produce GLSL IR for NIR lower ir_unop_exp.  All paths
that consume NIR will explode if they geta nir_op_fexp.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Matt Turner <mattst88@gmail.com>
Acked-by: Jason Ekstrand <jason.ekstrand@intel.com>
src/glsl/nir/glsl_to_nir.cpp