Re: [Mesa-dev] [PATCH 07/17] i965: Allow glCopyTexSubImage() on depth textures.

2013-05-28 Thread Chad Versace
On 05/24/2013 01:56 PM, Eric Anholt wrote: If the hw is pre-gen5 and can't blit depth, it'll cleanly error out. Did you mean pre-gen6? If I read the code correctly, it is this snippet in intelEmitCopyBlit that is responsible for cleanly erroring out. if (dst_tiling != I915_TILING_NONE) {

[Mesa-dev] [PATCH 07/17] i965: Allow glCopyTexSubImage() on depth textures.

2013-05-24 Thread Eric Anholt
If the hw is pre-gen5 and can't blit depth, it'll cleanly error out. --- 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 7a38082..94e90da 100644 ---