i965: Disallow PixelTransfer operations for tiled-memcpy TexImage/ReadPixels
authorChris Wilson <chris@chris-wilson.co.uk>
Fri, 4 Sep 2015 18:02:28 +0000 (19:02 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Fri, 4 Sep 2015 19:11:15 +0000 (20:11 +0100)
commit099f5b3a62be1919add02a4cb887841c9f0f2fe4
tree6da1cef0a68b4a9c9a2ea82aa56c7b4c009d3973
parent96ea1663082c4a17eaf59873190f1e9677623d91
i965: Disallow PixelTransfer operations for tiled-memcpy TexImage/ReadPixels

The tiled memcpy fast paths perform a simple blit (with only a couple of
trivial pixel conversion routines) and do not accommodate PixelTransfer
operations. Therefore if any are set, fallback to the regular routines.
Note that PixelTransfer only applies to TexImage and ReadPixels, not to
GetTexImage.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Jason Ekstrand <jason.ekstrand@intel.com>
Cc: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Jason Ekstrand <jason.ekstrand@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Cc: mesa-stable@lists.freedesktop.org
src/mesa/drivers/dri/i965/intel_pixel_read.c
src/mesa/drivers/dri/i965/intel_tex_subimage.c