Commit Graph
9 Commits
Author SHA1 Message Date
Dean 559e4dc883 Merge pull request #9140 from xXPBSXx/fix/shader-cache-sources-test-timeouts
test(recompiler): give the shader cache source fixture room under load
2026-10-24 16:53:16 +13:00
Yunus Shaikh 3ded7d3269 fix(recompiler): hold the result-key memo in AtomicSharedPtr so libc++ builds
ResultKeyMemo declared std::atomic<std::shared_ptr<...>>. libc++ has no
atomic<shared_ptr> specialization, so with Apple clang the recompiler
headers stop at std::atomic's trivially-copyable static assertion
(request_serializer_tests in the macOS relinker build). The memo now uses
AtomicSharedPtr from libc, which is that specialization where the library
provides it and a locked shared_ptr with the same load and store otherwise.
The header joins the shader disk cache key's sources, and
request_serializer_tests gets core/libs on its include path.
2026-10-23 03:46:57 +05:30
emirplus ea51b1191f fix(tests): limit tool availability skip to argument-free discovery in shader cache test 2026-10-21 19:37:31 +03:00
emirplus c2c9aa75b8 fix(tests): guard main and provide defaults in shader cache sources test 2026-10-21 19:36:45 +03:00
xXPBSXxandClaude Sonnet 5.5 6d464e9495 test(recompiler): give the shader cache source fixture room under load
shader_cache_runtime_sources configures a CMake fixture several times with a
15 s limit per configure and 180 s for the whole test. On a loaded machine a
configure takes longer than that: under a parallel build (load average ~12 on
WSL2 Ubuntu) the test timed out in 2 of 2 runs, and on an idle Windows machine
it needs about 115 s of the 180 s. Raise the limits to 120 s per configure,
60 s per version query and 600 s for the test.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
2026-10-21 14:50:12 +02:00
orezraeyandClaude Opus 5.5 1529a5cf31 test(recompiler): read the cache fixture's build.ninja in the Ninja build-file encoding
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-20 07:45:53 -03:00
Adrià Franch 03833cabad test(recompiler): accept linker help probes in compiler stub 2026-10-19 04:28:37 +02:00
fdfawef324andCodex 42cbce1767 test(recompiler): allow macOS compiler metadata probes
Co-Authored-By: Codex <[email protected]>
2026-10-19 04:27:37 +02:00
fdfawef324andCodex f3f453ec9d fix(recompiler): key shader caches on compiled sources
Co-Authored-By: Codex <[email protected]>
2026-10-19 04:27:37 +02:00