summaryrefslogtreecommitdiffstats
path: root/src/vulkan/anv_dump.c
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2015-12-01 12:52:56 -0800
committerJason Ekstrand <[email protected]>2015-12-03 13:43:53 -0800
commit299f8f1511cfa2bfab77038ba28a90bcfc136a5d (patch)
tree67e52488e99500512716b3f3e33a98b29b9714d7 /src/vulkan/anv_dump.c
parent407b8cc5e0e0e0382b7a350480a7654fcb2a164f (diff)
vk/0.210.0: More structure field renaming
Diffstat (limited to 'src/vulkan/anv_dump.c')
-rw-r--r--src/vulkan/anv_dump.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/vulkan/anv_dump.c b/src/vulkan/anv_dump.c
index b232f6b206b..80d9fcec88f 100644
--- a/src/vulkan/anv_dump.c
+++ b/src/vulkan/anv_dump.c
@@ -49,7 +49,7 @@ anv_dump_image_to_ppm(struct anv_device *device,
.format = VK_FORMAT_R8G8B8A8_UNORM,
.extent = (VkExtent3D) { extent.width, extent.height, 1 },
.mipLevels = 1,
- .arraySize = 1,
+ .arrayLayers = 1,
.samples = 1,
.tiling = VK_IMAGE_TILING_LINEAR,
.usage = VK_IMAGE_USAGE_TRANSFER_DST_BIT,
@@ -144,9 +144,9 @@ anv_dump_image_to_ppm(struct anv_device *device,
.subresourceRange = (VkImageSubresourceRange) {
.aspectMask = VK_IMAGE_ASPECT_COLOR_BIT,
.baseMipLevel = 0,
- .mipLevels = 1,
+ .levelCount = 1,
.baseArrayLayer = 0,
- .arraySize = 1,
+ .layerCount = 1,
},
}});