i965: Use tiling even for compressed textures.
authorKenneth Graunke <kenneth@whitecape.org>
Tue, 9 Apr 2013 02:27:37 +0000 (19:27 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Mon, 8 Apr 2013 23:15:07 +0000 (16:15 -0700)
commit40e30c1ca1d537c286f6c88fc494846464aa3a8b
tree5dd0e0a27cd8ab3a1f22ecd0770a425e7811e436
parentf709198b10821e6fb4d1facff651e70850946bcb
i965: Use tiling even for compressed textures.

The code has no rationale for why we would force compressed textures to
be untiled, and it appears to work fine.  Git archeology indicates that
it's been that way dating back to when we first started tiling.

Improves performance in GLB27_TRex_C24Z16_FixedTimeStep at 1280x720 by
10.0529% +/- 0.573075% (n=12).  Improves performance in Xonotic by
4.56409% +/- 0.27965% (n=3).

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