i965/tiled_memcpy: change linear pointer from (0, 0) to (xt1, yt1)
authorScott D Phillips <scott.d.phillips@intel.com>
Wed, 10 Jan 2018 07:16:58 +0000 (23:16 -0800)
committerScott D Phillips <scott.d.phillips@intel.com>
Wed, 14 Feb 2018 20:38:34 +0000 (12:38 -0800)
commitd13ab69a78acd8ab538758c0f4cdd702d2c98939
tree238242423fa529c85240f90531be7c89c22ce7e2
parentecaad89525338ae637bd03004da78b9d937fb05b
i965/tiled_memcpy: change linear pointer from (0, 0) to (xt1, yt1)

In all current uses, the linear surface is only allocated starting
at (xt1, yt1) anyway, so this improves the calling ergonomics.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/intel_pixel_read.c
src/mesa/drivers/dri/i965/intel_tex_image.c
src/mesa/drivers/dri/i965/intel_tiled_memcpy.c