svga: loop over box.depth for ReadBack_image on each slice
authorNeha Bhende <bhenden@vmware.com>
Thu, 27 Oct 2016 19:35:03 +0000 (12:35 -0700)
committerBrian Paul <brianp@vmware.com>
Fri, 30 Jun 2017 14:24:27 +0000 (08:24 -0600)
commit31fe1d10b291bcd1b9ee376d53db05028719831d
tree7e3f91a914632bb267daed1d187cc0adf9621bde
parent203d88460c46ea9b92c42129a3c6d33c7a2e8a0c
svga: loop over box.depth for ReadBack_image on each slice

piglit test ext_texture_array-gen-mipmap is fixed with this patch.

Tested with mtt piglit, glretrace, viewperf and conform. No regression.

Reviewed-by: Brian Paul <brianp@vmware.com>
src/gallium/drivers/svga/svga_resource_texture.c