From 3cea9f981a14db797afb10225623acb96bd1c107 Mon Sep 17 00:00:00 2001 From: Tapani Pälli Date: Tue, 2 Apr 2019 08:56:07 +0300 Subject: st/nir: run st_nir_opts after 64bit ops lowering MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit CID: 1444309 Fixes: 9ab1b1d0227 "st/nir: Move 64-bit lowering later" Signed-off-by: Tapani Pälli Reviewed-by: Timothy Arceri Reviewed-by: Jason Ekstrand --- src/mesa/state_tracker/st_glsl_to_nir.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/mesa') diff --git a/src/mesa/state_tracker/st_glsl_to_nir.cpp b/src/mesa/state_tracker/st_glsl_to_nir.cpp index 8a58328ce48..9a4e030413b 100644 --- a/src/mesa/state_tracker/st_glsl_to_nir.cpp +++ b/src/mesa/state_tracker/st_glsl_to_nir.cpp @@ -436,7 +436,7 @@ st_glsl_to_nir(struct st_context *st, struct gl_program *prog, lowered_64bit_ops |= progress; } while (progress); - if (progress) + if (lowered_64bit_ops) st_nir_opts(nir, is_scalar); } -- cgit v1.2.3