Skip to content

Compile the Vulkan loader bridge with current V - #35

Merged
antono3 merged 4 commits into
masterfrom
codex/fix-loader-include
Sep 15, 2026
Merged

antono3 merged 4 commits into
masterfrom
codex/fix-loader-include

Conversation

@antono3

@antono3 antono3 commented Sep 15, 2026 •

Copy link
Copy Markdown
Collaborator

The current V compiler omits loader_bridge.h when it is included only from the internal vulkan.c module. On Windows this leaves v_vulkan_initialize_loader undefined when a consumer links with MSVC.

Include the bridge from the public root module, where V reliably emits it, while keeping Volk's implementation in c/volk.c.v.

Validation on Windows 10 x64:

  • v -cc msvc test . (4/4 files passed)
  • v -cc msvc run examples/ergonomic_lifecycle (created a Vulkan device on a GeForce GTX 765M)
  • Torus Trooper's MSVC top-level and simulation/runtime suites compile and pass with this branch

Merge dependency: merge #36 first so this PR reruns with the repaired pinned v3 bootstrap lane.

@antono3
antono3 merged commit b231e75 into master Sep 15, 2026
8 checks passed
@antono3
antono3 deleted the codex/fix-loader-include branch September 15, 2026 23:02
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