i915g: enable X-tiling for s3tc textures
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Sat, 30 Apr 2011 18:40:42 +0000 (20:40 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Sat, 30 Apr 2011 18:42:34 +0000 (20:42 +0200)
Tested-by: Christopher Egert <cme3000@gmail.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
src/gallium/drivers/i915/i915_resource_texture.c

index 7816925d2306bdda8bae86804a0cd21f8033fb05..e05b059706dafb3f9464a333cb59296a0a69595d 100644 (file)
@@ -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;