Skip to content

BUILD-124: build standalone Vulkan tools without the Windows runtime SDK - #736

Merged
ItsNotRexed merged 3 commits into
ItsNotRexed:mainfrom
VictorJulianiR:codex/windows-vulkan-tools-build
Nov 22, 2026
Merged

ItsNotRexed merged 3 commits into
ItsNotRexed:mainfrom
VictorJulianiR:codex/windows-vulkan-tools-build

Conversation

@VictorJulianiR

@VictorJulianiR VictorJulianiR commented Nov 22, 2026 •

Copy link
Copy Markdown
Contributor

BUILD-124, claimed on #634.

The standalone Vulkan tools can now build on Windows with -DLEONIDA_BUILD_WINDOWS_RUNTIME=OFF. A normal Windows build keeps the D3D12 root signature 1.2 SDK check. The option excludes the Windows runtime, shims and their tests. The portable tests and Vulkan tools remain available. The testing guide lists the six executables used by the GPU suite.

Tested commit dfd692f against main 4eb6155 on GitHub-hosted runners:

  • Windows Server 2022, llvm-mingw 20261117, Clang 23.1.6. The default configuration rejected the old SDK on main and on this branch. Turning the runtime off built all 14 standalone x64 Vulkan executables with the normal build command. CTest reported 27 passed and eight skipped. Switching the same build directory back on restored the SDK diagnostic; turning it off restored the build. MinGW build and tests.
  • Windows Server 2022, MSVC. The full default runtime and its test programs built. The five selected tests passed, including the ABI and D3D12 trace checks. In the full registration, 61 passed, 43 skipped and one was disabled, with zero failures. MSVC build and tests.
  • Ubuntu 24.04. The default build succeeded. CTest reported 27 passed, seven skipped and zero failures. Linux build and tests.

AI-assisted. These checks covered configuration, compilation, linking and registered tests. No game inputs or physical GPU were used.

@quackottu quackottu left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested aa73dd7 on NVIDIA GeForce RTX 5070, driver 621.24, Windows 11 Pro (26300), VS 2022 Build Tools, Vulkan SDK 1.4.363.0, with LEONIDA_VK_VALIDATION=1 and LEONIDA_D3D12=vulkan: pass

  • ctest -C RelWithDebInfo: 97% tests passed, 1 tests failed out of 31
  • 30 test programs in the build pass with 0 validation errors
  • d3d12_clear_test fails (format 28 case 0 byte 2: Vulkan 7f, WARP 80) exactly as on main 67204bf, so not from this PR: NVIDIA rounds a 0.5 UNORM clear to 0x7f, which #521 addresses
  • d3d12_vulkan_device_test reports 10 synchronization-validation WRITE_AFTER_WRITE hazards on back-to-back copies (so ctest's d3d12_vulkan_device fails). main 8df277f shows the same 10 here, so not from this PR: it's @guimsolutions's finding in #634, which #782 addresses

Implicit Vulkan layers (overlays) were off through an empty VK_IMPLICIT_LAYER_PATH.

@ItsNotRexed
ItsNotRexed merged commit 5e284e7 into ItsNotRexed:main Nov 22, 2026
4 checks passed
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.

3 participants