diff options
author | Ian Romanick <ian.d.romanick@intel.com> | 2013-10-22 15:07:00 -0700 |
---|---|---|
committer | Ian Romanick <ian.d.romanick@intel.com> | 2013-10-22 15:23:30 -0700 |
commit | cf8b14ce6dc8e6c741005fa76cfda046e1618ea4 (patch) | |
tree | 2cd3f5994808fce6d7131a21e19627284d1a2978 /src/glsl/linker.h | |
parent | af229c94e357fb4747f108603382168e49b6fd02 (diff) | |
download | external_mesa3d-cf8b14ce6dc8e6c741005fa76cfda046e1618ea4.zip external_mesa3d-cf8b14ce6dc8e6c741005fa76cfda046e1618ea4.tar.gz external_mesa3d-cf8b14ce6dc8e6c741005fa76cfda046e1618ea4.tar.bz2 |
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 <ian.d.romanick@intel.com>
Reviewed-by: Paul Berry <stereotype441@gmail.com>
Diffstat (limited to 'src/glsl/linker.h')
-rw-r--r-- | src/glsl/linker.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/glsl/linker.h b/src/glsl/linker.h index 8a0027d..9915c38 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); |