mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-01 22:40:09 +01:00
anv/image: Fill out VkSubresourceLayout.arrayPitch
This commit is contained in:
parent
102c74277f
commit
8a81d136f8
1 changed files with 1 additions and 0 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue