aboutsummaryrefslogtreecommitdiff
path: root/layers/core_validation.cpp
diff options
context:
space:
mode:
authorMark Lobodzinski <mark@lunarg.com>2016-05-19 15:27:18 -0600
committerMark Lobodzinski <mark@lunarg.com>2016-06-06 09:27:36 -0600
commit849ffee6d36b3f7c6e6723c4b62f56822c3741e5 (patch)
treeee82841350313cee425091b7ca2d0fe2f65b77f4 /layers/core_validation.cpp
parent2ffbfd804be77580c5bab991d2715eecf1346128 (diff)
downloadusermoji-849ffee6d36b3f7c6e6723c4b62f56822c3741e5.tar.xz
layers: Add default layer error message config
Allows layers to output error messages even if no vk_layer_settings.txt config file is present. Sets defaults to LOG_MSG, error, stdout. A layer settings file will override any default values. If no settings file is present and an app creates a debug callback, the default callbacks will be removed and unregistered. Change-Id: I49f37189665816df58c258b9e9629f2bf76751c8
Diffstat (limited to 'layers/core_validation.cpp')
-rw-r--r--layers/core_validation.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/layers/core_validation.cpp b/layers/core_validation.cpp
index 49324b82..b602b7cd 100644
--- a/layers/core_validation.cpp
+++ b/layers/core_validation.cpp
@@ -9857,7 +9857,7 @@ CreateDebugReportCallbackEXT(VkInstance instance, const VkDebugReportCallbackCre
VkResult res = pTable->CreateDebugReportCallbackEXT(instance, pCreateInfo, pAllocator, pMsgCallback);
if (VK_SUCCESS == res) {
std::lock_guard<std::mutex> lock(global_lock);
- res = layer_create_msg_callback(my_data->report_data, pCreateInfo, pAllocator, pMsgCallback);
+ res = layer_create_msg_callback(my_data->report_data, false, pCreateInfo, pAllocator, pMsgCallback);
}
return res;
}