summaryrefslogtreecommitdiffstats
path: root/src/vulkan/anv_dump.c
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2015-12-01 13:39:28 -0800
committerJason Ekstrand <[email protected]>2015-12-03 13:43:53 -0800
commitb1cd025b88e3651fac8dd2f7861516f653422ee4 (patch)
tree909a154b9833b5fd4fe03d1c986dc80ca59cca25 /src/vulkan/anv_dump.c
parent43f3e92348939ba6e0c09d219739001f195a69fd (diff)
vk/0.210.0: Replace MemoryInput/OutputFlags with AccessFlags
Diffstat (limited to 'src/vulkan/anv_dump.c')
-rw-r--r--src/vulkan/anv_dump.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vulkan/anv_dump.c b/src/vulkan/anv_dump.c
index 80d9fcec88f..9d323d754ff 100644
--- a/src/vulkan/anv_dump.c
+++ b/src/vulkan/anv_dump.c
@@ -134,8 +134,8 @@ anv_dump_image_to_ppm(struct anv_device *device,
true, 1,
(const void * []) { &(VkImageMemoryBarrier) {
.sType = VK_STRUCTURE_TYPE_IMAGE_MEMORY_BARRIER,
- .outputMask = VK_MEMORY_OUTPUT_TRANSFER_BIT,
- .inputMask = VK_MEMORY_INPUT_HOST_READ_BIT,
+ .srcAccessMask = VK_ACCESS_HOST_READ_BIT,
+ .dstAccessMask = VK_ACCESS_TRANSFER_WRITE_BIT,
.oldLayout = VK_IMAGE_LAYOUT_GENERAL,
.newLayout = VK_IMAGE_LAYOUT_GENERAL,
.srcQueueFamilyIndex = 0,