i965: Fix intel_bufferobj_buffer range for blit drawpixels.
authorEric Anholt <eric@anholt.net>
Fri, 25 Apr 2014 22:14:47 +0000 (15:14 -0700)
committerEric Anholt <eric@anholt.net>
Thu, 1 May 2014 22:12:27 +0000 (15:12 -0700)
commitb49982de6a52fdb7d0360d608badb103d15c04f1
tree57bbb70b949ed3caae1391d8b71f6bd13c437a30
parente16c5c906316c58c0633e9bba02339ef981e5ef3
i965: Fix intel_bufferobj_buffer range for blit drawpixels.

If the stride wasn't width*cpp, we wouldn't track how much of the src is
busy, and allow a subdata into the end to proceed unsynchronized.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
src/mesa/drivers/dri/i965/intel_pixel_draw.c