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/link_varyings.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/link_varyings.cpp')
-rw-r--r-- | src/compiler/glsl/link_varyings.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/compiler/glsl/link_varyings.cpp b/src/compiler/glsl/link_varyings.cpp index de3754c423a..764d9af1c19 100644 --- a/src/compiler/glsl/link_varyings.cpp +++ b/src/compiler/glsl/link_varyings.cpp @@ -1893,7 +1893,7 @@ private: namespace linker { -void +static void populate_consumer_input_sets(void *mem_ctx, exec_list *ir, hash_table *consumer_inputs, hash_table *consumer_interface_inputs, @@ -1951,7 +1951,7 @@ populate_consumer_input_sets(void *mem_ctx, exec_list *ir, * This function only finds inputs with names that match. There is no * validation (here) that the types, etc. are compatible. */ -ir_variable * +static ir_variable * get_matching_input(void *mem_ctx, const ir_variable *output_var, hash_table *consumer_inputs, @@ -2349,7 +2349,7 @@ assign_varying_locations(struct gl_context *ctx, return true; } -bool +static bool check_against_output_limit(struct gl_context *ctx, struct gl_shader_program *prog, gl_linked_shader *producer, @@ -2393,7 +2393,7 @@ check_against_output_limit(struct gl_context *ctx, return true; } -bool +static bool check_against_input_limit(struct gl_context *ctx, struct gl_shader_program *prog, gl_linked_shader *consumer, |