From: Mark Lobodzinski Date: Fri, 26 Aug 2016 14:35:19 +0000 (-0600) Subject: layers: Add unique_objects to default layer config X-Git-Tag: upstream/1.1.92~2640 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=69c3dc14fcf740c1be1a9965f9384051bee0f8f6;p=platform%2Fupstream%2FVulkan-Tools.git layers: Add unique_objects to default layer config Allows messages to be output from this layer in configurations with no explicit output settings. Change-Id: I17c604db7461ae10eedd0b3fb3f9440a6dc52eab --- diff --git a/layers/vk_layer_config.cpp b/layers/vk_layer_config.cpp index 3f25da6..ec50744 100644 --- a/layers/vk_layer_config.cpp +++ b/layers/vk_layer_config.cpp @@ -120,6 +120,7 @@ ConfigFile::ConfigFile() : m_fileIsParsed(false) { m_valueMap["lunarg_parameter_validation.report_flags"] = "error"; m_valueMap["lunarg_swapchain.report_flags"] = "error"; m_valueMap["google_threading.report_flags"] = "error"; + m_valueMap["google_unique_objects.report_flags"] = "error"; #ifdef WIN32 // For Windows, enable message logging AND OutputDebugString @@ -129,6 +130,7 @@ ConfigFile::ConfigFile() : m_fileIsParsed(false) { m_valueMap["lunarg_parameter_validation.debug_action"] = "VK_DBG_LAYER_ACTION_DEFAULT,VK_DBG_LAYER_ACTION_LOG_MSG,VK_DBG_LAYER_ACTION_DEBUG_OUTPUT"; m_valueMap["lunarg_swapchain.debug_action"] = "VK_DBG_LAYER_ACTION_DEFAULT,VK_DBG_LAYER_ACTION_LOG_MSG,VK_DBG_LAYER_ACTION_DEBUG_OUTPUT"; m_valueMap["google_threading.debug_action"] = "VK_DBG_LAYER_ACTION_DEFAULT,VK_DBG_LAYER_ACTION_LOG_MSG,VK_DBG_LAYER_ACTION_DEBUG_OUTPUT"; + m_valueMap["google_unique_objects.debug_action"] = "VK_DBG_LAYER_ACTION_DEFAULT,VK_DBG_LAYER_ACTION_LOG_MSG,VK_DBG_LAYER_ACTION_DEBUG_OUTPUT"; #else // WIN32 m_valueMap["lunarg_core_validation.debug_action"] = "VK_DBG_LAYER_ACTION_DEFAULT,VK_DBG_LAYER_ACTION_LOG_MSG"; m_valueMap["lunarg_image.debug_action"] = "VK_DBG_LAYER_ACTION_DEFAULT,VK_DBG_LAYER_ACTION_LOG_MSG"; @@ -136,6 +138,7 @@ ConfigFile::ConfigFile() : m_fileIsParsed(false) { m_valueMap["lunarg_parameter_validation.debug_action"] = "VK_DBG_LAYER_ACTION_DEFAULT,VK_DBG_LAYER_ACTION_LOG_MSG"; m_valueMap["lunarg_swapchain.debug_action"] = "VK_DBG_LAYER_ACTION_DEFAULT,VK_DBG_LAYER_ACTION_LOG_MSG"; m_valueMap["google_threading.debug_action"] = "VK_DBG_LAYER_ACTION_DEFAULT,VK_DBG_LAYER_ACTION_LOG_MSG"; + m_valueMap["google_unique_objects.debug_action"] = "VK_DBG_LAYER_ACTION_DEFAULT,VK_DBG_LAYER_ACTION_LOG_MSG"; #endif // WIN32 m_valueMap["lunarg_core_validation.log_filename"] = "stdout"; @@ -144,6 +147,7 @@ ConfigFile::ConfigFile() : m_fileIsParsed(false) { m_valueMap["lunarg_parameter_validation.log_filename"] = "stdout"; m_valueMap["lunarg_swapchain.log_filename"] = "stdout"; m_valueMap["google_threading.log_filename"] = "stdout"; + m_valueMap["google_unique_objects.log_filename"] = "stdout"; } ConfigFile::~ConfigFile() {}