summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2013-04-08 19:27:37 -0700
committerKenneth Graunke <[email protected]>2013-04-08 16:15:07 -0700
commit40e30c1ca1d537c286f6c88fc494846464aa3a8b (patch)
tree5dd0e0a27cd8ab3a1f22ecd0770a425e7811e436 /src/mesa/drivers/dri
parentf709198b10821e6fb4d1facff651e70850946bcb (diff)
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 <[email protected]> Reviewed-by: Matt Turner <[email protected]> Reviewed-by: Eric Anholt <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri')
-rw-r--r--src/mesa/drivers/dri/intel/intel_mipmap_tree.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/intel/intel_mipmap_tree.c b/src/mesa/drivers/dri/intel/intel_mipmap_tree.c
index 3798c152ac2..859bcd6d831 100644
--- a/src/mesa/drivers/dri/intel/intel_mipmap_tree.c
+++ b/src/mesa/drivers/dri/intel/intel_mipmap_tree.c
@@ -316,7 +316,7 @@ intel_miptree_choose_tiling(struct intel_context *intel,
return I915_TILING_NONE;
}
- if (!intel->use_texture_tiling || _mesa_is_format_compressed(format))
+ if (!intel->use_texture_tiling)
return I915_TILING_NONE;
if (force_y_tiling)