glsl: Rename uniform_field_visitor to program_resource_visitor.
authorPaul Berry <stereotype441@gmail.com>
Mon, 28 Jan 2013 22:43:03 +0000 (14:43 -0800)
committerPaul Berry <stereotype441@gmail.com>
Mon, 4 Feb 2013 18:36:40 +0000 (10:36 -0800)
commitb4db34cc4c047427a21efb9bde03d7e125f70e55
treed93762b857d4bea407731e613935f386aae7c825
parentb92900d26a54ef997f2920d6a7371bb7c9caabf8
glsl: Rename uniform_field_visitor to program_resource_visitor.

There's actually nothing uniform-specific in uniform_field_visitor.
It is potentially useful for all kinds of program resources (in
particular, future patches will use it for transform feedback
varyings).

This patch renames it to program_resource_visitor, and clarifies
several comments, to reflect the fact that it is useful for more than
just uniforms.

NOTE: This is a candidate for the 9.1 branch.

Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Matt Turner <mattst88@gmail.com>
src/glsl/link_uniform_blocks.cpp
src/glsl/link_uniforms.cpp
src/glsl/linker.h
src/mesa/program/ir_to_mesa.cpp