r600: lower dround_even also on hardware that supports fp64

Fixes: aed6a39c10
  glsl: Retire dround lowering.

Signed-off-by: Gert Wollny <gert.wollny@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27329>
(cherry picked from commit 820859a6ab)
This commit is contained in:
Gert Wollny
2024-01-28 22:37:28 +01:00
committed by Eric Engestrom
parent 2453b02a8f
commit 4a9b7d0583
2 changed files with 3 additions and 2 deletions

View File

@@ -204,7 +204,7 @@
"description": "r600: lower dround_even also on hardware that supports fp64",
"nominated": true,
"nomination_type": 1,
"resolution": 0,
"resolution": 1,
"main_sha": null,
"because_sha": "aed6a39c10c328c32e6009e6f5c00cfdd9257e73",
"notes": null

View File

@@ -1452,7 +1452,8 @@ bool r600_common_screen_init(struct r600_common_screen *rscreen,
nir_lower_dceil |
nir_lower_dmod |
nir_lower_dsub |
nir_lower_dtrunc;
nir_lower_dtrunc |
nir_lower_dround_even;
}
rscreen->nir_options_fs = rscreen->nir_options;