svga: allow copy box in svga_transfer_dma_band()
authorCharmaine Lee <charmainel@vmware.com>
Tue, 31 May 2016 23:33:52 +0000 (16:33 -0700)
committerBrian Paul <brianp@vmware.com>
Thu, 2 Jun 2016 21:03:41 +0000 (15:03 -0600)
commit0cf0d7c02e5e6d1958f15b231d63142ed6ba11c4
treedbb71ac8d687a14a7cb541e95105cd4c923c3bf6
parent94d8fbd21768987d1bde0e31bdcabf7004b8f9b8
svga: allow copy box in svga_transfer_dma_band()

Instead of just allow copy of a rectangle in svga_transfer_dma_band(),
this patch allows it to copy a box, hence allows copy a 3d texture
in one transfer.

Fixes black screen in running Heaven after commit fb9fe35. (Bug 1663282)

Tested with Heaven, glretrace, piglit.

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