From: Daniel Vetter Date: Sun, 28 Nov 2010 20:37:03 +0000 (+0100) Subject: i915g: enable x-tiling for render targets X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1a47a25d2cc7789b95e88c1d46b29f98fd728004;p=mesa.git i915g: enable x-tiling for render targets Signed-off-by: Daniel Vetter Reviewed-by: Jakob Bornecrantz Signed-off-by: Jakob Bornecrantz --- 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; }