From aaeb97210375e308b024c1b7669ad4c298008237 Mon Sep 17 00:00:00 2001 From: Tobin Ehlis Date: Wed, 13 Dec 2017 09:39:30 -0700 Subject: layers:Add VUID to existing check Add VUID to existing check for VALIDATION_ERROR_0f6004ac and update the DB file to reflect that this check is in place. --- layers/core_validation.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'layers/core_validation.cpp') diff --git a/layers/core_validation.cpp b/layers/core_validation.cpp index 4ebbc780..01040e4a 100644 --- a/layers/core_validation.cpp +++ b/layers/core_validation.cpp @@ -1452,9 +1452,10 @@ static bool ValidatePipelineUnlocked(layer_data *dev_data, std::vectorenabled_features.depthBounds)) { skip |= log_msg( dev_data->report_data, VK_DEBUG_REPORT_ERROR_BIT_EXT, VK_DEBUG_REPORT_OBJECT_TYPE_PIPELINE_EXT, - HandleToUint64(pPipeline->pipeline), __LINE__, DRAWSTATE_INVALID_FEATURE, "DS", + HandleToUint64(pPipeline->pipeline), __LINE__, VALIDATION_ERROR_0f6004ac, "DS", "vkCreateGraphicsPipelines(): the depthBounds device feature is disabled: the depthBoundsTestEnable " - "member of the VkPipelineDepthStencilStateCreateInfo structure must be set to VK_FALSE."); + "member of the VkPipelineDepthStencilStateCreateInfo structure must be set to VK_FALSE. %s", + validation_error_map[VALIDATION_ERROR_0f6004ac]); } } -- cgit v1.2.3