i965/fs: Rename "sampler" to "texunit" in texturing code.
authorKenneth Graunke <kenneth@whitecape.org>
Tue, 21 Aug 2012 18:41:07 +0000 (11:41 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Sat, 25 Aug 2012 19:01:09 +0000 (12:01 -0700)
commit0ad2dce24aa0475e607e3c58b8aa50057412c6ef
treeba5d3546e8afb72dec5b698047931a86aa010f9d
parentbf0308d8d6fbc842d0120060e65a3fe445f5b2fb
i965/fs: 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.

Don't bother renaming fs_instruction::sampler.  Although it's currently
the texture unit, this series will change that.  No need for the churn.

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_fs_visitor.cpp