isl: Fix calculation of array pitch for layout GEN4_2D
authorChad Versace <chad.versace@intel.com>
Mon, 14 Dec 2015 20:31:55 +0000 (12:31 -0800)
committerChad Versace <chad.versace@intel.com>
Tue, 15 Dec 2015 16:46:09 +0000 (08:46 -0800)
commit53504b884e58af6bcf92e3fd258c7d9d3332c1fc
treecd35f1c3ca515ee9f177554ba68e2000653ee030
parentf7e36f9f66248e94cc4247e2459d75f6cd32bc46
isl: Fix calculation of array pitch for layout GEN4_2D

The height of the miptree's right half was not large enough.

Found by `make check` in test_isl_surf_get_offset, which is added in the
next commit.
src/isl/isl.c