i965: Fix the region's pitch condition to use blitter
authorAnuj Phogat <anuj.phogat@gmail.com>
Wed, 8 Jan 2014 01:46:45 +0000 (17:46 -0800)
committerAnuj Phogat <anuj.phogat@gmail.com>
Wed, 26 Feb 2014 21:43:00 +0000 (13:43 -0800)
commitb3094d9927fe7aa5a84892262404aaad4d728724
tree6476968571a46fbf8824bad3bbf58116e34e2a9a
parent863a1f7757a98f61b58d4a1c6ee5e8ed34f51b9b
i965: Fix the region's pitch condition to use blitter

intelEmitCopyBlit uses a signed 16-bit integer to represent
buffer pitch, so it can only handle buffer pitches < 32k.

Cc: mesa-stable@lists.freedesktop.org
Signed-off-by: Anuj Phogat <anuj.phogat@gmail.com>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
src/mesa/drivers/dri/i965/intel_blit.c