From 899b786b193ec4ee3eadd7c9c33c610cc115a3fe Mon Sep 17 00:00:00 2001 From: Daniel Vetter Date: Sat, 30 Apr 2011 20:40:42 +0200 Subject: [PATCH] i915g: enable X-tiling for s3tc textures Tested-by: Christopher Egert Signed-off-by: Daniel Vetter --- src/gallium/drivers/i915/i915_resource_texture.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/gallium/drivers/i915/i915_resource_texture.c b/src/gallium/drivers/i915/i915_resource_texture.c index 7816925d230..e05b059706d 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; -- 2.30.2