diff options
author | Rohan Garg <rohan.garg@intel.com> | 2023-05-17 14:01:06 +0200 |
---|---|---|
committer | Marge Bot <emma+marge@anholt.net> | 2023-05-17 13:26:41 +0000 |
commit | 42ed0f03569e32c8f996a6c1b2e343159a06cbb6 (patch) | |
tree | 8e83209b52ad6eb65b284b1e6833512fe708203d | |
parent | b2e733a8ed85f6c10a192a97c102c75287b6e735 (diff) | |
download | mesa-42ed0f03569e32c8f996a6c1b2e343159a06cbb6.tar.gz |
anv: drop duplicated nir_opt_dce passes
Signed-off-by: Rohan Garg <rohan.garg@intel.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23075>
-rw-r--r-- | src/intel/vulkan/anv_generated_indirect_draws.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/intel/vulkan/anv_generated_indirect_draws.c b/src/intel/vulkan/anv_generated_indirect_draws.c index 16cefaf6a9a..700818c33b5 100644 --- a/src/intel/vulkan/anv_generated_indirect_draws.c +++ b/src/intel/vulkan/anv_generated_indirect_draws.c @@ -177,11 +177,9 @@ compile_upload_spirv(struct anv_device *device, nir->info.internal = true; NIR_PASS_V(nir, nir_lower_vars_to_ssa); - NIR_PASS_V(nir, nir_opt_dce); NIR_PASS_V(nir, nir_opt_cse); NIR_PASS_V(nir, nir_opt_gcm, true); NIR_PASS_V(nir, nir_opt_peephole_select, 1, false, false); - NIR_PASS_V(nir, nir_opt_dce); NIR_PASS_V(nir, nir_lower_variable_initializers, ~0); @@ -213,7 +211,6 @@ compile_upload_spirv(struct anv_device *device, NIR_PASS_V(nir, nir_opt_load_store_vectorize, &options); NIR_PASS_V(nir, lower_vulkan_descriptors); - NIR_PASS_V(nir, nir_opt_dce); NIR_PASS_V(nir, nir_lower_explicit_io, nir_var_mem_ubo, nir_address_format_32bit_index_offset); |