From 651b7cd0e960ce11ae403c81f370205e84548682 Mon Sep 17 00:00:00 2001 From: Mark Lobodzinski Date: Sun, 1 Apr 2018 10:38:15 -0600 Subject: layers: Remove layer prefix from log_msg calls Change-Id: Iea43bd2f8f2c92d99b5fdf40abe94149a6fb860c --- layers/unique_objects.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'layers/unique_objects.cpp') diff --git a/layers/unique_objects.cpp b/layers/unique_objects.cpp index d132393d..51bf57ce 100644 --- a/layers/unique_objects.cpp +++ b/layers/unique_objects.cpp @@ -72,7 +72,7 @@ static void InstanceExtensionWhitelist(const VkInstanceCreateInfo *pCreateInfo, // Check for recognized instance extensions if (!white_list(pCreateInfo->ppEnabledExtensionNames[i], kInstanceExtensionNames)) { log_msg(instance_data->report_data, VK_DEBUG_REPORT_ERROR_BIT_EXT, VK_DEBUG_REPORT_OBJECT_TYPE_UNKNOWN_EXT, 0, - VALIDATION_ERROR_UNDEFINED, "UniqueObjects", + VALIDATION_ERROR_UNDEFINED, "Instance Extension %s is not supported by this layer. Using this extension may adversely affect validation " "results and/or produce undefined behavior.", pCreateInfo->ppEnabledExtensionNames[i]); @@ -88,7 +88,7 @@ static void DeviceExtensionWhitelist(const VkDeviceCreateInfo *pCreateInfo, VkDe // Check for recognized device extensions if (!white_list(pCreateInfo->ppEnabledExtensionNames[i], kDeviceExtensionNames)) { log_msg(device_data->report_data, VK_DEBUG_REPORT_ERROR_BIT_EXT, VK_DEBUG_REPORT_OBJECT_TYPE_UNKNOWN_EXT, 0, - VALIDATION_ERROR_UNDEFINED, "UniqueObjects", + VALIDATION_ERROR_UNDEFINED, "Device Extension %s is not supported by this layer. Using this extension may adversely affect validation " "results and/or produce undefined behavior.", pCreateInfo->ppEnabledExtensionNames[i]); -- cgit v1.2.3