nir: fix ir_binop_gequal glsl_to_nir conversion
authorErico Nunes <nunes.erico@gmail.com>
Sat, 14 Apr 2018 19:14:41 +0000 (21:14 +0200)
committerJason Ekstrand <jason.ekstrand@intel.com>
Mon, 16 Apr 2018 14:59:25 +0000 (07:59 -0700)
commitd19b488339be4b908dbd3b1636a677d11a2232f0
treefe58b843a20e199dd9b2bfd5cc546a0a9e7f36f8
parent72ab499c9f9fbfa27645168b688ad03ad5d51242
nir: fix ir_binop_gequal glsl_to_nir conversion

ir_binop_gequal needs to be converted to nir_op_sge when native integers
are not supported in the driver.
Otherwise it becomes no different than ir_binop_less after the
conversion.

Signed-off-by: Erico Nunes <nunes.erico@gmail.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
src/compiler/glsl/glsl_to_nir.cpp