diff options
author | Daniel Vetter <[email protected]> | 2011-04-30 20:40:42 +0200 |
---|---|---|
committer | Daniel Vetter <[email protected]> | 2011-04-30 20:42:34 +0200 |
commit | 899b786b193ec4ee3eadd7c9c33c610cc115a3fe (patch) | |
tree | a0398e1ed9250022253a34033df68acf1ced6451 /src | |
parent | d379e938f0ed10f193f2aa6c60e283d7af6360e4 (diff) |
i915g: enable X-tiling for s3tc textures
Tested-by: Christopher Egert <[email protected]>
Signed-off-by: Daniel Vetter <[email protected]>
Diffstat (limited to 'src')
-rw-r--r-- | 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 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; |