linker: Remove unnecessary overload of program_resource_visitor::visit_field
authorIan Romanick <ian.d.romanick@intel.com>
Wed, 9 Nov 2016 20:45:39 +0000 (12:45 -0800)
committerIan Romanick <ian.d.romanick@intel.com>
Thu, 10 Nov 2016 18:57:46 +0000 (10:57 -0800)
commitcbba5e13acc2052349f7e2d304e6dddf31fb199a
tree194af81158d1894db75156e6b9116c4551827d18
parentb359f62456211c2162109064cb504ad7de2ee799
linker: Remove unnecessary overload of program_resource_visitor::visit_field

It looks like I added this version as a short-hand for users that didn't
need the fuller version.  I don't think there's any real utility in
that.  I'm not sure what my thinking was there.  Maybe if those users
overloaded the recursion function could just call the compact version to
avoid passing some parameters?  None of the users do that.

Either way, having this extra overload is not useful.  Delete it.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
src/compiler/glsl/link_uniform_blocks.cpp
src/compiler/glsl/link_uniforms.cpp
src/compiler/glsl/link_varyings.cpp
src/compiler/glsl/linker.h
src/mesa/program/ir_to_mesa.cpp