Find glslang under either executable name (BUILD-GLSLANG-DISCOVERY) #2063
No reviewers
No assignees
Labels
No labels
bug
dependencies
documentation
enhancement
missing claim
needs rebase
needs-triage
question
ready-for-agent
submodules
No project
No milestone
Dependencies
No dependencies set
Notifications
1 participant
Due date
No due date set.
Reference
leonida/mandy!2063
Loading…
Reference in a new issue
No description provided.
Delete branch "codex/glslang-binary-discovery"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Pull request successfully merged and closed
Claimed in the coordination issue as: BUILD-GLSLANG-DISCOVERY
What and why
CMake missed the standalone Khronos Windows package because it ships
glslang.exe. That caused it to omit Vulkan runtime test targets even with a working shader compiler on PATH. Use one lookup for the Vulkan targets, withglslangValidatorfirst andglslangas the second name. Khronos glslang 16.6.0 releaseTested
490f5b9omittedd3d12_title_va_test. The patch foundglslang.exeand configured the target.vk_null_descriptorsuccessfully on RTX 4080, NVIDIA 621.01.glslangValidator.exewhen present and honored a custom compiler path explicitly provided viaVulkan_GLSLANG_VALIDATOR_EXECUTABLE.tests/test_ctest_registration.pyandtests/test_cmake_vulkan_missing.pypassed, 10 tests total.git diff --check.AI-assisted: yes.
main.Verified by source inspection of the PR branch: grep shows exactly one remaining find_program(Vulkan_GLSLANG_VALIDATOR_EXECUTABLE ...) at runtime/CMakeLists.txt:1836, placed before its first use at line 1980; all four duplicate/late find_program calls are removed, so a glslang found under either name is available to every shader-compilation block. I could not run a full CMake configure here (no Vulkan SDK/GPU on this host), so this approval is based on the diff and call-order check. Advisory: branch carries ~45 older commits not on main; rebase before merge.