From 25d246f4544ff952fc288bc8abb84b18c582ac79 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Marek=20Ol=C5=A1=C3=A1k?= Date: Mon, 8 May 2017 16:41:09 +0200 Subject: [PATCH] radeonsi: rename si_eliminate_const_vs_outputs -> si_optimize_vs_outputs MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Reviewed-by: Nicolai Hähnle --- src/gallium/drivers/radeonsi/si_shader.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gallium/drivers/radeonsi/si_shader.c b/src/gallium/drivers/radeonsi/si_shader.c index 1be66548148..e89b3258eda 100644 --- a/src/gallium/drivers/radeonsi/si_shader.c +++ b/src/gallium/drivers/radeonsi/si_shader.c @@ -7246,7 +7246,7 @@ static void si_init_shader_ctx(struct si_shader_context *ctx, bld_base->op_actions[TGSI_OPCODE_BARRIER].emit = si_llvm_emit_barrier; } -static void si_eliminate_const_vs_outputs(struct si_shader_context *ctx) +static void si_optimize_vs_outputs(struct si_shader_context *ctx) { struct si_shader *shader = ctx->shader; struct tgsi_shader_info *info = &shader->selector->info; @@ -8169,7 +8169,7 @@ int si_compile_tgsi_shader(struct si_screen *sscreen, si_llvm_optimize_module(&ctx); /* Post-optimization transformations and analysis. */ - si_eliminate_const_vs_outputs(&ctx); + si_optimize_vs_outputs(&ctx); if ((debug && debug->debug_message) || r600_can_dump_shader(&sscreen->b, ctx.type)) -- 2.30.2