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 <christoph.pillmayer@arm.com>
Acked-by: Eric R. Smith <eric.smith@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38821>
This commit is contained in:
Faith Ekstrand 2025-11-06 11:07:35 -05:00 committed by Marge Bot
parent 4909e23d11
commit 39b8456a79

View file

@ -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;