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 <ian.d.romanick@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Acked-by: Paul Berry <stereotype441@gmail.com>
This commit is contained in:
parent
48a22340cf
commit
7638f5578e
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue