From: Caio Marcelo de Oliveira Filho Date: Sat, 23 Mar 2019 17:28:03 +0000 (-0700) Subject: glspirv: Call pass to lower frexp instructions X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9b0720c436b208b410a42f0026a5b3f90af7cfad;p=mesa.git glspirv: Call pass to lower frexp instructions These were previously handled by the spirv_to_nir, but that changed to be an explict pass in 23d30f4099f "spirv,nir: lower frexp_exp/frexp_sig inside a new NIR pass" Reviewed-by: Jason Ekstrand --- diff --git a/src/mesa/main/glspirv.c b/src/mesa/main/glspirv.c index bb5a3f7452b..9faaad33628 100644 --- a/src/mesa/main/glspirv.c +++ b/src/mesa/main/glspirv.c @@ -262,6 +262,8 @@ _mesa_spirv_to_nir(struct gl_context *ctx, if (nir->info.stage == MESA_SHADER_VERTEX) nir_remap_dual_slot_attributes(nir, &linked_shader->Program->DualSlotInputs); + NIR_PASS_V(nir, nir_lower_frexp); + return nir; }