i965/fs: make rescale_texcoord() not use ir_texture.
authorConnor Abbott <connor.abbott@intel.com>
Fri, 1 Aug 2014 22:03:03 +0000 (15:03 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Thu, 16 Oct 2014 00:04:56 +0000 (17:04 -0700)
commita8905e8c0908e5ed3f86fa0a8bebeb0cee7ba619
tree5b80525037097bc0e0d39131230ee44beddd23a9
parente599837fedf23ffb48a2ccee0a55e1c11140be4f
i965/fs: make rescale_texcoord() not use ir_texture.

Our new IR won't have ir_texture objects, but using glsl_type is fine.

v2 (Ken): Drop redundant ir->coordinate NULL check; rebase.

Signed-off-by: Connor Abbott <connor.abbott@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Chris Forbes <chrisf@ijw.co.nz>
src/mesa/drivers/dri/i965/brw_fs.h
src/mesa/drivers/dri/i965/brw_fs_fp.cpp
src/mesa/drivers/dri/i965/brw_fs_visitor.cpp