intel: Always call nir_lower_frexp.

We have NIR lowering for Vulkan, and rely on GLSL's lowering in the
frontend, but this will let us drop the GLSL lowering.

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:43:55 -07:00
committed by Marge Bot
parent fb60edf4e9
commit f1ea6c1b40
4 changed files with 2 additions and 5 deletions

View File

@@ -930,6 +930,8 @@ brw_preprocess_nir(const struct brw_compiler *compiler, nir_shader *nir,
nir_validate_ssa_dominance(nir, "before brw_preprocess_nir");
OPT(nir_lower_frexp);
if (is_scalar) {
OPT(nir_lower_alu_to_scalar, NULL, NULL);
}