hello-tool: request less verbose debug messages

This commit is contained in:
Danny Robson 2017-09-07 15:54:31 +10:00
parent f81e86c23d
commit b13bbdd6f0

View File

@ -113,11 +113,12 @@ main (void)
VkDebugReportCallbackEXT callback;
VkDebugReportCallbackCreateInfoEXT debug_info {};
debug_info.sType = cruft::vk::structure_type_v<VkDebugReportCallbackCreateInfoEXT>;
debug_info.flags = VK_DEBUG_REPORT_INFORMATION_BIT_EXT |
debug_info.flags = //VK_DEBUG_REPORT_INFORMATION_BIT_EXT |
VK_DEBUG_REPORT_WARNING_BIT_EXT |
VK_DEBUG_REPORT_PERFORMANCE_WARNING_BIT_EXT |
VK_DEBUG_REPORT_ERROR_BIT_EXT |
VK_DEBUG_REPORT_DEBUG_BIT_EXT;
VK_DEBUG_REPORT_ERROR_BIT_EXT
//VK_DEBUG_REPORT_DEBUG_BIT_EXT |
;
debug_info.pfnCallback = vk_debug_callback;
auto func = (decltype(&vkCreateDebugReportCallbackEXT))vkGetInstanceProcAddr (instance.id (),"vkCreateDebugReportCallbackEXT");