summaryrefslogtreecommitdiffstats
path: root/src/vulkan/anv_dump.c
diff options
context:
space:
mode:
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);