diff options
author | Petr Kraus <petr_kraus@email.cz> | 2019-08-18 13:59:16 +0200 |
---|---|---|
committer | Mark Lobodzinski <mark@lunarg.com> | 2019-08-19 10:11:51 -0600 |
commit | 43aed2ce9aec3cde87a94a0c3e371a47684ceb68 (patch) | |
tree | d5922db7d2944f65074b7dcb096eb32b3a80d8a7 /layers | |
parent | 139757bc47fde17503384fb473046277523823b9 (diff) | |
download | vulkan-validation-layers-43aed2ce9aec3cde87a94a0c3e371a47684ceb68.tar.gz |
layers: Use real VUIDs in VkCommandBufferInheritanceInfo
Diffstat (limited to 'layers')
-rw-r--r-- | layers/parameter_validation_utils.cpp | 6 |
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"); |