[Mesa-dev] [PATCH 2/3] intel: Remove restriction against Y-tiling in intel_copy_texsubimage.

Kenneth Graunke kenneth at whitecape.org
Wed Jun 29 23:04:03 PDT 2011


intelEmitCopyBlit already checks for this, so the check is redundant and
unnecessary.  This consolidates the logic (which will soon change).

NOTE: This is a candidate for the 7.10 and 7.11 branches.

Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>
---
 src/mesa/drivers/dri/intel/intel_tex_copy.c |    5 -----
 1 files changed, 0 insertions(+), 5 deletions(-)

diff --git a/src/mesa/drivers/dri/intel/intel_tex_copy.c b/src/mesa/drivers/dri/intel/intel_tex_copy.c
index 8b5c3f0..6a297c0 100644
--- a/src/mesa/drivers/dri/intel/intel_tex_copy.c
+++ b/src/mesa/drivers/dri/intel/intel_tex_copy.c
@@ -128,11 +128,6 @@ intel_copy_texsubimage(struct intel_context *intel,
 				     0,
 				     &image_x, &image_y);
 
-      /* The blitter can't handle Y-tiled buffers. */
-      if (intelImage->mt->region->tiling == I915_TILING_Y) {
-	 return GL_FALSE;
-      }
-
       if (ctx->ReadBuffer->Name == 0) {
 	 /* Flip vertical orientation for system framebuffers */
 	 y = ctx->ReadBuffer->Height - (y + height);
-- 
1.7.6



More information about the mesa-dev mailing list