From 1a47a25d2cc7789b95e88c1d46b29f98fd728004 Mon Sep 17 00:00:00 2001 From: Daniel Vetter Date: Sun, 28 Nov 2010 21:37:03 +0100 Subject: i915g: enable x-tiling for render targets Signed-off-by: Daniel Vetter Reviewed-by: Jakob Bornecrantz Signed-off-by: Jakob Bornecrantz --- src/gallium/drivers/i915/i915_resource_texture.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src/gallium/drivers') diff --git a/src/gallium/drivers/i915/i915_resource_texture.c b/src/gallium/drivers/i915/i915_resource_texture.c index 3a0fc7fdef..9cb06ca971 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; } -- cgit v1.2.3