glsl: Add new uniform_field_visitor::process variant
authorIan Romanick <ian.d.romanick@intel.com>
Tue, 22 Jan 2013 04:42:19 +0000 (23:42 -0500)
committerIan Romanick <ian.d.romanick@intel.com>
Fri, 25 Jan 2013 14:07:35 +0000 (09:07 -0500)
commit99b8935ce2d63902bdb3e5a76154240f0e011b80
tree7cb85be241d58a9b09495bf6fdb88b8a7d6acfba
parent007de494d2cd110786075f8aa014d8a0547d2063
glsl: Add new uniform_field_visitor::process variant

This flavor takes a type and a base name.  It will be used to handle
cases where the block name (instead of the instance name) is used for an
interface block.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Carl Worth <cworth@cworth.org>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/glsl/link_uniforms.cpp
src/glsl/linker.h