diff --git a/wgpu-hal/src/vulkan/instance.rs b/wgpu-hal/src/vulkan/instance.rs index 0145a0cc4ac..c0c5eadd4ba 100644 --- a/wgpu-hal/src/vulkan/instance.rs +++ b/wgpu-hal/src/vulkan/instance.rs @@ -208,7 +208,11 @@ impl super::Instance { let vk_info = vk::DebugUtilsMessengerCreateInfoEXT::builder() .flags(vk::DebugUtilsMessengerCreateFlagsEXT::empty()) .message_severity(severity) - .message_type(!vk::DebugUtilsMessageTypeFlagsEXT::empty()) + .message_type( + vk::DebugUtilsMessageTypeFlagsEXT::GENERAL | + vk::DebugUtilsMessageTypeFlagsEXT::VALIDATION | + vk::DebugUtilsMessageTypeFlagsEXT::PERFORMANCE + ) .pfn_user_callback(Some(debug_utils_messenger_callback)); let messenger = extension .create_debug_utils_messenger(&vk_info, None)