From e0883d107ad3d629bbf8254400f143ab4da99010 Mon Sep 17 00:00:00 2001 From: Georg Lehmann Date: Sun, 12 Apr 2026 13:23:02 +0200 Subject: [PATCH] radv: do not remove dead variables MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit No Foz-DB changes. Reviewed-by: Marek Olšák Reviewed-by: Samuel Pitoiset Acked-by: Daniel Schürmann Part-of: --- src/amd/vulkan/radv_pipeline_graphics.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/amd/vulkan/radv_pipeline_graphics.c b/src/amd/vulkan/radv_pipeline_graphics.c index 6b42f265720..b7174c6a85c 100644 --- a/src/amd/vulkan/radv_pipeline_graphics.c +++ b/src/amd/vulkan/radv_pipeline_graphics.c @@ -1238,9 +1238,6 @@ radv_link_shaders(struct radv_shader_stage *producer_stage, struct radv_shader_s radv_nir_lower_io_vars_to_scalar(producer, nir_var_shader_out); radv_nir_lower_io_vars_to_scalar(consumer, nir_var_shader_in); - - NIR_PASS(_, producer, nir_remove_dead_variables, nir_var_shader_out, NULL); - NIR_PASS(_, consumer, nir_remove_dead_variables, nir_var_shader_in, NULL); } static const mesa_shader_stage graphics_shader_order[] = {