i965/fs: don't use ir->offset in emit_texture_gen5.
authorConnor Abbott <connor.abbott@intel.com>
Fri, 1 Aug 2014 21:13:31 +0000 (14:13 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Thu, 16 Oct 2014 00:04:47 +0000 (17:04 -0700)
commita71455bc992975d11660871b9e46cc88edf16e2e
tree65cc724da8f39e3ae306cecc621f9b759bbba2ed
parent1f76fcf231cf7c8c19586e93ba8e4d800ad3be72
i965/fs: don't use ir->offset in emit_texture_gen5.

v2 (Ken): Refactor the Gen7 code separately; rebase.

Signed-off-by: Connor Abbott <connor.abbott@intel.com>
Signed-off-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