diff options
| author | Tobin Ehlis <tobine@google.com> | 2016-07-21 14:48:21 -0600 |
|---|---|---|
| committer | Tobin Ehlis <tobine@google.com> | 2016-07-22 14:18:15 -0600 |
| commit | 7675b4357e5fe49f20911a2447574e0cc484260d (patch) | |
| tree | 5a9ad90a037e8708a3bbc99ae4d93483cc746352 /layers/core_validation.cpp | |
| parent | 4c40aa8440dc37ae3885d616ef3c2fbba63b3c6d (diff) | |
| download | usermoji-7675b4357e5fe49f20911a2447574e0cc484260d.tar.xz | |
layers: Fix copy-paste "DEPTH" instead of "STENCIL"
Diffstat (limited to 'layers/core_validation.cpp')
| -rw-r--r-- | layers/core_validation.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/layers/core_validation.cpp b/layers/core_validation.cpp index 3c5c87d8..159f848f 100644 --- 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.", |
