Skip to content

vulkan_profiles.hpp does not compile when VK_NO_PROTOTYPES is defined #734

@maxime-modulopi

Description

@maxime-modulopi

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.

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions