glsl: Modify interface to link_invalidate_variable_locations
authorIan Romanick <ian.d.romanick@intel.com>
Tue, 22 Oct 2013 22:07:00 +0000 (15:07 -0700)
committerIan Romanick <ian.d.romanick@intel.com>
Tue, 22 Oct 2013 22:23:30 +0000 (15:23 -0700)
commitcf8b14ce6dc8e6c741005fa76cfda046e1618ea4
tree2cd3f5994808fce6d7131a21e19627284d1a2978
parentaf229c94e357fb4747f108603382168e49b6fd02
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>
src/glsl/linker.cpp
src/glsl/linker.h