diff options
author | Chad Versace <[email protected]> | 2016-07-07 16:04:59 -0700 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2016-07-09 20:58:33 -0700 |
commit | 5c17fb2cd67b75b42e75c501cb6ae85fbb28bbc8 (patch) | |
tree | bec959a91ede995f6577eaf75445ecafc2f3def2 /src/intel/vulkan/anv_dump.c | |
parent | bc33c9b4559d595f79526f5bc6207afd2e93b2a4 (diff) |
anv/dump: Fix post-blit memory barrier
Swap srcAccessMask and dstAccessMask.
Reviewed-by: Jason Ekstrand <[email protected]>
Diffstat (limited to 'src/intel/vulkan/anv_dump.c')
-rw-r--r-- | src/intel/vulkan/anv_dump.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/intel/vulkan/anv_dump.c b/src/intel/vulkan/anv_dump.c index f31bc4ad5b1..37882ff7d31 100644 --- a/src/intel/vulkan/anv_dump.c +++ b/src/intel/vulkan/anv_dump.c @@ -175,8 +175,8 @@ dump_image_do_blit(struct anv_device *device, struct dump_image *image, 0, 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, + .srcAccessMask = VK_ACCESS_TRANSFER_WRITE_BIT, + .dstAccessMask = VK_ACCESS_HOST_READ_BIT, .oldLayout = VK_IMAGE_LAYOUT_GENERAL, .newLayout = VK_IMAGE_LAYOUT_GENERAL, .srcQueueFamilyIndex = 0, |