intel: Rely on allocated region pitch for the miptree pitch.
authorEric Anholt <eric@anholt.net>
Tue, 16 Mar 2010 23:20:03 +0000 (16:20 -0700)
committerEric Anholt <eric@anholt.net>
Fri, 26 Mar 2010 00:30:37 +0000 (17:30 -0700)
commitfdbe1ca0bd7451c8406795f829d661139d941f27
treec3f69e3b4e118a2a21a0d923075d4caa11dc4616
parent57e793644f8b1c229703ac69ef2ee5d26cb282c9
intel: Rely on allocated region pitch for the miptree pitch.

Bug #26966: 945 miptree pitch disagreement with libdrm.
(cherry picked from commit da011faf48155a5c02ebc1fe1fa20a4f54b8c657)
src/mesa/drivers/dri/intel/intel_fbo.c
src/mesa/drivers/dri/intel/intel_mipmap_tree.c
src/mesa/drivers/dri/intel/intel_regions.c
src/mesa/drivers/dri/intel/intel_regions.h