i965/miptree: Use miptree_map in map_blit functions
authorNanley Chery <nanley.g.chery@intel.com>
Fri, 17 Aug 2018 22:03:14 +0000 (15:03 -0700)
committerNanley Chery <nanley.g.chery@intel.com>
Wed, 22 Aug 2018 20:23:17 +0000 (13:23 -0700)
commit030b6efcfdeff5cc079d5b6d8e682e180570ce71
treedcc266647b1b8f75bd3d24c5ba3a5ec7f27f402f
parentf8cfc7766016d0ff7d52953e7a992b1e77c521d0
i965/miptree: Use miptree_map in map_blit functions

This struct contains all the data of interest. can_blit_slice() will use
it in the next patch to calculate the correct pitch.

Suggested-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: <mesa-stable@lists.freedesktop.org>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
src/mesa/drivers/dri/i965/intel_mipmap_tree.c