projects
/
platform
/
upstream
/
Vulkan-LoaderAndValidationLayers.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1b97317
)
layers: Check for srcAccess in present barriers
author
Tony Barbour
<tony@LunarG.com>
Thu, 29 Sep 2016 19:41:49 +0000
(13:41 -0600)
committer
Tony Barbour
<tony@LunarG.com>
Wed, 5 Oct 2016 18:48:09 +0000
(12:48 -0600)
Change-Id: I7722a31a6ef576cf8bc79c6893e70bc4b1cf1c09
layers/core_validation.cpp
patch
|
blob
|
history
diff --git
a/layers/core_validation.cpp
b/layers/core_validation.cpp
index
3768a88
..
fdc6b3a
100644
(file)
--- a/
layers/core_validation.cpp
+++ b/
layers/core_validation.cpp
@@
-8646,6
+8646,10
@@
static bool ValidateMaskBitsFromLayouts(const layer_data *my_data, VkCommandBuff
skip_call |= ValidateMaskBits(my_data, cmdBuffer, accessMask, layout, VK_ACCESS_TRANSFER_READ_BIT, 0, type);
break;
}
+ case VK_IMAGE_LAYOUT_PRESENT_SRC_KHR: {
+ skip_call |= ValidateMaskBits(my_data, cmdBuffer, accessMask, layout, VK_ACCESS_MEMORY_READ_BIT, 0, type);
+ break;
+ }
case VK_IMAGE_LAYOUT_UNDEFINED: {
if (accessMask != 0) {
// TODO: Verify against Valid Use section spec