aboutsummaryrefslogtreecommitdiff
path: root/layers/descriptor_sets.cpp
diff options
context:
space:
mode:
authorTobin Ehlis <tobine@google.com>2017-01-04 09:17:01 -0700
committerTobin Ehlis <tobine@google.com>2017-01-04 15:05:18 -0700
commit675424270e816e322459fdef408e813fa7abd2a7 (patch)
tree0d5af7fe145e05a5dfbfe0ec5108dbc2491820e1 /layers/descriptor_sets.cpp
parent22bdeadc8cf005bdd470c535d160ade123f01854 (diff)
downloadusermoji-675424270e816e322459fdef408e813fa7abd2a7.tar.xz
layers:Add TODO comments for valid usage updates
Note a few unique error enum duplicates that should have their own unique ids added through spec updates.
Diffstat (limited to 'layers/descriptor_sets.cpp')
-rw-r--r--layers/descriptor_sets.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/layers/descriptor_sets.cpp b/layers/descriptor_sets.cpp
index 902a71cc..6de07cc3 100644
--- a/layers/descriptor_sets.cpp
+++ b/layers/descriptor_sets.cpp
@@ -1221,6 +1221,7 @@ bool cvdescriptorset::DescriptorSet::ValidateWriteUpdate(const debug_report_data
// Verify consecutive bindings match (if needed)
if (!p_layout_->VerifyUpdateConsistency(update->dstBinding, update->dstArrayElement, update->descriptorCount, "write update to",
set_, error_msg)) {
+ // TODO : Should break out "consecutive binding updates" language into valid usage statements
*error_code = VALIDATION_ERROR_00938;
return false;
}