diff options
author | Matt Turner <[email protected]> | 2017-07-09 14:12:31 -0700 |
---|---|---|
committer | Matt Turner <[email protected]> | 2017-08-21 14:45:44 -0700 |
commit | ca73c3358c91434e68ab31c23d13986d87c661cd (patch) | |
tree | e3fe5a12f3be5dfaceb699418c1822d495a2d4c8 /src/compiler/glsl/standalone.cpp | |
parent | d37d9f84ac563f106b7209a319492babad560b9f (diff) |
glsl: Mark functions static
Cuts 3224 bytes of .text
Reviewed-by: Jordan Justen <[email protected]>
Diffstat (limited to 'src/compiler/glsl/standalone.cpp')
-rw-r--r-- | src/compiler/glsl/standalone.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/compiler/glsl/standalone.cpp b/src/compiler/glsl/standalone.cpp index 8e5bc352fc6..7e5c06d2054 100644 --- a/src/compiler/glsl/standalone.cpp +++ b/src/compiler/glsl/standalone.cpp @@ -100,7 +100,7 @@ private: set *variables; }; -void +static void init_gl_program(struct gl_program *prog, GLenum target, bool is_arb_asm) { prog->RefCount = 1; @@ -108,7 +108,7 @@ init_gl_program(struct gl_program *prog, GLenum target, bool is_arb_asm) prog->is_arb_asm = is_arb_asm; } -struct gl_program * +static struct gl_program * new_program(struct gl_context *ctx, GLenum target, GLuint id, bool is_arb_asm) { switch (target) { @@ -374,7 +374,7 @@ load_text_file(void *ctx, const char *file_name) return text; } -void +static void compile_shader(struct gl_context *ctx, struct gl_shader *shader) { struct _mesa_glsl_parse_state *state = |