projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
102c742
)
anv/image: Fill out VkSubresourceLayout.arrayPitch
author
Jason Ekstrand
<jason.ekstrand@intel.com>
Thu, 7 Jan 2016 03:27:10 +0000
(19:27 -0800)
committer
Jason Ekstrand
<jason.ekstrand@intel.com>
Thu, 14 Jan 2016 15:30:46 +0000
(07:30 -0800)
src/vulkan/anv_image.c
patch
|
blob
|
history
diff --git
a/src/vulkan/anv_image.c
b/src/vulkan/anv_image.c
index 79c6ba15a03d97013391f0fb111e1503275bdaf8..f79583eac040742b37f56ad3756041f3c7075e14 100644
(file)
--- 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;
}