diff options
author | Daniel Vetter <[email protected]> | 2010-11-28 21:37:03 +0100 |
---|---|---|
committer | Jakob Bornecrantz <[email protected]> | 2010-12-02 01:34:13 +0100 |
commit | 1a47a25d2cc7789b95e88c1d46b29f98fd728004 (patch) | |
tree | 0a8ec17f20254c381388c4fdcb62fc6dba52a56b /src | |
parent | 8af684e37e7bacfc40aa9cd5f30ca1f692d0c62c (diff) |
i915g: enable x-tiling for render targets
Signed-off-by: Daniel Vetter <[email protected]>
Reviewed-by: Jakob Bornecrantz <[email protected]>
Signed-off-by: Jakob Bornecrantz <[email protected]>
Diffstat (limited to 'src')
-rw-r--r-- | src/gallium/drivers/i915/i915_resource_texture.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/gallium/drivers/i915/i915_resource_texture.c b/src/gallium/drivers/i915/i915_resource_texture.c index 3a0fc7fdef7..9cb06ca9715 100644 --- a/src/gallium/drivers/i915/i915_resource_texture.c +++ b/src/gallium/drivers/i915/i915_resource_texture.c @@ -167,10 +167,6 @@ i915_texture_tiling(struct pipe_resource *pt) /* XXX X-tiling might make sense */ return I915_TILE_NONE; - if ((pt->bind & PIPE_BIND_RENDER_TARGET)) - /* XXX We can't render properly into mipmap'ed textures */ - return I915_TILE_NONE; - return I915_TILE_X; } |