anv/image: Fill out VkSubresourceLayout.arrayPitch
authorJason Ekstrand <jason.ekstrand@intel.com>
Thu, 7 Jan 2016 03:27:10 +0000 (19:27 -0800)
committerJason Ekstrand <jason.ekstrand@intel.com>
Thu, 14 Jan 2016 15:30:46 +0000 (07:30 -0800)
src/vulkan/anv_image.c

index 79c6ba15a03d97013391f0fb111e1503275bdaf8..f79583eac040742b37f56ad3756041f3c7075e14 100644 (file)
@@ -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;
 }