fix(build): declare SPIRV headers for Vulkan helper tests #2093
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/2093"
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?
Imported from boykopovar/AnyPS5. Originally posted by STUPIDCONTEM on 2026-10-09T08:14:46Z.
Evidence review (2026-10-09)
Closed as superseded by merged #2099; do not resubmit the same build repair.
Game/title ID: none verified. No PS5 title execution is claimed.
Superseded by merged #2099 (
37bc6f2e74). Both changed CMake files are byte-identical to this PR. Closing this duplicate; the validation below is historical evidence for the same fix.What
Restore the full test build after VulkanTestDevice.hpp started including spirv/unified1/spirv.hpp for TargetHasCapability. Both agc_shader_fusion_tests and agc_driver_tests include this helper but lack the SPIRV-Headers include directory. Add it privately to those two targets; the execution-test targets already declare it.
Tested
Windows 10 Pro 19045, WinLibs GCC 15.2.0 UCRT posix SEH r7, Release, BUILD_TESTING=ON, ANYPS5_ENABLE_SPIRV_TOOLS=OFF, based on main
6cc0503dac.fatal error: spirv/unified1/spirv.hpp: No such file or directory.The base
6cc0503dincludes25f10087(the capability-helper merge). Independent validation by MarcZX100 reports successful Linux builds of both affected targets on6cc0503dwith SPIRV Tools disabled; that check did not run CTest. No title execution is claimed. This changes only test target dependencies, with no shader semantics or production code changes.Checklist
(historical base; current readiness not asserted)
Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-09T08:16:28Z.
Correction to my earlier comment: current upstream
mainis6cc0503dacc9d9697d23001d4103780ad2e9acba, and this PR is based on that exact commit. My request to rebase was incorrect; no rebase is needed. I independently built both affected targets with this change on Linux (BUILD_TESTING=ON,ANYPS5_ENABLE_SPIRV_TOOLS=OFF), and the PR description records the author’s Windows full-build and CTest results. I reviewed the two CMake changes and found them limited to adding the missing SPIRV-Headers include path to the two direct consumers.Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-09T08:19:01Z.
Additional independent validation: I rebased a clean checkout to current upstream
main6cc0503d, applied this PR’s two include-directory additions, and built bothagc_shader_fusion_testsandagc_driver_testssuccessfully on Linux withBUILD_TESTING=ONandANYPS5_ENABLE_SPIRV_TOOLS=OFF. This confirms both directly affected targets compile on the updated base. I have not run CTest for these targets in this check.Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-09T08:54:40Z.
Additional confirmation from fork Build run 37907057871: both Linux and Windows full builds stop at the same
agc_shader_fusion_testscompile command becauseVulkanTestDevice.hppcannot findspirv/unified1/spirv.hpp. The failing compiler commands contain the Vulkan-Headers include path but not3rdparty/SPIRV-Headers/include. The three relinker jobs pass. This run used the current PR head for #1042; the failure is the same build-target dependency gap addressed here.Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-09T09:01:14Z.
I checked the exact PR head: GitHub currently reports no upstream check runs for it. The PR body has the author’s Windows full-build and CTest results, and I independently built both affected targets on Linux; the latest fork Build also reproduces the missing-header failure on both Linux and Windows before this fix. If the upstream workflows are held for approval, could an authorized maintainer approve them so the PR can get exact-head checks?
Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-09T09:14:24Z.
The SPIRV-Headers include fix is merged in #2099 and remains on current upstream
main745b775e2d883c68560b2d87f4ab96a01e221ccf. This PR has no remaining distinct change; please close it as superseded. The build observations and include-path evidence are preserved in the merged history.Pull request closed