projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bc33c9b
)
anv/dump: Fix post-blit memory barrier
author
Chad Versace
<chad.versace@intel.com>
Thu, 7 Jul 2016 23:04:59 +0000
(16:04 -0700)
committer
Jason Ekstrand
<jason.ekstrand@intel.com>
Sun, 10 Jul 2016 03:58:33 +0000
(20:58 -0700)
Swap srcAccessMask and dstAccessMask.
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
src/intel/vulkan/anv_dump.c
patch
|
blob
|
history
diff --git
a/src/intel/vulkan/anv_dump.c
b/src/intel/vulkan/anv_dump.c
index f31bc4ad5b1ddc49299fbd6b2f017d6082c1dd3b..37882ff7d31b6a309ce5e0fd879c5e909db95025 100644
(file)
--- 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,