i915g: enable x-tiling for render targets
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Sun, 28 Nov 2010 20:37:03 +0000 (21:37 +0100)
committerJakob Bornecrantz <wallbraker@gmail.com>
Thu, 2 Dec 2010 00:34:13 +0000 (01:34 +0100)
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Reviewed-by: Jakob Bornecrantz <wallbraker@gmail.com>
Signed-off-by: Jakob Bornecrantz <wallbraker@gmail.com>
src/gallium/drivers/i915/i915_resource_texture.c

index 3a0fc7fdef792df3e8985fa98782f9f0939bf715..9cb06ca97158e7800b492d481907c9855517bcb8 100644 (file)
@@ -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;
 }