intel: Rebuild PBO blit glReadPixels() on top of miptrees.
authorEric Anholt <eric@anholt.net>
Fri, 24 May 2013 18:10:37 +0000 (11:10 -0700)
committerEric Anholt <eric@anholt.net>
Tue, 28 May 2013 20:06:57 +0000 (13:06 -0700)
commit3c3e83014b185791a99a0a2b793ecda7576aa4d1
tree47f9e24a2724ec84fe4923d0675a34fe34ebfa6b
parent8c3392e274f59446f89682b33a2b4af60243ea0b
intel: Rebuild PBO blit glReadPixels() on top of miptrees.

The previous code was missing depth resolves, that had only been prevented
due to no blitting of Y tiling.  The pair of flip args in the new blit
function means that we can just drop the pack->Invert fallback.

Reviewed-and-tested-by: Ian Romanick <ian.d.romanick@intel.com>
Acked-by: Paul Berry <stereotype441@gmail.com>
src/mesa/drivers/dri/intel/intel_pixel_read.c