diff options
author | Bas Nieuwenhuizen <[email protected]> | 2018-02-15 21:24:35 +0100 |
---|---|---|
committer | Bas Nieuwenhuizen <[email protected]> | 2018-02-15 23:45:59 +0100 |
commit | 05d84ed68add9e6adfcc602a274405e04226c1b7 (patch) | |
tree | f33e32c80da48b53e679b7f022df7fb471dcf643 /src/amd/vulkan/radv_shader.h | |
parent | 2ab1ce30c4543fb4091795cbf6a5526e74c9e4aa (diff) |
radv: Always lower indirect derefs after nir_lower_global_vars_to_local.
Otherwise new local variables can cause hangs on vega.
CC: <[email protected]>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=105098
Reviewed-by: Timothy Arceri <[email protected]>
Diffstat (limited to 'src/amd/vulkan/radv_shader.h')
-rw-r--r-- | src/amd/vulkan/radv_shader.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/amd/vulkan/radv_shader.h b/src/amd/vulkan/radv_shader.h index b07f8a89e74..31fe7397711 100644 --- a/src/amd/vulkan/radv_shader.h +++ b/src/amd/vulkan/radv_shader.h @@ -104,6 +104,10 @@ void radv_shader_variant_destroy(struct radv_device *device, struct radv_shader_variant *variant); +bool +radv_lower_indirect_derefs(struct nir_shader *nir, + struct radv_physical_device *device); + const char * radv_get_shader_name(struct radv_shader_variant *var, gl_shader_stage stage); |