i965: Fix incorrect bounds tracking for blit readpixels's GPU access.
authorEric Anholt <eric@anholt.net>
Mon, 23 Dec 2013 09:56:26 +0000 (01:56 -0800)
committerEric Anholt <eric@anholt.net>
Thu, 9 Jan 2014 07:30:32 +0000 (15:30 +0800)
commita4b222ac135c28a3bc95cc0d9fd29378540c8def
treeac704faffddb62b724e5f3d2d471a366625a33b6
parent66524daf175950bd7266fc3cbb4125c24984a482
i965: Fix incorrect bounds tracking for blit readpixels's GPU access.

While incorrect, it probably wouldn't affect anyone ever: You'd have to do
an appropriately-formatted readpixels into a PBO, then overwrite the tail
end of the updated area of the PBO with glBufferSubData(), and you
wouldn't get appropriate synchronization.

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