Skip to content

Commit

Permalink
[Vulkan] Additional logging
Browse files Browse the repository at this point in the history
  • Loading branch information
past-due committed Nov 2, 2023
1 parent 007500e commit d61f533
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions lib/ivis_opengl/gfx_api_vk.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit d61f533

Please sign in to comment.