i965: Prefer Y-tiling on Gen6+.
authorKenneth Graunke <kenneth@whitecape.org>
Tue, 9 Apr 2013 02:27:38 +0000 (19:27 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Mon, 8 Apr 2013 23:15:07 +0000 (16:15 -0700)
commit55ecc448b9d05e9f1e5ceb88ab35606e80e3adee
tree7410749cad96eb15825780c7ccb7a9e04c4d31e9
parent40e30c1ca1d537c286f6c88fc494846464aa3a8b
i965: Prefer Y-tiling on Gen6+.

In the past, we preferred X-tiling for color buffers because our BLT
code couldn't handle Y-tiling.  However, the BLT paths have been largely
replaced by BLORP on Gen6+, which can handle any kind of tiling.

We hadn't measured any performance improvement in the past, but that's
probably because compressed textures were all untiled anyway.

Improves performance in GLB27_TRex_C24Z16_FixedTime by 7.69231%.

v2: Rebase on top of Eric's untiled-for-larger-than-aperture changes.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Matt Turner <mattst88@gmail.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
src/mesa/drivers/dri/intel/intel_mipmap_tree.c