From: Timothy Arceri Date: Thu, 14 Dec 2017 05:02:45 +0000 (+1100) Subject: st/st_glsl_to_nir: call nir_lower_64bit_pack X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ddc0e7941f688346b5ef4aa5ac630b904f28dcf6;p=mesa.git st/st_glsl_to_nir: call nir_lower_64bit_pack Fixes 56 crashes in the radeonsi nir backend. Tested-by: Dieter Nützel Reviewed-by: Marek Olšák --- 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);