Skip to content

Implement VK_NO_PROTOTYPES support #734 - #926

Merged
christophe-lunarg merged 7 commits into
mainfrom
func-loading
Aug 6, 2026
Merged

Implement VK_NO_PROTOTYPES support #734#926
christophe-lunarg merged 7 commits into
mainfrom
func-loading

Conversation

@christophe-lunarg

@christophe-lunarg christophe-lunarg commented Aug 3, 2026

Copy link
Copy Markdown
Collaborator

This PR is based on the work provided by #924.

It refactors the VP_USE_OBJECT code path which is designed to replace the Profiles API library design where VP_USE_OBJECT is not defined, a code path that will be deprecated and remove to simplify the code.

This code path enabled using the Vulkan Profiles API with a Vulkan API dynamically loaded

Apply custom functions first, and change the static import to
only fill members that are still null, matching the pattern
already used by the dynamic global and instance import
functions. This makes custom function precedence a property
of the code itself instead of a side effect of call order.
@ci-tester-lunarg

Copy link
Copy Markdown
Collaborator

Author GrinlexGH not on autobuild list. Waiting for curator authorization before starting CI build.

1 similar comment
@ci-tester-lunarg

Copy link
Copy Markdown
Collaborator

Author GrinlexGH not on autobuild list. Waiting for curator authorization before starting CI build.

@ci-tester-lunarg

Copy link
Copy Markdown
Collaborator

CI VulkanProfiles build queued with queue ID 62999.

1 similar comment
@ci-tester-lunarg

Copy link
Copy Markdown
Collaborator

CI VulkanProfiles build queued with queue ID 62999.

@ci-tester-lunarg

Copy link
Copy Markdown
Collaborator

CI VulkanProfiles build # 4054 running.

@ci-tester-lunarg

Copy link
Copy Markdown
Collaborator

CI VulkanProfiles build # 4054 failed.

@ci-tester-lunarg

Copy link
Copy Markdown
Collaborator

CI VulkanProfiles build queued with queue ID 63718.

1 similar comment
@ci-tester-lunarg

Copy link
Copy Markdown
Collaborator

CI VulkanProfiles build queued with queue ID 63718.

@ci-tester-lunarg

Copy link
Copy Markdown
Collaborator

CI VulkanProfiles build # 4055 running.

@ci-tester-lunarg

Copy link
Copy Markdown
Collaborator

CI VulkanProfiles build # 4055 failed.

@ci-tester-lunarg

Copy link
Copy Markdown
Collaborator

CI VulkanProfiles build queued with queue ID 64050.

@ci-tester-lunarg

Copy link
Copy Markdown
Collaborator

CI VulkanProfiles build # 4056 running.

@ci-tester-lunarg

Copy link
Copy Markdown
Collaborator

CI VulkanProfiles build # 4056 passed.

@ci-tester-lunarg

Copy link
Copy Markdown
Collaborator

CI VulkanProfiles build queued with queue ID 65543.

1 similar comment
@ci-tester-lunarg

Copy link
Copy Markdown
Collaborator

CI VulkanProfiles build queued with queue ID 65543.

@ci-tester-lunarg

Copy link
Copy Markdown
Collaborator

CI VulkanProfiles build # 4057 running.

@ci-tester-lunarg

Copy link
Copy Markdown
Collaborator

CI VulkanProfiles build queued with queue ID 66125.

1 similar comment
@ci-tester-lunarg

Copy link
Copy Markdown
Collaborator

CI VulkanProfiles build queued with queue ID 66125.

@ci-tester-lunarg

Copy link
Copy Markdown
Collaborator

CI VulkanProfiles build # 4059 running.

@ci-tester-lunarg

Copy link
Copy Markdown
Collaborator

CI VulkanProfiles build # 4059 failed.

@ci-tester-lunarg

Copy link
Copy Markdown
Collaborator

CI VulkanProfiles build queued with queue ID 66210.

@ci-tester-lunarg

Copy link
Copy Markdown
Collaborator

CI VulkanProfiles build queued with queue ID 66222.

@ci-tester-lunarg

Copy link
Copy Markdown
Collaborator

CI VulkanProfiles build # 4062 running.

@ci-tester-lunarg

Copy link
Copy Markdown
Collaborator

CI VulkanProfiles build # 4062 passed.

@ci-tester-lunarg

Copy link
Copy Markdown
Collaborator

CI VulkanProfiles build queued with queue ID 66239.

1 similar comment
@ci-tester-lunarg

Copy link
Copy Markdown
Collaborator

CI VulkanProfiles build queued with queue ID 66239.

@christophe-lunarg christophe-lunarg changed the title Func loading Implement VK_NO_PROTOTYPES support #734 Aug 5, 2026
@ci-tester-lunarg

Copy link
Copy Markdown
Collaborator

CI VulkanProfiles build # 4063 running.

@ci-tester-lunarg

Copy link
Copy Markdown
Collaborator

CI VulkanProfiles build # 4063 passed.

@christophe-lunarg

Copy link
Copy Markdown
Collaborator Author

@GrinlexGH the tests are now passing, I only need to update the tutorials and then I think it's ready to merge.

@ci-tester-lunarg

Copy link
Copy Markdown
Collaborator

CI VulkanProfiles build queued with queue ID 68037.

1 similar comment
@ci-tester-lunarg

Copy link
Copy Markdown
Collaborator

CI VulkanProfiles build queued with queue ID 68037.

@ci-tester-lunarg

Copy link
Copy Markdown
Collaborator

CI VulkanProfiles build # 4064 running.

@ci-tester-lunarg

Copy link
Copy Markdown
Collaborator

CI VulkanProfiles build # 4064 passed.

@ci-tester-lunarg

Copy link
Copy Markdown
Collaborator

CI VulkanProfiles build queued with queue ID 68076.

@ci-tester-lunarg

Copy link
Copy Markdown
Collaborator

CI VulkanProfiles build # 4066 running.

@ci-tester-lunarg

Copy link
Copy Markdown
Collaborator

CI VulkanProfiles build # 4066 passed.

@christophe-lunarg
christophe-lunarg merged commit 1b06e7e into main Aug 6, 2026
11 checks passed
@christophe-lunarg
christophe-lunarg deleted the func-loading branch August 6, 2026 11:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

vulkan_profiles.hpp does not compile when VK_NO_PROTOTYPES is defined

3 participants