radv: Always lower indirect derefs after nir_lower_global_vars_to_local.
authorBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Thu, 15 Feb 2018 20:24:35 +0000 (21:24 +0100)
committerBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Thu, 15 Feb 2018 22:45:59 +0000 (23:45 +0100)
commit05d84ed68add9e6adfcc602a274405e04226c1b7
treef33e32c80da48b53e679b7f022df7fb471dcf643
parent2ab1ce30c4543fb4091795cbf6a5526e74c9e4aa
radv: Always lower indirect derefs after nir_lower_global_vars_to_local.

Otherwise new local variables can cause hangs on vega.

CC: <mesa-stable@lists.freedesktop.org>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=105098
Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
src/amd/vulkan/radv_pipeline.c
src/amd/vulkan/radv_shader.c
src/amd/vulkan/radv_shader.h