nir: add support for round to zero rounding mode to nir_op_f2f32
authorSamuel Iglesias Gonsálvez <siglesias@igalia.com>
Wed, 13 Feb 2019 09:31:37 +0000 (10:31 +0100)
committerAndres Gomez <agomez@igalia.com>
Tue, 17 Sep 2019 20:39:18 +0000 (23:39 +0300)
commit0ac07c7ca7207f3f1388c0450b456ecc578d9c5b
tree32e30311a6d9d90a9346bcf292959453b17d1bee
parent5308333e789e19956172d4e77e7ae4cf2fb4eafb
nir: add support for round to zero rounding mode to nir_op_f2f32

f2f16's rounding modes are already handled and f2f64 don't need it
as there is not a floating point type with higher bit size than 64 for
now.

Signed-off-by: Samuel Iglesias Gonsálvez <siglesias@igalia.com>
Reviewed-by: Connor Abbott <cwabbott0@gmail.com>
src/compiler/nir/nir_constant_expressions.py
src/compiler/nir/nir_opcodes.py