intel: Fix Y tiling support for glCopyTexSubImage's alpha override. 38/7038/1
authorEric Anholt <eric@anholt.net>
Tue, 4 Jun 2013 05:40:26 +0000 (22:40 -0700)
committerEric Anholt <eric@anholt.net>
Mon, 17 Jun 2013 22:43:23 +0000 (15:43 -0700)
commit04a5e940c9842aca3048a7797179d4ea9f782a76
tree14e9747dae663aa222ad18c95ddd427ad0e7b746
parent78c2fc59256d7ff9c7fbd3ce6352b78b9ca37f89
intel: Fix Y tiling support for glCopyTexSubImage's alpha override.

Apparently we don't have any piglit tests for this, because it would have
assertion failed in a debug build, or just rendered wrong in a non-debug
build if the destination wasn't covering whole tiles.

v2: Use the new macros.

Reviewed-by: Paul Berry <stereotype441@gmail.com> (v1)
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> (v1)
src/mesa/drivers/dri/intel/intel_blit.c