From 7638f5578e3fdf37d3b55ca78508b002040b3468 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Thu, 23 May 2013 13:40:26 -0700 Subject: [PATCH] i965: Allow glCopyTexSubImage() on depth textures. If the hw is pre-gen5 and can't blit depth, it'll cleanly error out. Reviewed-and-tested-by: Ian Romanick Reviewed-by: Kenneth Graunke Acked-by: Paul Berry --- src/mesa/drivers/dri/intel/intel_tex_copy.c | 5 ----- 1 file changed, 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 7a3808211aa..94e90da5eaa 100644 --- a/src/mesa/drivers/dri/intel/intel_tex_copy.c +++ b/src/mesa/drivers/dri/intel/intel_tex_copy.c @@ -96,11 +96,6 @@ intel_copy_texsubimage(struct intel_context *intel, return false; } - /* The blitter can't handle Y-tiled buffers. */ - if (intelImage->mt->region->tiling == I915_TILING_Y) { - return false; - } - /* blit from src buffer to texture */ if (!intel_miptree_blit(intel, irb->mt, irb->mt_level, irb->mt_layer, -- 2.30.2