From 574d368e2c756b4a76437c03783c72b6b7b82fbe Mon Sep 17 00:00:00 2001 From: past-due <30942300+past-due@users.noreply.github.com> Date: Thu, 2 Nov 2023 15:12:30 -0400 Subject: [PATCH] [Vulkan] Additional logging --- lib/ivis_opengl/gfx_api_vk.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/lib/ivis_opengl/gfx_api_vk.cpp b/lib/ivis_opengl/gfx_api_vk.cpp index 2169389c668..824ae33a26c 100644 --- a/lib/ivis_opengl/gfx_api_vk.cpp +++ b/lib/ivis_opengl/gfx_api_vk.cpp @@ -351,6 +351,12 @@ bool checkDeviceExtensionSupport(const vk::PhysicalDevice &device, const std::ve requiredExtensions.erase(extension.extensionName); } + debug(LOG_3D, "Found %zu extensions / did not find %zu extensions, in the enumerated list of %zu device extensions", desiredExtensions.size() - requiredExtensions.size(), requiredExtensions.size(), availableExtensions.size()); + for (const auto& extension : requiredExtensions) + { + debug(LOG_3D, "Did not find extension: \"%s\"", extension.c_str()); + } + return requiredExtensions.empty(); } catch (const vk::SystemError& e)