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.
diff --git a/layers/core_validation.cpp b/layers/core_validation.cpp
index ea1aeda..04a5fdd 100644
--- a/layers/core_validation.cpp
+++ b/layers/core_validation.cpp
@@ -8892,7 +8892,7 @@
auto image_view_state = getImageViewState(dev_data, image_view);
auto aspects_present = image_view_state->create_info.subresourceRange.aspectMask;
auto extra_aspects = clear_desc->aspectMask & ~aspects_present;
-
+ // TODO: This is a different check than 01125. Need a new valid usage statement for this case, or should kill check.
if (extra_aspects) {
skip_call |= log_msg(
dev_data->report_data, VK_DEBUG_REPORT_ERROR_BIT_EXT, VK_DEBUG_REPORT_OBJECT_TYPE_IMAGE_VIEW_EXT,
diff --git a/layers/descriptor_sets.cpp b/layers/descriptor_sets.cpp
index 902a71c..6de07cc 100644
--- a/layers/descriptor_sets.cpp
+++ b/layers/descriptor_sets.cpp
@@ -1221,6 +1221,7 @@
// 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;
}