From: Jason Ekstrand Date: Thu, 7 Jan 2016 03:27:10 +0000 (-0800) Subject: anv/image: Fill out VkSubresourceLayout.arrayPitch X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8a81d136f833ca2fda27438d0b16d3aed7c78746;p=mesa.git anv/image: Fill out VkSubresourceLayout.arrayPitch --- diff --git a/src/vulkan/anv_image.c b/src/vulkan/anv_image.c index 79c6ba15a03..f79583eac04 100644 --- a/src/vulkan/anv_image.c +++ b/src/vulkan/anv_image.c @@ -295,6 +295,7 @@ anv_surface_get_subresource_layout(struct anv_image *image, 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; }