i965/fs: add support for shader float control to remove_extra_rounding_modes()
authorSamuel Iglesias Gonsálvez <siglesias@igalia.com>
Mon, 19 Nov 2018 11:38:10 +0000 (12:38 +0100)
committerAndres Gomez <agomez@igalia.com>
Tue, 17 Sep 2019 20:39:19 +0000 (23:39 +0300)
commit9b07020a4f2d6e680c89ef0a97dbb0bb53c5f299
tree46a565245e5e90f1b67827f99def385e56635aa1
parent9bd88d10d82c15960e3936423c17dd6e0746e9ef
i965/fs: add support for shader float control to remove_extra_rounding_modes()

The remove_extra_rounding_modes() optimization will remove duplicated
rounding mode changes.

v2:
- Fix bug in the rounding mode change (Alejandro).

v3:
- Fix rounding modes.

v4:
- Updated to renamed shader info member and enum values (Andres).

v5:
- Simplify flags logic operations (Caio).

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/intel/compiler/brw_fs.cpp