i965/miptree: Take interleaving into account in stencil pitch
authorTopi Pohjolainen <topi.pohjolainen@intel.com>
Wed, 19 Jul 2017 10:04:06 +0000 (13:04 +0300)
committerTopi Pohjolainen <topi.pohjolainen@intel.com>
Thu, 20 Jul 2017 08:32:21 +0000 (11:32 +0300)
commit37152a559689f475edd764cc3937174e84542beb
treec8f93bb36d5cadb6ca1898df0909f8387e223a88
parent43c3b5b523445c7053d7b2cbaca954244fa39c06
i965/miptree: Take interleaving into account in stencil pitch

This makes intel_mipmap_tree::pitch and isl_surf::row_pitch
semantically equivalent.

Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Signed-off-by: Topi Pohjolainen <topi.pohjolainen@intel.com>
src/mesa/drivers/dri/i965/gen7_misc_state.c
src/mesa/drivers/dri/i965/gen8_depth_state.c
src/mesa/drivers/dri/i965/intel_mipmap_tree.c