projects
/
platform
/
upstream
/
Vulkan-Tools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4c40aa8
)
layers: Fix copy-paste "DEPTH" instead of "STENCIL"
author
Tobin Ehlis
<tobine@google.com>
Thu, 21 Jul 2016 20:48:21 +0000
(14:48 -0600)
committer
Tobin Ehlis
<tobine@google.com>
Fri, 22 Jul 2016 20:18:15 +0000
(14:18 -0600)
layers/core_validation.cpp
patch
|
blob
|
history
diff --git
a/layers/core_validation.cpp
b/layers/core_validation.cpp
index
3c5c87d
..
159f848
100644
(file)
--- a/
layers/core_validation.cpp
+++ b/
layers/core_validation.cpp
@@
-8023,7
+8023,7
@@
static bool ValidateBarriers(const char *funcName, VkCommandBuffer cmdBuffer, ui
funcName);
}
} else { // stencil-only case
- if (!(aspect_mask & VK_IMAGE_ASPECT_
DEPTH
_BIT)) {
+ if (!(aspect_mask & VK_IMAGE_ASPECT_
STENCIL
_BIT)) {
log_msg(dev_data->report_data, VK_DEBUG_REPORT_ERROR_BIT_EXT, (VkDebugReportObjectTypeEXT)0, 0,
__LINE__, DRAWSTATE_INVALID_BARRIER, "DS", "%s: Image is a stencil-only format and thus must "
"have VK_IMAGE_ASPECT_STENCIL_BIT set.",