nir: fix denorm flush-to-zero in sqrt's lowering at nir_lower_double_ops
authorSamuel Iglesias Gonsálvez <siglesias@igalia.com>
Tue, 10 Jul 2018 10:04:38 +0000 (12:04 +0200)
committerAndres Gomez <agomez@igalia.com>
Tue, 17 Sep 2019 20:39:18 +0000 (23:39 +0300)
commit2abc6299bfa29d905046c7d198e3262fb19c0119
tree897493300a9c75fa5ffe32da23b1ba0bad1165dc
parent1e0e3ed15a8cfb98a182714bcb3e55cfab5c3df7
nir: fix denorm flush-to-zero in sqrt's lowering at nir_lower_double_ops

v2:
- Replace hard coded value with DBL_MIN (Connor).

v3:
- Have into account the FLOAT_CONTROLS_DENORM_PRESERVE_FP64
  flag (Caio).

Signed-off-by: Samuel Iglesias Gonsálvez <siglesias@igalia.com>
Signed-off-by: Andres Gomez <agomez@igalia.com>
Reviewed-by: Connor Abbott <cwabbott0@gmail.com> [v2]
src/compiler/nir/nir_lower_double_ops.c