Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[c++20 module] getDispatchLoaderStatic is not available #1927

Open
qbojj opened this issue Jul 22, 2024 · 2 comments
Open

[c++20 module] getDispatchLoaderStatic is not available #1927

qbojj opened this issue Jul 22, 2024 · 2 comments

Comments

@qbojj
Copy link
Contributor

qbojj commented Jul 22, 2024

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

@asuessenbach
Copy link
Contributor

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.

@qbojj
Copy link
Contributor Author

qbojj commented Jul 23, 2024

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants