i965: Don't call the blitter on addresses it can't handle.
authorEric Anholt <eric@anholt.net>
Mon, 23 Dec 2013 23:30:03 +0000 (15:30 -0800)
committerEric Anholt <eric@anholt.net>
Thu, 9 Jan 2014 07:23:00 +0000 (15:23 +0800)
commitbdc5241af4aa9afbd66f6c96ee6d20e09f77ea89
tree6f49bf2be8113e126b700b60da0a6f3023ffefd9
parente8ff08edd823ddf6b0e07ef84d2ba8afc3abbc34
i965: Don't call the blitter on addresses it can't handle.

Noticed by tex3d-maxsize on my next commit to check that our addresses
don't overflow.

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_blit.c
src/mesa/drivers/dri/i965/intel_mipmap_tree.c