radv: remove unused parameter in radv_lower_io_to_mem()

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-By: Mike Blumenkrantz <michael.blumenkrantz@gmail.com>
Reviewed-by: Timur Kristóf <timur.kristof@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18138>
This commit is contained in:
Samuel Pitoiset
2022-08-18 10:01:54 +02:00
committed by Marge Bot
parent f66d822d87
commit 2167a61611
3 changed files with 3 additions and 5 deletions

View File

@@ -4394,7 +4394,7 @@ radv_postprocess_nir(struct radv_pipeline *pipeline,
nir_move_load_input | nir_move_const_undef | nir_move_copies);
/* Lower I/O intrinsics to memory instructions. */
bool io_to_mem = radv_lower_io_to_mem(device, stage, pipeline_key);
bool io_to_mem = radv_lower_io_to_mem(device, stage);
bool lowered_ngg = pipeline_has_ngg && stage->stage == last_vgt_api_stage;
if (lowered_ngg)
radv_lower_ngg(device, stage, pipeline_key);

View File

@@ -1154,8 +1154,7 @@ radv_lower_io(struct radv_device *device, nir_shader *nir, bool is_mesh_shading)
}
bool
radv_lower_io_to_mem(struct radv_device *device, struct radv_pipeline_stage *stage,
const struct radv_pipeline_key *pl_key)
radv_lower_io_to_mem(struct radv_device *device, struct radv_pipeline_stage *stage)
{
const struct radv_shader_info *info = &stage->info;
nir_shader *nir = stage->nir;

View File

@@ -734,8 +734,7 @@ get_tcs_num_patches(unsigned tcs_num_input_vertices, unsigned tcs_num_output_ver
void radv_lower_io(struct radv_device *device, nir_shader *nir, bool is_mesh_shading);
bool radv_lower_io_to_mem(struct radv_device *device, struct radv_pipeline_stage *stage,
const struct radv_pipeline_key *pl_key);
bool radv_lower_io_to_mem(struct radv_device *device, struct radv_pipeline_stage *stage);
void radv_lower_ngg(struct radv_device *device, struct radv_pipeline_stage *ngg_stage,
const struct radv_pipeline_key *pl_key);