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 <alyssa.rosenzweig@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4852>
This commit is contained in:
Alyssa Rosenzweig 2020-04-30 13:13:24 -04:00 committed by Marge Bot
parent ba9f3d1702
commit 1c2d469506
1 changed files with 2 additions and 2 deletions

View File

@ -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 */