diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/amd/vulkan/radv_shader.c | 2 | ||||
-rw-r--r-- | src/compiler/nir/nir_opt_shrink_load.c (renamed from src/compiler/nir/nir_opt_shrink_load_constant.c) | 0 |
2 files changed, 2 insertions, 0 deletions
diff --git a/src/amd/vulkan/radv_shader.c b/src/amd/vulkan/radv_shader.c index af094e6220f..42f83bb3355 100644 --- a/src/amd/vulkan/radv_shader.c +++ b/src/amd/vulkan/radv_shader.c @@ -148,6 +148,8 @@ radv_optimize_nir(struct nir_shader *shader) NIR_PASS(progress, shader, nir_opt_loop_unroll, 0); } } while (progress); + + NIR_PASS(progress, shader, nir_opt_shrink_load); } nir_shader * diff --git a/src/compiler/nir/nir_opt_shrink_load_constant.c b/src/compiler/nir/nir_opt_shrink_load.c index f97b7f9b67f..f97b7f9b67f 100644 --- a/src/compiler/nir/nir_opt_shrink_load_constant.c +++ b/src/compiler/nir/nir_opt_shrink_load.c |