i965/miptree: Use intel_miptree_copy for maps
authorJason Ekstrand <jason.ekstrand@intel.com>
Tue, 6 Dec 2016 20:03:28 +0000 (12:03 -0800)
committerJason Ekstrand <jason.ekstrand@intel.com>
Tue, 13 Dec 2016 23:48:34 +0000 (15:48 -0800)
commitb18cd8ce2c07c2d1a666fbff1f0d92d17dd5b22c
tree973ee4d623ffcb1daa745739619af55e0da345b3
parent157971e450c34ec430c295ff922c2e597294aba3
i965/miptree: Use intel_miptree_copy for maps

What we're really doing is copying a texture not blitting it in the sense
of glBlitFramebuffers.  Also, the intel_miptree_copy function is capable of
properly handling compressed textures which intel_miptree_blit is not.

Reviewed-by: Topi Pohjolainen <topi.pohjolainen@intel.com>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=97473
Cc: "13.0" <mesa-stable@lists.freedesktop.org>
src/mesa/drivers/dri/i965/intel_mipmap_tree.c