From: Timothy Arceri Date: Tue, 18 Dec 2018 01:04:26 +0000 (+1100) Subject: radeonsi: remove unrequired param in si_nir_scan_tess_ctrl() X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2817a4ec0bebfda5fe1a4a1d72a8902b9a39e4dd;p=mesa.git radeonsi: remove unrequired param in si_nir_scan_tess_ctrl() Tested-by: Dieter Nützel Reviewed-by: Marek Olšák --- diff --git a/src/gallium/drivers/radeonsi/si_shader.h b/src/gallium/drivers/radeonsi/si_shader.h index f71e601574d..cdb57958dd6 100644 --- a/src/gallium/drivers/radeonsi/si_shader.h +++ b/src/gallium/drivers/radeonsi/si_shader.h @@ -708,7 +708,6 @@ const char *si_get_shader_name(const struct si_shader *shader, unsigned processo void si_nir_scan_shader(const struct nir_shader *nir, struct tgsi_shader_info *info); void si_nir_scan_tess_ctrl(const struct nir_shader *nir, - const struct tgsi_shader_info *info, struct tgsi_tessctrl_info *out); void si_lower_nir(struct si_shader_selector *sel); diff --git a/src/gallium/drivers/radeonsi/si_shader_nir.c b/src/gallium/drivers/radeonsi/si_shader_nir.c index 0a692277f64..bb7c3d71dc0 100644 --- a/src/gallium/drivers/radeonsi/si_shader_nir.c +++ b/src/gallium/drivers/radeonsi/si_shader_nir.c @@ -278,7 +278,6 @@ static void scan_instruction(struct tgsi_shader_info *info, } void si_nir_scan_tess_ctrl(const struct nir_shader *nir, - const struct tgsi_shader_info *info, struct tgsi_tessctrl_info *out) { memset(out, 0, sizeof(*out)); diff --git a/src/gallium/drivers/radeonsi/si_state_shaders.c b/src/gallium/drivers/radeonsi/si_state_shaders.c index f751906c6d6..2adae673808 100644 --- a/src/gallium/drivers/radeonsi/si_state_shaders.c +++ b/src/gallium/drivers/radeonsi/si_state_shaders.c @@ -2238,7 +2238,7 @@ static void *si_create_shader_selector(struct pipe_context *ctx, sel->nir = state->ir.nir; si_nir_scan_shader(sel->nir, &sel->info); - si_nir_scan_tess_ctrl(sel->nir, &sel->info, &sel->tcs_info); + si_nir_scan_tess_ctrl(sel->nir, &sel->tcs_info); si_lower_nir(sel); }