i965/fs: set rounding mode when emitting the flrp instruction
authorAndres Gomez <agomez@igalia.com>
Mon, 23 Sep 2019 22:37:57 +0000 (01:37 +0300)
committerAndres Gomez <agomez@igalia.com>
Tue, 24 Sep 2019 09:06:59 +0000 (12:06 +0300)
commit5e87f48f1d755478cb919d7041ff11a9a2d37c57
tree6f83bc834e97f377d31d44c4437001c451e3ff4c
parent6f1468c371c7ceebf4d70933d60f70ef119fedcc
i965/fs: set rounding mode when emitting the flrp instruction

flrp was forgotten when already adding the rounding mode for other
instructions.

Fixes: ba1e25e1aa6 ("i965/fs: set rounding mode when emitting fadd, fmul and ffma instructions")
Suggested-by: Ian Romanick <ian.d.romanick@intel.com>
Signed-off-by: Andres Gomez <agomez@igalia.com>
Reviewed-by: Caio Marcelo de Oliveira Filho <caio.oliveira@intel.com>
Reviewed-by: Samuel Iglesias Gonsálvez <siglesias@igalia.com>
src/intel/compiler/brw_fs_nir.cpp