Mesa (master): i915g: enable x-tiling for render targets

Jakob Bornecrantz wallbraker at kemper.freedesktop.org
Thu Dec 2 00:36:27 UTC 2010


Module: Mesa
Branch: master
Commit: 1a47a25d2cc7789b95e88c1d46b29f98fd728004
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=1a47a25d2cc7789b95e88c1d46b29f98fd728004

Author: Daniel Vetter <daniel.vetter at ffwll.ch>
Date:   Sun Nov 28 21:37:03 2010 +0100

i915g: enable x-tiling for render targets

Signed-off-by: Daniel Vetter <daniel.vetter at ffwll.ch>
Reviewed-by: Jakob Bornecrantz <wallbraker at gmail.com>
Signed-off-by: Jakob Bornecrantz <wallbraker at gmail.com>

---

 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 3a0fc7f..9cb06ca 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;
 }
 




More information about the mesa-commit mailing list