radv: remove unused parameters in radv_fill_shader_info()

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Timur Kristóf <timur.kristof@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18278>
This commit is contained in:
Samuel Pitoiset 2022-08-26 14:37:30 +02:00 committed by Marge Bot
parent be9cded237
commit 4d756d8ae3
3 changed files with 5 additions and 10 deletions

View file

@ -2798,9 +2798,7 @@ static void
radv_fill_shader_info(struct radv_pipeline *pipeline,
struct radv_pipeline_layout *pipeline_layout,
const struct radv_pipeline_key *pipeline_key,
struct radv_pipeline_stage *stages,
gl_shader_stage last_vgt_api_stage,
bool pipeline_has_ngg)
struct radv_pipeline_stage *stages)
{
struct radv_device *device = pipeline->device;
@ -2824,7 +2822,7 @@ radv_fill_shader_info(struct radv_pipeline *pipeline,
&stages[i].info);
}
radv_nir_shader_info_link(device, pipeline_key, stages, pipeline_has_ngg, last_vgt_api_stage);
radv_nir_shader_info_link(device, pipeline_key, stages);
}
static void
@ -3979,8 +3977,7 @@ radv_create_shaders(struct radv_pipeline *pipeline, struct radv_pipeline_layout
NIR_PASS(_, stages[MESA_SHADER_FRAGMENT].nir, radv_lower_fs_output, pipeline_key);
}
radv_fill_shader_info(pipeline, pipeline_layout, pipeline_key, stages, *last_vgt_api_stage,
pipeline_has_ngg);
radv_fill_shader_info(pipeline, pipeline_layout, pipeline_key, stages);
radv_declare_pipeline_args(device, stages, pipeline_key);

View file

@ -2804,8 +2804,7 @@ void radv_nir_shader_info_init(struct radv_shader_info *info);
void radv_nir_shader_info_link(struct radv_device *device,
const struct radv_pipeline_key *pipeline_key,
struct radv_pipeline_stage *stages, bool pipeline_has_ngg,
gl_shader_stage last_vgt_api_stage);
struct radv_pipeline_stage *stages);
bool radv_thread_trace_init(struct radv_device *device);
void radv_thread_trace_finish(struct radv_device *device);

View file

@ -1396,8 +1396,7 @@ static const gl_shader_stage graphics_shader_order[] = {
void
radv_nir_shader_info_link(struct radv_device *device, const struct radv_pipeline_key *pipeline_key,
struct radv_pipeline_stage *stages, bool pipeline_has_ngg,
gl_shader_stage last_vgt_api_stage)
struct radv_pipeline_stage *stages)
{
/* Walk backwards to link */
struct radv_pipeline_stage *next_stage = &stages[MESA_SHADER_FRAGMENT];