aboutsummaryrefslogtreecommitdiff
path: root/layers/core_validation.cpp
diff options
context:
space:
mode:
authorMichael Lentine <mlentine@google.com>2016-04-14 14:46:28 -0500
committerTobin Ehlis <tobine@google.com>2016-04-14 16:43:07 -0600
commita352723a893c96fd8aaf3694f2d3d5ce6c708334 (patch)
tree0a57bae9cd10915f9aec2b7a8faad038f5bdab12 /layers/core_validation.cpp
parentfc722c35c09f7231d7d0099ca57c1c8bcf4622d0 (diff)
downloadusermoji-a352723a893c96fd8aaf3694f2d3d5ce6c708334.tar.xz
layers: Remove error when only implicit dependencies are used.
Diffstat (limited to 'layers/core_validation.cpp')
-rw-r--r--layers/core_validation.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/layers/core_validation.cpp b/layers/core_validation.cpp
index 31a6ccb9..15191b5a 100644
--- a/layers/core_validation.cpp
+++ b/layers/core_validation.cpp
@@ -8827,8 +8827,7 @@ static bool CheckDependencyExists(const layer_data *my_data, const int subpass,
std::unordered_set<uint32_t> processed_nodes;
if (FindDependency(subpass, dependent_subpasses[k], subpass_to_node, processed_nodes) ||
FindDependency(dependent_subpasses[k], subpass, subpass_to_node, processed_nodes)) {
- // TODO: Verify against Valid Use section of spec
- skip_call |= log_msg(my_data->report_data, VK_DEBUG_REPORT_ERROR_BIT_EXT, (VkDebugReportObjectTypeEXT)0, 0,
+ skip_call |= log_msg(my_data->report_data, VK_DEBUG_REPORT_WARNING_BIT_EXT, (VkDebugReportObjectTypeEXT)0, 0,
__LINE__, DRAWSTATE_INVALID_RENDERPASS, "DS",
"A dependency between subpasses %d and %d must exist but only an implicit one is specified.",
subpass, dependent_subpasses[k]);