anv/meta: Set depth to 0 for buffer image in CopyBufferToImage()
authorNanley Chery <nanley.g.chery@intel.com>
Wed, 27 Jan 2016 00:19:33 +0000 (16:19 -0800)
committerJason Ekstrand <jason.ekstrand@intel.com>
Wed, 27 Jan 2016 23:12:42 +0000 (15:12 -0800)
commit010ab34839e7bf118b8f5dc974f4d348c77fbc37
tree7a14714247f88597fc2be1abf2c05d175b90deb1
parent2fb8b859f696240177f7ab2dc61b9023d7ab0ea4
anv/meta: Set depth to 0 for buffer image in CopyBufferToImage()

The buffer image is a flat 2D surface. Each surface represents an
array/depth layer, therefore, the Z-offset is 0 when blitting.
src/vulkan/anv_meta.c