Mesa (master): i915g: enable X-tiling for s3tc textures
Daniel Vetter
danvet at kemper.freedesktop.org
Sat Apr 30 18:42:27 UTC 2011
Module: Mesa
Branch: master
Commit: 899b786b193ec4ee3eadd7c9c33c610cc115a3fe
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=899b786b193ec4ee3eadd7c9c33c610cc115a3fe
Author: Daniel Vetter <daniel.vetter at ffwll.ch>
Date: Sat Apr 30 20:40:42 2011 +0200
i915g: enable X-tiling for s3tc textures
Tested-by: Christopher Egert <cme3000 at gmail.com>
Signed-off-by: Daniel Vetter <daniel.vetter at ffwll.ch>
---
src/gallium/drivers/i915/i915_resource_texture.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/src/gallium/drivers/i915/i915_resource_texture.c b/src/gallium/drivers/i915/i915_resource_texture.c
index 7816925..e05b059 100644
--- a/src/gallium/drivers/i915/i915_resource_texture.c
+++ b/src/gallium/drivers/i915/i915_resource_texture.c
@@ -181,8 +181,7 @@ i915_texture_tiling(struct i915_screen *is, struct i915_texture *tex)
return I915_TILE_NONE;
if (util_format_is_s3tc(tex->b.b.format))
- /* XXX X-tiling might make sense */
- return I915_TILE_NONE;
+ return I915_TILE_X;
if (is->debug.use_blitter)
return I915_TILE_X;
More information about the mesa-commit
mailing list