radv: remove unused parameter to gather_shader_info_mesh()

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27176>
This commit is contained in:
Samuel Pitoiset
2024-01-19 16:46:19 +01:00
committed by Marge Bot
parent df45cbddb5
commit 1e1a6d8e26

View File

@@ -681,8 +681,7 @@ gather_shader_info_gs(struct radv_device *device, const nir_shader *nir, struct
} }
static void static void
gather_shader_info_mesh(struct radv_device *device, const nir_shader *nir, gather_shader_info_mesh(struct radv_device *device, const nir_shader *nir, struct radv_shader_info *info)
const struct radv_graphics_state_key *gfx_state, struct radv_shader_info *info)
{ {
struct gfx10_ngg_info *ngg_info = &info->ngg_info; struct gfx10_ngg_info *ngg_info = &info->ngg_info;
@@ -1214,7 +1213,7 @@ radv_nir_shader_info_pass(struct radv_device *device, const struct nir_shader *n
gather_shader_info_vs(device, nir, gfx_state, stage_key, info); gather_shader_info_vs(device, nir, gfx_state, stage_key, info);
break; break;
case MESA_SHADER_MESH: case MESA_SHADER_MESH:
gather_shader_info_mesh(device, nir, gfx_state, info); gather_shader_info_mesh(device, nir, info);
break; break;
default: default:
if (gl_shader_stage_is_rt(nir->info.stage)) if (gl_shader_stage_is_rt(nir->info.stage))