linker: Add a last_field parameter to various program_resource_visitor methods
authorIan Romanick <ian.d.romanick@intel.com>
Wed, 16 Jul 2014 22:37:10 +0000 (15:37 -0700)
committerIan Romanick <ian.d.romanick@intel.com>
Mon, 4 Aug 2014 21:40:06 +0000 (14:40 -0700)
commit47c6fc5b04774737404b55b01cbab5c3baf1c183
tree35fb28a683f79f0d476e0fa04f9a3a95cfbf95eb
parent46356c46ea9c09cc2eb8dfe753d3b066e698003b
linker: Add a last_field parameter to various program_resource_visitor methods

I also considered renaming visit_field(const glsl_struct_field *) to
entry_record and adding an exit_record method.  This would be more
similar to the hierarchical visitor.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Matt Turner <mattst88@gmail.com>
src/glsl/link_uniform_blocks.cpp
src/glsl/link_uniforms.cpp
src/glsl/linker.h