Vulkan-Hpp icon indicating copy to clipboard operation
Vulkan-Hpp copied to clipboard

[c++20 module] getDispatchLoaderStatic is not available

Open qbojj opened this issue 1 year ago • 2 comments

When using c++20 module without VK_NO_PROTOTYPES, getDispatchLoaderStatic is not exported, but it is required to be visible if someone wants to use it outside vulkan-hpp

qbojj avatar Jul 22 '24 21:07 qbojj

Any reason, why you would want to use getDispatchLoaderStatic outside of Vulkan-Hpp? It's an internally used function, and maybe it should be moved to the vk::detail-namespace.

asuessenbach avatar Jul 23 '24 08:07 asuessenbach

e.g the VulkanMemoryAllocator-Hpp project uses it to pull functions for use in VMA when not supplied with an argument (https://github.com/YaaZ/VulkanMemoryAllocator-Hpp/blob/8335d9d6ff3574c89e6cf363ec1d279179f9b957/include/vk_mem_alloc.hpp#L130-L134)

qbojj avatar Jul 23 '24 08:07 qbojj

@qbojj Would you please verify that #2008 resolves your issue? Thanks a lot!

asuessenbach avatar Dec 05 '24 07:12 asuessenbach

Yes. It fixes the issue

qbojj avatar Dec 10 '24 21:12 qbojj

Will close after merge

qbojj avatar Dec 10 '24 21:12 qbojj