intel: Allow blit readpixels even when the pack alignment is set.
authorEric Anholt <eric@anholt.net>
Thu, 7 Feb 2013 01:03:49 +0000 (17:03 -0800)
committerEric Anholt <eric@anholt.net>
Thu, 14 Feb 2013 02:10:20 +0000 (18:10 -0800)
commitb8906adb66294e629aba58668a1851ac3fdaa391
tree21651ebba692cbb6e0d51ee60e9ee4b099d8b2b5
parent516d8be502885f5aadcc43aafe764e617f2593f4
intel: Allow blit readpixels even when the pack alignment is set.

The default alignment is 4, so this fast path was rarely hit.  Rather
than introduce logic to handle alignment, just use the Mesa core
function.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=46632
Cc: neil@linux.intel.com
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/intel/intel_pixel_read.c