From 1c2d469506c29cb114568b5b74f9e9c3fa00706b Mon Sep 17 00:00:00 2001 From: Alyssa Rosenzweig Date: Thu, 30 Apr 2020 13:13:24 -0400 Subject: [PATCH] pan/mdg: Drop `opt` in name of midgard_opt_cull_dead_branch It's necessary for conformance - not an optimization. Signed-off-by: Alyssa Rosenzweig Part-of: --- src/panfrost/midgard/midgard_compile.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/panfrost/midgard/midgard_compile.c b/src/panfrost/midgard/midgard_compile.c index 583b9c3726c..de2f0164bc3 100644 --- a/src/panfrost/midgard/midgard_compile.c +++ b/src/panfrost/midgard/midgard_compile.c @@ -2166,7 +2166,7 @@ embedded_to_inline_constant(compiler_context *ctx, midgard_block *block) * per block is legal semantically */ static void -midgard_opt_cull_dead_branch(compiler_context *ctx, midgard_block *block) +midgard_cull_dead_branch(compiler_context *ctx, midgard_block *block) { bool branched = false; @@ -2611,7 +2611,7 @@ midgard_compile_shader_nir(nir_shader *nir, panfrost_program *program, bool is_b * them */ mir_foreach_block(ctx, _block) { midgard_block *block = (midgard_block *) _block; - midgard_opt_cull_dead_branch(ctx, block); + midgard_cull_dead_branch(ctx, block); } /* Ensure we were lowered */ -- 2.30.2