From 9b0720c436b208b410a42f0026a5b3f90af7cfad Mon Sep 17 00:00:00 2001 From: Caio Marcelo de Oliveira Filho Date: Sat, 23 Mar 2019 10:28:03 -0700 Subject: [PATCH] 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 --- src/mesa/main/glspirv.c | 2 ++ 1 file changed, 2 insertions(+) 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; } -- 2.30.2