nir/constant_expressions: mind rounding mode converting from float to float16 destina...
authorSamuel Iglesias Gonsálvez <siglesias@igalia.com>
Mon, 4 Feb 2019 14:10:35 +0000 (15:10 +0100)
committerAndres Gomez <agomez@igalia.com>
Tue, 17 Sep 2019 20:39:18 +0000 (23:39 +0300)
commit5e22f3e29a21eb4623759b517619543f3553caea
treedc0fec7bb38b78b065d89b9a4bd15c98a5b63e8e
parentef681cf9713664bcd3e95d54cc158b93b3542dc8
nir/constant_expressions: mind rounding mode converting from float to float16 destinations

v2:
- Move the op-code specific knowledge to nir_opcodes.py even if it
  means a rount trip conversion (Connor).

Signed-off-by: Samuel Iglesias Gonsálvez <siglesias@igalia.com>
Signed-off-by: Andres Gomez <agomez@igalia.com>
Reviewed-by: Caio Marcelo de Oliveira Filho <caio.oliveira@intel.com>
src/compiler/nir/nir_constant_expressions.py