Skip to content

Bundle pinned Vulkan headers and Volk for self-contained builds - #56

Merged
antono3 merged 4 commits into
masterfrom
feat/bundled-vulkan-headers
Sep 23, 2026
Merged

antono3 merged 4 commits into
masterfrom
feat/bundled-vulkan-headers

Conversation

@antono3

@antono3 antono3 commented Sep 23, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

Bundle the pinned Khronos Vulkan C headers and Volk sources with antono2.vulkan so the latest binding compiles against newer generated APIs even when system development headers and Volk are old or absent. Runtime Vulkan loader and driver requirements remain.

  • Point the C bridge at the bundled files and make setup.vsh --check validate them.
  • Verify bundled sources byte for byte against REGISTRY_COMMIT and VOLK_COMMIT in CI.
  • Compile a Vulkan 1.4 API smoke test, including under the strict V3 frontend.
  • Document native runtime and platform-window-header requirements.

Local verification

  • V 0.5.2 GCC and TCC ergonomic tests: 5/5 each.
  • Vulkan 1.4 header/Volk smoke compiled with older system 1.3.275 headers and without VULKAN_SDK.
  • Xlib platform smoke compiled.
  • v_vulkan_video: 3/3 tests; vulkan_memory_allocator: 7/7 tests against the bundled module.
  • Pinned strict V3 frontend accepted the new-header smoke.
  • setup.vsh --check passed; workflow YAML parsed; git diff --check passed.

The full V3 C backend remains advisory as in the existing workflow. Cross-platform CI is pending.

v.mod advances to 3.1.2 for a patch release once the PR is merged and CI passes.

@antono3
antono3 merged commit 2275f7d into master Sep 23, 2026
8 checks passed
@antono3
antono3 deleted the feat/bundled-vulkan-headers branch September 23, 2026 16:23
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

Successfully merging this pull request may close these issues.

2 participants