anv/image: Use custom VkBufferImageCopy for iview initialization
authorNanley Chery <nanley.g.chery@intel.com>
Wed, 27 Jan 2016 02:40:54 +0000 (18:40 -0800)
committerJason Ekstrand <jason.ekstrand@intel.com>
Wed, 27 Jan 2016 23:12:42 +0000 (15:12 -0800)
commitd3c1fd53e284db7e8a63e8fd1d9219c710a2890e
tree38e6dcd2cdd1b10b7c0dd6a75ff93b6ebd7871b1
parent6a579ded87a4192ed2f1a015ca8c6535d323ce1c
anv/image: Use custom VkBufferImageCopy for iview initialization

Use a custom VkBufferImageCopy with the user-provided struct as
the base. A few fields are modified when the iview is uncompressed
and the underlying image is compressed.
src/vulkan/anv_image.c