diff options
author | Timothy Arceri <[email protected]> | 2017-12-14 16:02:45 +1100 |
---|---|---|
committer | Timothy Arceri <[email protected]> | 2017-12-27 11:26:08 +1100 |
commit | ddc0e7941f688346b5ef4aa5ac630b904f28dcf6 (patch) | |
tree | cf4fce78d65d601e20f13d48d223754c1cbacd8f /src/mesa | |
parent | ae556ba7781e3ad4971adab90abe31594a841179 (diff) |
st/st_glsl_to_nir: call nir_lower_64bit_pack
Fixes 56 crashes in the radeonsi nir backend.
Tested-by: Dieter Nützel <[email protected]>
Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/mesa')
-rw-r--r-- | src/mesa/state_tracker/st_glsl_to_nir.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
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); |