i965: Be a bit more conservative about certain resolves
authorJason Ekstrand <jason.ekstrand@intel.com>
Wed, 31 May 2017 17:06:31 +0000 (10:06 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Thu, 8 Jun 2017 05:18:53 +0000 (22:18 -0700)
commit0607ca42da5fdb79b64445e34c642925e94354de
tree8c187dcda2f4c9eea0729ac08888a6417911f99c
parent3b65f9499c36d7b4ce7e4661299c23bc9d3816e6
i965: Be a bit more conservative about certain resolves

There are several places where we were resolving the entire miptree
when we really only needed to resolve a single slice.  Let's avoid the
unneeded resolving.

Reviewed-by: Topi Pohjolainen <topi.pohjolainen@intel.com>
Reviewed-by: Chad Versace <chadversary@chromium.org>
src/mesa/drivers/dri/i965/intel_pixel_bitmap.c
src/mesa/drivers/dri/i965/intel_pixel_read.c
src/mesa/drivers/dri/i965/intel_tex_image.c
src/mesa/drivers/dri/i965/intel_tex_subimage.c