i965: Disallow fast blit paths for CopyTexImage with PixelTransfer ops
authorChris Wilson <chris@chris-wilson.co.uk>
Sat, 5 Sep 2015 18:19:33 +0000 (19:19 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Mon, 7 Sep 2015 19:50:07 +0000 (20:50 +0100)
commitbe519c2d50f4aaa48fdb8b27707114cc5bfd348f
tree5271faef8143768d2958cdfc1571baac34c4f559
parenta1575b55c2384faa461e7802371c5ddd37e5befe
i965: Disallow fast blit paths for CopyTexImage with PixelTransfer ops

glCopyTexImage behaves similarly to glReadPixels with respect to the
pixel transfer operations. Therefore if any are set we cannot use the
simple blit-only fast paths.

(Though if would be possible to relax the blorp path to handle
pixel zoom, or we can just enhance meta.)

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Jason Ekstrand <jason.ekstrand@intel.com>
Cc: Kenneth Graunke <kenneth@whitecape.org>
Reviwewed-by: Iago Toral <itoral@igalia.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Cc: mesa-stable@lists.freedesktop.org
src/mesa/drivers/dri/i965/brw_blorp_blit.cpp
src/mesa/drivers/dri/i965/intel_tex_copy.c