Mesa (master): mesa: remove _mesa from static function names

Timothy Arceri tarceri at kemper.freedesktop.org
Wed May 31 01:18:27 UTC 2017


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

Author: Timothy Arceri <tarceri at itsqueeze.com>
Date:   Tue May 30 10:56:36 2017 +1000

mesa: remove _mesa from static function names

Reviewed-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>

---

 src/mesa/program/programopt.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/mesa/program/programopt.c b/src/mesa/program/programopt.c
index 501acde0d0..f560bce62e 100644
--- a/src/mesa/program/programopt.c
+++ b/src/mesa/program/programopt.c
@@ -46,7 +46,7 @@
  * May be used to implement the position_invariant option.
  */
 static void
-_mesa_insert_mvp_dp4_code(struct gl_context *ctx, struct gl_program *vprog)
+insert_mvp_dp4_code(struct gl_context *ctx, struct gl_program *vprog)
 {
    struct prog_instruction *newInst;
    const GLuint origLen = vprog->arb.NumInstructions;
@@ -113,7 +113,7 @@ _mesa_insert_mvp_dp4_code(struct gl_context *ctx, struct gl_program *vprog)
 
 
 static void
-_mesa_insert_mvp_mad_code(struct gl_context *ctx, struct gl_program *vprog)
+insert_mvp_mad_code(struct gl_context *ctx, struct gl_program *vprog)
 {
    struct prog_instruction *newInst;
    const GLuint origLen = vprog->arb.NumInstructions;
@@ -217,9 +217,9 @@ void
 _mesa_insert_mvp_code(struct gl_context *ctx, struct gl_program *vprog)
 {
    if (ctx->Const.ShaderCompilerOptions[MESA_SHADER_VERTEX].OptimizeForAOS)
-      _mesa_insert_mvp_dp4_code( ctx, vprog );
+      insert_mvp_dp4_code( ctx, vprog );
    else
-      _mesa_insert_mvp_mad_code( ctx, vprog );
+      insert_mvp_mad_code( ctx, vprog );
 }
       
 




More information about the mesa-commit mailing list