aboutsummaryrefslogtreecommitdiffstats
path: root/src/glsl/linker.h
diff options
context:
space:
mode:
authorIan Romanick <[email protected]>2013-10-22 15:07:00 -0700
committerIan Romanick <[email protected]>2013-10-22 15:23:30 -0700
commitcf8b14ce6dc8e6c741005fa76cfda046e1618ea4 (patch)
tree2cd3f5994808fce6d7131a21e19627284d1a2978 /src/glsl/linker.h
parentaf229c94e357fb4747f108603382168e49b6fd02 (diff)
glsl: Modify interface to link_invalidate_variable_locations
This will make it easier to unit test this function in successive patches. Also, correct the prototype in linker.h. It was... wrong. v2: Split the interface change from adding the unit tests. Suggested by Paul. Signed-off-by: Ian Romanick <[email protected]> Reviewed-by: Paul Berry <[email protected]>
Diffstat (limited to 'src/glsl/linker.h')
-rw-r--r--src/glsl/linker.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/glsl/linker.h b/src/glsl/linker.h
index 8a0027d2bca..9915c38b01e 100644
--- a/src/glsl/linker.h
+++ b/src/glsl/linker.h
@@ -31,8 +31,8 @@ link_function_calls(gl_shader_program *prog, gl_shader *main,
gl_shader **shader_list, unsigned num_shaders);
extern void
-link_invalidate_variable_locations(gl_shader *sh, enum ir_variable_mode mode,
- int generic_base);
+link_invalidate_variable_locations(exec_list *ir, int input_base,
+ int output_base);
extern void
link_assign_uniform_locations(struct gl_shader_program *prog);