From: Daniel Vetter Date: Sat, 30 Apr 2011 18:40:42 +0000 (+0200) Subject: i915g: enable X-tiling for s3tc textures X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=899b786b193ec4ee3eadd7c9c33c610cc115a3fe;p=mesa.git i915g: enable X-tiling for s3tc textures Tested-by: Christopher Egert Signed-off-by: Daniel Vetter --- 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;