i965/tex: Use offset helper instead of accessing table directly
authorTopi Pohjolainen <topi.pohjolainen@intel.com>
Fri, 30 Jun 2017 17:56:01 +0000 (20:56 +0300)
committerTopi Pohjolainen <topi.pohjolainen@intel.com>
Tue, 18 Jul 2017 18:35:03 +0000 (21:35 +0300)
commitb9400b7ecde42bd4a437829f338a3f349338a16b
tree3b7dc294f718e57eb9d356205af2a989b5a4143d
parentee97b78a3e497a1f3b4c71d5fdfccb44da7a1c3a
i965/tex: Use offset helper instead of accessing table directly

Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Signed-off-by: Topi Pohjolainen <topi.pohjolainen@intel.com>
src/mesa/drivers/dri/i965/intel_tex_image.c
src/mesa/drivers/dri/i965/intel_tex_subimage.c