From b13bbdd6f0a1cb4da5f78f84361937f6ceeb18b9 Mon Sep 17 00:00:00 2001 From: Danny Robson Date: Thu, 7 Sep 2017 15:54:31 +1000 Subject: [PATCH] hello-tool: request less verbose debug messages --- tools/hello.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/tools/hello.cpp b/tools/hello.cpp index 2490cda..5d11eb7 100644 --- a/tools/hello.cpp +++ b/tools/hello.cpp @@ -113,11 +113,12 @@ main (void) VkDebugReportCallbackEXT callback; VkDebugReportCallbackCreateInfoEXT debug_info {}; debug_info.sType = cruft::vk::structure_type_v; - 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");