summaryrefslogtreecommitdiffstats
path: root/src/glsl/link_varyings.h
diff options
context:
space:
mode:
authorChris Forbes <[email protected]>2014-09-07 18:19:15 +1200
committerMarek Olšák <[email protected]>2015-07-23 00:59:28 +0200
commit0e94f350eeecd84cd5f15b10837b285bc9120684 (patch)
treeab4e8964a0fa667eaa51e3dcb1b1ef2e80b8028d /src/glsl/link_varyings.h
parent567f1b2ee89bf05f0600e9e79847140555f0a035 (diff)
glsl: push vertex count determination down one level
We have the prog here, so we don't need the caller to work this out for us. Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/glsl/link_varyings.h')
-rw-r--r--src/glsl/link_varyings.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/glsl/link_varyings.h b/src/glsl/link_varyings.h
index c0ad53bf1da..2ce72d43d84 100644
--- a/src/glsl/link_varyings.h
+++ b/src/glsl/link_varyings.h
@@ -255,8 +255,7 @@ assign_varying_locations(struct gl_context *ctx,
struct gl_shader_program *prog,
gl_shader *producer, gl_shader *consumer,
unsigned num_tfeedback_decls,
- tfeedback_decl *tfeedback_decls,
- unsigned gs_input_vertices);
+ tfeedback_decl *tfeedback_decls);
bool
check_against_output_limit(struct gl_context *ctx,