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

vulkan_profiles.hpp does not compile when VK_NO_PROTOTYPES is defined

Open maxime-modulopi opened this issue 1 year ago • 0 comments

When VK_NO_PROTOTYPES is defined to disable the declaration of global Vulkan functions (e.g. when using Vulkan-Hpp's DispatchLoaderDynamic), vulkan_profiles.hpp no longer compiles, due to ImportVulkanFunctions_Static unconditionally using these global Vulkan functions.

This problem is similar to #657.

I believe the "static functions" part of the API should be conditionally disabled when VK_NO_PROTOTYPES is defined.

maxime-modulopi avatar Dec 12 '24 21:12 maxime-modulopi