i965/miptree: Use make_surface in map_blit
authorNanley Chery <nanley.g.chery@intel.com>
Sat, 9 Jun 2018 23:45:02 +0000 (16:45 -0700)
committerNanley Chery <nanley.g.chery@intel.com>
Fri, 13 Jul 2018 15:31:21 +0000 (08:31 -0700)
commit684fa59eb6bf02c267770365e267dc7f14083658
tree336a8bc2533bfe448e0286d7c3be9952f7e3c61c
parent63d428dc17eaf7cd574abd76d2e351ef2713799a
i965/miptree: Use make_surface in map_blit

Do this so that we don't have to special case linearly-tiled depth
buffers in miptree_create.

Reviewed-by: Topi Pohjolainen <topi.pohjolainen@intel.com>
src/mesa/drivers/dri/i965/intel_mipmap_tree.c