OSDN Git Service

i965: Consistently do depth resolves before blitting.
authorEric Anholt <eric@anholt.net>
Thu, 23 May 2013 20:36:26 +0000 (13:36 -0700)
committerEric Anholt <eric@anholt.net>
Tue, 28 May 2013 19:40:30 +0000 (12:40 -0700)
commit9720d436d1b6a0f64d023daf243e56a6d5dee5df
treecfcaa1f04c2b0fc754feb6639ba936970012f228
parent6a7c27786c72f3fffc4a9cb8568fd5c6bcee2f5f
i965: Consistently do depth resolves before blitting.

We were protected for a long time by the fact that depth was Y tiled and
you couldn't blit Y.  Now that we can blit Y, we were failing to resolve
depth in glCopyPixels().

Note in the comment about swrast, that the swrast map path does resolves
appropriately already.

Reviewed-and-tested-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Acked-by: Paul Berry <stereotype441@gmail.com>
src/mesa/drivers/dri/intel/intel_blit.c
src/mesa/drivers/dri/intel/intel_mipmap_tree.c