summaryrefslogtreecommitdiffstats
path: root/src/vulkan/anv_dump.c
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2015-12-01 12:19:11 -0800
committerJason Ekstrand <[email protected]>2015-12-03 13:43:53 -0800
commit407b8cc5e0e0e0382b7a350480a7654fcb2a164f (patch)
treea1e297ea09435109cdcdbe128853f2d77fae5e81 /src/vulkan/anv_dump.c
parent3f6abd0161c4f0c5f4716d1b97a2378219469b7a (diff)
vk/0.210.0: Get rid of VkImageAspect
Diffstat (limited to 'src/vulkan/anv_dump.c')
-rw-r--r--src/vulkan/anv_dump.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vulkan/anv_dump.c b/src/vulkan/anv_dump.c
index b2d0b385d0a..b232f6b206b 100644
--- a/src/vulkan/anv_dump.c
+++ b/src/vulkan/anv_dump.c
@@ -178,7 +178,7 @@ anv_dump_image_to_ppm(struct anv_device *device,
VkSubresourceLayout layout;
anv_GetImageSubresourceLayout(vk_device, copy_image,
&(VkImageSubresource) {
- .aspect = VK_IMAGE_ASPECT_COLOR,
+ .aspectMask = VK_IMAGE_ASPECT_COLOR_BIT,
.mipLevel = 0,
.arrayLayer = 0,
}, &layout);