From 4e93da30f0e5efe4ba7f54a5af2b9e58bd74c98d Mon Sep 17 00:00:00 2001 From: Timothy Arceri Date: Tue, 30 May 2017 10:56:36 +1000 Subject: [PATCH] mesa: remove _mesa from static function names Reviewed-by: Samuel Pitoiset --- 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 501acde..f560bce 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 ); } -- 2.7.4