diff options
author | Jason Ekstrand <[email protected]> | 2016-01-14 08:09:39 -0800 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2016-01-14 08:09:39 -0800 |
commit | c310fb032d406984e72895b6c94e2f96bff8e70d (patch) | |
tree | 6c95f8e89dd81b831956d5f132ca2573ff8e8e33 /src/vulkan/anv_dump.c | |
parent | b14a78cfb8aab71ddac016539d94e64d69ef813f (diff) |
vulkan-1.0.0: Rework memory barriers
Diffstat (limited to 'src/vulkan/anv_dump.c')
-rw-r--r-- | src/vulkan/anv_dump.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/vulkan/anv_dump.c b/src/vulkan/anv_dump.c index 2a747d46924..b7fa28be787 100644 --- a/src/vulkan/anv_dump.c +++ b/src/vulkan/anv_dump.c @@ -127,8 +127,8 @@ anv_dump_image_to_ppm(struct anv_device *device, ANV_CALL(CmdPipelineBarrier)(cmd, VK_PIPELINE_STAGE_TRANSFER_BIT, VK_PIPELINE_STAGE_TRANSFER_BIT, - true, 1, - (const void * []) { &(VkImageMemoryBarrier) { + true, 0, NULL, 0, NULL, 1, + &(VkImageMemoryBarrier) { .sType = VK_STRUCTURE_TYPE_IMAGE_MEMORY_BARRIER, .srcAccessMask = VK_ACCESS_HOST_READ_BIT, .dstAccessMask = VK_ACCESS_TRANSFER_WRITE_BIT, @@ -144,7 +144,7 @@ anv_dump_image_to_ppm(struct anv_device *device, .baseArrayLayer = 0, .layerCount = 1, }, - }}); + }); result = anv_EndCommandBuffer(cmd); assert(result == VK_SUCCESS); |