anv/image: Set correct base_array_layer and array_len for storage images
authorJason Ekstrand <jason.ekstrand@intel.com>
Tue, 13 Sep 2016 21:02:32 +0000 (14:02 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Tue, 13 Sep 2016 21:45:49 +0000 (14:45 -0700)
commit1eebb60917d0d4462eb16c72d17050d5d21d438a
treedc9fb2a6e4b739e573400fdcba0e7aa95d22381e
parent106709db7bd21681c6da1e9672e841f03224d8b2
anv/image: Set correct base_array_layer and array_len for storage images

Since Vulkan doesn't allow single-slice 3D storage images, we need to just
set the base_array_layer and array_len to the full size of the 3-D LOD.

Signed-off-by: Jason Ekstrand <jason@jlekstrand.net>
src/intel/vulkan/anv_image.c