Mesa (master): aco/isel: Compile all helper functions with static linkage

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Tue Sep 8 20:24:38 UTC 2020


Module: Mesa
Branch: master
Commit: fefeaeef0605d60f1e268870a85dd673b07c7a3d
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=fefeaeef0605d60f1e268870a85dd673b07c7a3d

Author: Tony Wasserka <tony.wasserka at gmx.de>
Date:   Thu Sep  3 14:29:58 2020 +0200

aco/isel: Compile all helper functions with static linkage

Reviewed-by: Daniel Schürmann <daniel at schuermann.dev>
Reviewed-by: Timur Kristóf <timur.kristof at gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6504>

---

 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,



More information about the mesa-commit mailing list