From ddc0e7941f688346b5ef4aa5ac630b904f28dcf6 Mon Sep 17 00:00:00 2001 From: Timothy Arceri Date: Thu, 14 Dec 2017 16:02:45 +1100 Subject: st/st_glsl_to_nir: call nir_lower_64bit_pack MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fixes 56 crashes in the radeonsi nir backend. Tested-by: Dieter Nützel Reviewed-by: Marek Olšák --- src/mesa/state_tracker/st_glsl_to_nir.cpp | 1 + 1 file changed, 1 insertion(+) (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 7357eebae0c..0ff8dcd68cc 100644 --- a/src/mesa/state_tracker/st_glsl_to_nir.cpp +++ b/src/mesa/state_tracker/st_glsl_to_nir.cpp @@ -262,6 +262,7 @@ st_nir_opts(nir_shader *nir) do { progress = false; + NIR_PASS_V(nir, nir_lower_64bit_pack); NIR_PASS(progress, nir, nir_copy_prop); NIR_PASS(progress, nir, nir_opt_remove_phis); NIR_PASS(progress, nir, nir_opt_dce); -- cgit v1.2.3