aboutsummaryrefslogtreecommitdiff
path: root/layers/core_validation.cpp
diff options
context:
space:
mode:
authorTobin Ehlis <tobine@google.com>2017-12-13 09:39:30 -0700
committerTobin Ehlis <tobine@google.com>2017-12-13 17:43:22 -0700
commitaaeb97210375e308b024c1b7669ad4c298008237 (patch)
treeff42edcac3b5e181fda5f6bed008cb9725f253c7 /layers/core_validation.cpp
parent3486cdc771319cd174cad4548562793172465f92 (diff)
downloadusermoji-aaeb97210375e308b024c1b7669ad4c298008237.tar.xz
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.
Diffstat (limited to 'layers/core_validation.cpp')
-rw-r--r--layers/core_validation.cpp5
1 files changed, 3 insertions, 2 deletions
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::vector<std::uniq
(!dev_data->enabled_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]);
}
}