i965: Fix handling of MESA_pack_invert in blit (PBO) readpixels.
authorEric Anholt <eric@anholt.net>
Mon, 23 Dec 2013 20:11:25 +0000 (12:11 -0800)
committerEric Anholt <eric@anholt.net>
Thu, 9 Jan 2014 07:30:33 +0000 (15:30 +0800)
commite186b927b8254ce62e0d47db90d16cd4253b3db5
tree7bbd481e0bb04f0c7a44f9e435827500124c147f
parenta4b222ac135c28a3bc95cc0d9fd29378540c8def
i965: Fix handling of MESA_pack_invert in blit (PBO) readpixels.

Fixes piglit GL_MESA_pack_invert/readpixels and GPU hangs with glamor and
cairo-gl.

Cc: 10.0 9.2 <mesa-stable@lists.freedesktop.org>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Anuj Phogat <anuj.phogat@gmail.com>
src/mesa/drivers/dri/i965/intel_pixel_read.c