From 8a81d136f833ca2fda27438d0b16d3aed7c78746 Mon Sep 17 00:00:00 2001 From: Jason Ekstrand Date: Wed, 6 Jan 2016 19:27:10 -0800 Subject: [PATCH] anv/image: Fill out VkSubresourceLayout.arrayPitch --- src/vulkan/anv_image.c | 1 + 1 file changed, 1 insertion(+) 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; } -- 2.30.2