glsl: Retire ldexp lowering in favor of the nir lowering flag.

Compilers need to set the nir flag anyway for vulkan, so just pass ldexp
through to NIR and let that handle it.

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22083>
This commit is contained in:
Emma Anholt
2023-03-22 13:20:03 -07:00
committed by Marge Bot
parent 675f4ff596
commit 2a33ea95d6
33 changed files with 12 additions and 210 deletions

View File

@@ -2183,6 +2183,7 @@ static const nir_shader_compiler_options nir_options = {
.lower_ldexp = true,
.lower_fneg = true,
.lower_ineg = true,
.lower_ldexp = true,
.lower_rotate = true,
.lower_to_scalar = true,
.lower_umax = true,