diff options
author | Timothy Arceri <[email protected]> | 2016-07-02 13:36:09 +1000 |
---|---|---|
committer | Timothy Arceri <[email protected]> | 2016-07-05 20:18:05 +1000 |
commit | 549b9b12fcc94f33af3968e47392f38f73bf3e7f (patch) | |
tree | c5320224c187e9632b03d580d3362ad23a6a5ab6 | |
parent | 30812e90d178de91e0aa3226d4472304746c710d (diff) |
glsl: mark link_uniform_blocks_are_compatible() as static
Missed this when doing 6d1a59d15b.
Reviewed-by: Samuel Iglesias Gonsálvez <[email protected]>
-rw-r--r-- | src/compiler/glsl/link_uniform_blocks.cpp | 2 | ||||
-rw-r--r-- | src/compiler/glsl/linker.h | 4 |
2 files changed, 1 insertions, 5 deletions
diff --git a/src/compiler/glsl/link_uniform_blocks.cpp b/src/compiler/glsl/link_uniform_blocks.cpp index 1ccd0df9537..5b0dff6aa19 100644 --- a/src/compiler/glsl/link_uniform_blocks.cpp +++ b/src/compiler/glsl/link_uniform_blocks.cpp @@ -469,7 +469,7 @@ link_uniform_blocks(void *mem_ctx, _mesa_hash_table_destroy(block_hash, NULL); } -bool +static bool link_uniform_blocks_are_compatible(const gl_uniform_block *a, const gl_uniform_block *b) { diff --git a/src/compiler/glsl/linker.h b/src/compiler/glsl/linker.h index 0126bcb67c8..e1a53d20db2 100644 --- a/src/compiler/glsl/linker.h +++ b/src/compiler/glsl/linker.h @@ -49,10 +49,6 @@ link_cross_validate_uniform_block(void *mem_ctx, unsigned int *num_linked_blocks, struct gl_uniform_block *new_block); -extern bool -link_uniform_blocks_are_compatible(const gl_uniform_block *a, - const gl_uniform_block *b); - extern void link_uniform_blocks(void *mem_ctx, struct gl_context *ctx, |