cmake: accept glslang's current tool name and document Python 3 #1161
No reviewers
Labels
No labels
bug
documentation
duplicate
enhancement
GPU
GUI
help wanted
question
Shaders
Video
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/KytyPS5--KytyPS5!1161
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/1161/head"
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?
@popcoder565 on GitHub · 2026-10-07 19:53 UTC · original
popcoder565:fix/cmake-glslang-python→main· +5 −4 · 2 files · 3 commits · merged 2026-10-08 15:46 UTCOfficial glslang release archives for Windows ship the compiler only as glslang.exe, so configuring with one of them on PATH could not find glslangValidator. Fall back to glslang; glslangValidator is still preferred where both exist.
The bundled SPIRV-Tools needs Python 3 at configure time, which the Windows build requirements did not mention.
@coderabbitai[bot] on GitHub · 2026-10-07 19:59 UTC · original · edited 2026-10-07 20:47 UTC
No actionable comments were generated in the recent review. 🎉
ℹ️ Recent review info
⚙️ Run configuration
191a5242-72a0-434a-95a1-ca12d9937a73📥 Commits
Reviewing files that changed from the base of the PR and between
99a35ca5bbande446091cbb.📒 Files selected for processing (1)
README.mdIncluded review availability: This review used your included allowance. Your plan provides up to 8 included reviews per hour; 4 remain after this review.
📝 Walkthrough
Walkthrough
CMake now accepts either
glslangValidatororglslangas the shader compiler executable. The README updates Windows requirements to list both compiler options and Python 3. The Linux package list now includespython3, and the macOS Homebrew package list now includespython.Suggested reviewers:
nmzikPriority: ⬇️ Low
Change: Bug fix
Merge Risk: ⚪ Minimal · up to
e4460CMake now accepts either compiler name while preferring glslangValidator, and the platform instructions include Python 3 for configuration. The available evidence establishes no concrete merge-blocking regression.
🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.
❤️ Share
Comment
@coderabbitai helpto get the list of available commands.@ -143,2 +143,3 @@- Qt 6 for MSVC 2022 64-bit, including Concurrent, Network, and Widgets- [glslang](https://github.com/KhronosGroup/glslang/releases) (`glslangValidator`) on `PATH`- [glslang](https://github.com/KhronosGroup/glslang/releases) (`glslang` or `glslangValidator`) on `PATH`- Python 3 on `PATH`; the bundled SPIRV-Tools runs it at configure time@coderabbitai[bot] on GitHub · 2026-10-07 19:59 UTC · original · edited 2026-10-07 20:44 UTC
🩺 Stability & Availability | 🟡 Minor | ⚡ Quick win
🔎 Supported by static analysis
🏁 Script executed:
Repository: KytyPS5/KytyPS5
Length of output: 2828
🏁 Script executed:
Repository: KytyPS5/KytyPS5
Length of output: 3546
🌐 Web query:
SPIRV-Tools commit 7f2d9ee926f98fc77a3ed1e1e0f113b8c9c49458 CMake Python configure💡 Result:
🌐 Web query:
site:github.com/KhronosGroup/SPIRV-Tools/blob/7f2d9ee926f98fc77a3ed1e1e0f113b8c9c49458 CMakeLists.txt Python3 python3💡 Result:
🏁 Script executed:
Repository: KytyPS5/KytyPS5
Length of output: 3603
🏁 Script executed:
Repository: KytyPS5/KytyPS5
Length of output: 8636
🐛 Document Python 3 for Linux and macOS
The bundled SPIRV-Tools configuration requires CMake to find Python 3 on every supported platform. Add it to the Linux and macOS prerequisites.
✅ Confirmed as addressed by @popcoder565
@coderabbitai[bot] on GitHub · 2026-10-07 19:59 UTC · original · reviewed
Actionable comments posted: 1
ℹ️ Review info
⚙️ Run configuration
611a6c8f-6515-43b0-8161-37805294e056📥 Commits
Reviewing files that changed from the base of the PR and between
45b6d2c597and99a35ca5bb.📒 Files selected for processing (2)
CMakeLists.txtREADME.mdIncluded review availability: This review used your included allowance. Your plan provides up to 8 included reviews per hour; 5 remain after this review.
@ -143,2 +143,3 @@- Qt 6 for MSVC 2022 64-bit, including Concurrent, Network, and Widgets- [glslang](https://github.com/KhronosGroup/glslang/releases) (`glslangValidator`) on `PATH`- [glslang](https://github.com/KhronosGroup/glslang/releases) (`glslang` or `glslangValidator`) on `PATH`- Python 3 on `PATH`; the bundled SPIRV-Tools runs it at configure time@popcoder565 on GitHub · 2026-10-07 20:42 UTC · original
Added
python3to the Linuxapt-getlist andpythonto the Homebrew line, since SPIRV-Tools runsfind_host_package(Python3 REQUIRED)on every platform.🤖 Addressed by Claude Code
@ -143,2 +143,3 @@- Qt 6 for MSVC 2022 64-bit, including Concurrent, Network, and Widgets- [glslang](https://github.com/KhronosGroup/glslang/releases) (`glslangValidator`) on `PATH`- [glslang](https://github.com/KhronosGroup/glslang/releases) (`glslang` or `glslangValidator`) on `PATH`- Python 3 on `PATH`; the bundled SPIRV-Tools runs it at configure time@coderabbitai[bot] on GitHub · 2026-10-07 20:44 UTC · original
@popcoder565Thanks.README.mdnow listspython3for Linux andpythonfor macOS. Both additions address this finding.If you found this review helpful, would you consider giving us a shout-out on X?
Thank you for using CodeRabbit!
✅ Review thread resolved.
You are interacting with an AI system.