From 39b8456a79e8ab6380ab36e8732ce3127035de79 Mon Sep 17 00:00:00 2001 From: Faith Ekstrand Date: Thu, 6 Nov 2025 11:07:35 -0500 Subject: [PATCH] panvk: Drop compile_inputs from panvk_lower_nir() We no longer need this. Now panvk_lower_nir() is simply about descriptors, I/O, and calling into the back-end lowering code. Reviewed-by: Christoph Pillmayer Acked-by: Eric R. Smith Part-of: --- src/panfrost/vulkan/panvk_vX_shader.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/panfrost/vulkan/panvk_vX_shader.c b/src/panfrost/vulkan/panvk_vX_shader.c index fade7770a9e..421748ad482 100644 --- a/src/panfrost/vulkan/panvk_vX_shader.c +++ b/src/panfrost/vulkan/panvk_vX_shader.c @@ -770,7 +770,6 @@ panvk_lower_nir(struct panvk_device *dev, nir_shader *nir, struct vk_descriptor_set_layout *const *set_layouts, const struct vk_pipeline_robustness_state *rs, const struct vk_graphics_pipeline_state *state, - const struct pan_compile_inputs *compile_input, struct panvk_shader_desc_info *desc_info) { mesa_shader_stage stage = nir->info.stage; @@ -1333,7 +1332,7 @@ panvk_compile_shader(struct panvk_device *dev, panvk_lower_nir(dev, nir, info->set_layout_count, info->set_layouts, info->robustness, - state, &inputs, &variant->desc_info); + state, &variant->desc_info); /* We need the driver_location to match the vertex attribute * location, so we can use the attribute layout described by @@ -1395,7 +1394,7 @@ panvk_compile_shader(struct panvk_device *dev, #endif panvk_lower_nir(dev, nir, info->set_layout_count, info->set_layouts, - info->robustness, state, &inputs, &variant->desc_info); + info->robustness, state, &variant->desc_info); nir_assign_io_var_locations(nir, nir_var_shader_out); panvk_lower_nir_io(nir); @@ -1418,7 +1417,7 @@ panvk_compile_shader(struct panvk_device *dev, nir_shader *nir = info->nir; panvk_lower_nir(dev, nir, info->set_layout_count, info->set_layouts, - info->robustness, state, &inputs, &variant->desc_info); + info->robustness, state, &variant->desc_info); variant->own_bin = true;