commit | 8a81d136f833ca2fda27438d0b16d3aed7c78746 | [log] [tgz] |
---|---|---|
author | Jason Ekstrand <jason.ekstrand@intel.com> | Wed Jan 06 19:27:10 2016 -0800 |
committer | Jason Ekstrand <jason.ekstrand@intel.com> | Thu Jan 14 07:30:46 2016 -0800 |
tree | 2f4e28dfb668013c76c74962e8ccb984fb278585 | |
parent | 102c74277f989703dfb3783c5c0b93e3731012bf [diff] |
anv/image: Fill out VkSubresourceLayout.arrayPitch
diff --git a/src/vulkan/anv_image.c b/src/vulkan/anv_image.c index 79c6ba1..f79583e 100644 --- a/src/vulkan/anv_image.c +++ b/src/vulkan/anv_image.c
@@ -295,6 +295,7 @@ layout->offset = surface->offset; layout->rowPitch = surface->isl.row_pitch; layout->depthPitch = isl_surf_get_array_pitch(&surface->isl); + layout->arrayPitch = isl_surf_get_array_pitch(&surface->isl); layout->size = surface->isl.size; }