i965/vs: Rename "sampler" to "texunit" in texturing code.
authorKenneth Graunke <kenneth@whitecape.org>
Tue, 21 Aug 2012 19:16:46 +0000 (12:16 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Sat, 25 Aug 2012 19:01:09 +0000 (12:01 -0700)
commit96a22f35830859c938901ecbb4817aa8e1a9dff9
tree6af8a3b38d106069aef9d06486d90c870e8dbd44
parent0ad2dce24aa0475e607e3c58b8aa50057412c6ef
i965/vs: Rename "sampler" to "texunit" in texturing code.

The number we're passing around is actually the ID of the texture unit,
as opposed to the numerical value our of sampler uniforms.  Calling it
"texunit" clarifies this slightly.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Paul Berry <stereotype441@gmail.com>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
src/mesa/drivers/dri/i965/brw_vec4_visitor.cpp