fix(tests): load AGC libraries for the pipeline-clear regression on Windows #6827
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/6827"
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 simonbronk on 2026-10-16T13:31:25Z.
What
Follow-up to #6814; please merge it first. Its original commit
81e3db853c00453a04668e2c62e8b969f24d324bis preserved unchanged with its original authorship. Only the final commit is this Windows test-registration correction; until #6814 merges, the diff also contains that PR.The new
agc_pipeline_library_clear_waits_for_buildtest does not receive the Windows DLL search path that its neighbouringagc_pipeline_journaltest uses. On Windows its CTest invocation timed out after 30.02 seconds; launching with the same missing DLL directory exits with0xC0000135. The identical executable succeeds with the directory available.Add the new test to the existing
WIN32PATH property. No runtime or timeout change.Tested
Windows x64, supported WinLibs MinGW-w64 GCC 15.2.0 r7 UCRT, CMake 4.4.4, Release,
BUILD_TESTING=ON, SPIRV-Tools disabled. Current main82ddae75b6761757f3d3ba9c0723647469270f76, parent #681481e3db853c00453a04668e2c62e8b969f24d324b.libSceAgcDriver.prx, dependencies and graphics test executable. No CPU-guard bypass or production instrumentation.agc_driver_graphicsandagc_pipeline_journalpass; the new official regression times out. Two independent mocked-Vulkan controls against the actual DLL pass on #6814 and fail on main: clear during a library-part creation error and during a final-link error. They also check unrelated-device progress and rebuilding after clear. These controls are provided as an external fixture, not added to this PR.edbb564ebdb1bf30b8788d12c972292e5b0368bfpassesagc_driver_graphics,agc_pipeline_journalandagc_pipeline_library_clear_waits_for_build(3/3). Conventions pass.Checklist
pipeline-lifetime-windows.zip
Imported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-16T14:39:32Z.
Other open pull requests touch the same code. Merging one will break the other, or both implement the same thing. If this one builds on them, list them in Depends on.
main)core/libs/prx/libSceAgcDriver/tests/Graphics.cppL7811core/libs/prx/libSceAgcDriver/Graphics/src/PipelineLibrary.cppL55-56core/libs/prx/libSceAgcDriver/tests/Graphics.cppL5256, L7928Some comparisons could not be completed because a pull request conflicts with the base branch. Review these shared files manually before concluding that there is no overlap.
core/libs/prx/libSceAgcDriver/CMakeLists.txtcore/libs/prx/libSceAgcDriver/CMakeLists.txtcore/libs/prx/libSceAgcDriver/CMakeLists.txtcore/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cppcore/libs/prx/libSceAgcDriver/tests/Graphics.cppcore/libs/prx/libSceAgcDriver/CMakeLists.txtcore/libs/prx/libSceAgcDriver/Execution/include/Driver/Shaders/ShaderRegistry.hppcore/libs/prx/libSceAgcDriver/Execution/src/Driver/Shaders/ShaderRegistry.cppcore/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cppcore/libs/prx/libSceAgcDriver/tests/Graphics.cppcore/libs/prx/libSceAgcDriver/CMakeLists.txtcore/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cppcore/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cppcore/libs/prx/libSceAgcDriver/CMakeLists.txtcore/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cppcore/libs/prx/libSceAgcDriver/CMakeLists.txtcore/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cppcore/libs/prx/libSceAgcDriver/tests/Graphics.cppcore/libs/prx/libSceAgcDriver/CMakeLists.txtcore/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cppcore/libs/prx/libSceAgcDriver/CMakeLists.txtcore/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cppcore/libs/prx/libSceAgcDriver/Execution/include/Driver/Shaders/ShaderRegistry.hppcore/libs/prx/libSceAgcDriver/Execution/src/Driver/Shaders/ShaderRegistry.cppcore/libs/prx/libSceAgcDriver/CMakeLists.txtcore/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cppcore/libs/prx/libSceAgcDriver/CMakeLists.txtcore/libs/prx/libSceAgcDriver/CMakeLists.txtcore/libs/prx/libSceAgcDriver/Execution/src/Driver/Shaders/ShaderRegistry.cppcore/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cppcore/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cppcore/libs/prx/libSceAgcDriver/tests/Graphics.cppcore/libs/prx/libSceAgcDriver/CMakeLists.txtcore/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cppcore/libs/prx/libSceAgcDriver/CMakeLists.txtcore/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cppcore/libs/prx/libSceAgcDriver/tests/Graphics.cppcore/libs/prx/libSceAgcDriver/tests/Graphics.cppcore/libs/prx/libSceAgcDriver/CMakeLists.txtcore/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cppcore/libs/prx/libSceAgcDriver/Graphics/src/PipelineLibrary.cppcore/libs/prx/libSceAgcDriver/tests/Graphics.cppcore/libs/prx/libSceAgcDriver/CMakeLists.txtcore/libs/prx/libSceAgcDriver/Execution/src/Driver/Shaders/ShaderRegistry.cppcore/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cppcore/libs/prx/libSceAgcDriver/CMakeLists.txtcore/libs/prx/libSceAgcDriver/Execution/src/Driver/Shaders/ShaderRegistry.cppcore/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cppcore/libs/prx/libSceAgcDriver/tests/Graphics.cppcore/libs/prx/libSceAgcDriver/CMakeLists.txtcore/libs/prx/libSceAgcDriver/tests/Graphics.cppcore/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cppcore/libs/prx/libSceAgcDriver/tests/Graphics.cppcore/libs/prx/libSceAgcDriver/tests/Graphics.cppcore/libs/prx/libSceAgcDriver/CMakeLists.txtcore/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cppcore/libs/prx/libSceAgcDriver/tests/Graphics.cppcore/libs/prx/libSceAgcDriver/CMakeLists.txtcore/libs/prx/libSceAgcDriver/CMakeLists.txtcore/libs/prx/libSceAgcDriver/CMakeLists.txtcore/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cppcore/libs/prx/libSceAgcDriver/CMakeLists.txtcore/libs/prx/libSceAgcDriver/tests/Graphics.cppcore/libs/prx/libSceAgcDriver/tests/Graphics.cppcore/libs/prx/libSceAgcDriver/Execution/src/Driver/Shaders/ShaderRegistry.cppcore/libs/prx/libSceAgcDriver/tests/Graphics.cppcore/libs/prx/libSceAgcDriver/CMakeLists.txtcore/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cppcore/libs/prx/libSceAgcDriver/CMakeLists.txtcore/libs/prx/libSceAgcDriver/CMakeLists.txtcore/libs/prx/libSceAgcDriver/tests/Graphics.cppcore/libs/prx/libSceAgcDriver/CMakeLists.txtImported from boykopovar/AnyPS5. Originally posted by Amoenus on 2026-10-16T16:03:54Z.
@simonbronk @MarcZX100 The updated #6814 already contains this Windows registration correction. I fetched both published heads and verified that #6814
83eb3ed04ae2307f494da08010f123dcb165f861and this PR17647ac7f56b4d2ed5fe24efd0d91e792af00103have the same complete Git tree,edbb564ebdb1bf30b8788d12c972292e5b0368bf;git diffbetween them is empty.That is also the exact publishable tree named in this PR's Windows verification report. Those reported Windows results therefore cover the same file contents as the updated parent; this is a source-identity check, not another execution on my machine or a new current-main build claim.
There is no remaining file difference for this follow-up to contribute after #6814. Consolidating into #6814 appears appropriate. No PR or branch was modified by this check.
AI-assisted: Codex; checks performed locally.
Imported from boykopovar/AnyPS5. Originally posted by blawesom on 2026-10-16T18:56:09Z.
Duplicate pair heads-up for the maintainers: this PR and #6814 carry byte-identical diffs (217 lines across the same six files —
ShaderRegistry.hpp/.cpp,VulkanDevice.cpp,PipelineLibrary.cpp, the CMakeLists andGraphics.cpp— both addingAwaitLibraryPrebuilds()). #6814 was opened first (13:03 UTC); this one followed 28 minutes later. Whichever survives, the other can be closed as a duplicate — flagging both rather than choosing, since the call is yours.Imported from boykopovar/AnyPS5. Originally posted by oneandonlydean on 2026-10-17T00:03:13Z.
Closing in favour of #6814, which carries the same change, including this PR's Windows test fix, and is being tested on current main.
Pull request closed