Skip to content

Improve Vulkan and Slang SDK discovery - #61

Closed
Foereaper wants to merge 2 commits into
masterfrom
foe/premake-vulkan-slang
Closed

Improve Vulkan and Slang SDK discovery#61
Foereaper wants to merge 2 commits into
masterfrom
foe/premake-vulkan-slang

Conversation

@Foereaper

Copy link
Copy Markdown
Member

Summary

  • prefer a sourced Vulkan tarball SDK on Linux and validate its header and loader layout
  • retain system header/library discovery when no SDK environment is configured
  • discover Slang through SLANG_SDK or the Vulkan SDK
  • copy the complete versioned Slang runtime library set beside engine binaries

Why

Ubuntu system packages split Vulkan and Slang across system paths, while the former LunarG apt SDK left Slang older than the engine-facing API. The official tarball keeps compatible Vulkan and Slang components together, but places the Vulkan loader in a separate SDK-relative directory.

Validation

  • clean Debug generation and full compile on the Ubuntu self-hosted runner using Vulkan SDK 1.4.357.1 and Slang 2026.13.1
  • compiled the restored SLANG_STAGE_DISPATCH code without a compatibility bridge
  • verified generated makefiles reference the tarball include, Slang library, and Vulkan loader directories
  • verified Engine-Tests resolves the tarball Vulkan loader and bundled versioned Slang runtime library

@Foereaper
Foereaper marked this pull request as ready for review August 10, 2026 08:52
@Foereaper Foereaper closed this Aug 10, 2026
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.

1 participant