From: Timothy Arceri Date: Tue, 30 May 2017 00:56:36 +0000 (+1000) Subject: mesa: remove _mesa from static function names X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4e93da30f0e5efe4ba7f54a5af2b9e58bd74c98d;p=mesa.git mesa: remove _mesa from static function names Reviewed-by: Samuel Pitoiset --- diff --git a/src/mesa/program/programopt.c b/src/mesa/program/programopt.c index 501acde0d0d..f560bce62e4 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 ); }