mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 00:58:05 +02:00
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:
parent
f66d822d87
commit
2167a61611
3 changed files with 3 additions and 5 deletions
|
|
@ -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);
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue