From fefeaeef0605d60f1e268870a85dd673b07c7a3d Mon Sep 17 00:00:00 2001 From: Tony Wasserka Date: Thu, 3 Sep 2020 14:29:58 +0200 Subject: [PATCH] aco/isel: Compile all helper functions with static linkage MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Reviewed-by: Daniel Schürmann Reviewed-by: Timur Kristóf Part-of: --- src/amd/compiler/aco_instruction_selection.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/amd/compiler/aco_instruction_selection.cpp b/src/amd/compiler/aco_instruction_selection.cpp index eeb203568bd..9c177338f20 100644 --- a/src/amd/compiler/aco_instruction_selection.cpp +++ b/src/amd/compiler/aco_instruction_selection.cpp @@ -10450,8 +10450,6 @@ Pseudo_instruction *add_startpgm(struct isel_context *ctx) return instr; } -} /* end namespace */ - void fix_ls_vgpr_init_bug(isel_context *ctx, Pseudo_instruction *startpgm) { assert(ctx->shader->info.stage == MESA_SHADER_VERTEX); @@ -10833,6 +10831,8 @@ void ngg_emit_nogs_output(isel_context *ctx) } } +} /* end namespace */ + void select_program(Program *program, unsigned shader_count, struct nir_shader *const *shaders,