aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--layers/parameter_validation_utils.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/layers/parameter_validation_utils.cpp b/layers/parameter_validation_utils.cpp
index 7e953abb2..16d0ca1de 100644
--- a/layers/parameter_validation_utils.cpp
+++ b/layers/parameter_validation_utils.cpp
@@ -2282,16 +2282,14 @@ bool StatelessValidation::manual_PreCallValidateBeginCommandBuffer(VkCommandBuff
AllVkQueryControlFlagBits, pInfo->queryFlags, kOptionalFlags,
"VUID-VkCommandBufferInheritanceInfo-queryFlags-00057");
} else { // !inheritedQueries
- // TODO: Real VUID should be available when spec 1.1.120 is released
skip |= validate_reserved_flags(cmd_name, "pBeginInfo->pInheritanceInfo->queryFlags", pInfo->queryFlags,
- kVUID_PVError_ReservedParameter);
+ "VUID-VkCommandBufferInheritanceInfo-queryFlags-02788");
}
if (physical_device_features.pipelineStatisticsQuery) {
- // TODO: Real VUID should be available when spec 1.1.120 is released
skip |= validate_flags(cmd_name, "pBeginInfo->pInheritanceInfo->pipelineStatistics", "VkQueryPipelineStatisticFlagBits",
AllVkQueryPipelineStatisticFlagBits, pInfo->pipelineStatistics, kOptionalFlags,
- kVUID_PVError_UnrecognizedValue);
+ "VUID-VkCommandBufferInheritanceInfo-pipelineStatistics-02789");
} else { // !pipelineStatisticsQuery
skip |= validate_reserved_flags(cmd_name, "pBeginInfo->pInheritanceInfo->pipelineStatistics", pInfo->pipelineStatistics,
"VUID-VkCommandBufferInheritanceInfo-pipelineStatistics-00058");