i965/fs: Rename offset to tex_offset to avoid shadowing offset().
authorKenneth Graunke <kenneth@whitecape.org>
Wed, 25 Mar 2015 20:12:20 +0000 (13:12 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Wed, 25 Mar 2015 23:17:19 +0000 (16:17 -0700)
commit0a9bcf9e39409ea5acfdfbcf0c388e41e0f9ea45
treec17e14182bcd3937783d0da3181520197152ce38
parent3120345f407695e9fef96e4fa98f7ff3af8c38ce
i965/fs: Rename offset to tex_offset to avoid shadowing offset().

fs_visitor::nir_emit_texture() created an fs_reg variable called offset,
which shadowed the offset() helper function in brw_ir_fs.h.

Rename the variable to tex_offset so we can still call offset().

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
src/mesa/drivers/dri/i965/brw_fs_nir.cpp