diff options
author | Ian Romanick <[email protected]> | 2016-05-17 13:54:09 -0700 |
---|---|---|
committer | Ian Romanick <[email protected]> | 2016-05-18 10:53:34 -0700 |
commit | 75c9aa6670d60b592f58ed1437549959aeccfd6e (patch) | |
tree | 8605f1f2c10d9eb69f68b223409f3ed02fb3a31e /src/compiler/glsl/linker.cpp | |
parent | f687b8e1785df0825443f07778e5d0ddf6f9be09 (diff) |
glsl/linker: Silence unused parameter warning
The parameter appears to have been unused since the function was added
in commit 12ba6cfb. Remove it.
glsl/linker.cpp:2886:60: warning: unused parameter ‘prog’ [-Wunused-parameter]
match_explicit_outputs_to_inputs(struct gl_shader_program *prog,
^
Signed-off-by: Ian Romanick <[email protected]>
Reviewed-by: Timothy Arceri <[email protected]>
Diffstat (limited to 'src/compiler/glsl/linker.cpp')
-rw-r--r-- | src/compiler/glsl/linker.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/compiler/glsl/linker.cpp b/src/compiler/glsl/linker.cpp index 70c6317ca6a..586e2b20d54 100644 --- a/src/compiler/glsl/linker.cpp +++ b/src/compiler/glsl/linker.cpp @@ -2883,8 +2883,7 @@ assign_attribute_or_color_locations(gl_shader_program *prog, * unmatch flag if found so we don't optimise them away. */ static void -match_explicit_outputs_to_inputs(struct gl_shader_program *prog, - gl_shader *producer, +match_explicit_outputs_to_inputs(gl_shader *producer, gl_shader *consumer) { glsl_symbol_table parameters; @@ -4679,7 +4678,7 @@ link_shaders(struct gl_context *ctx, struct gl_shader_program *prog) if (prog->_LinkedShaders[i] == NULL) continue; - match_explicit_outputs_to_inputs(prog, prog->_LinkedShaders[prev], + match_explicit_outputs_to_inputs(prog->_LinkedShaders[prev], prog->_LinkedShaders[i]); prev = i; } |