perf(agc): prove cached image tables from a write index behind APS5_TABLE_INDEX #12745
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/12745"
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 EagleBearerYS on 2026-10-29T07:10:08Z.
What
A cached draw over an image table proves every sampled texture on every Revalidate: one write-watch collect, one depth-plane flush and one generation compare per element. So the proof grows with the table. On
main, the Village harness spends 1,607 µs of lookup per draw at 4,096 entries, 1,288 µs of it in Revalidate.With
APS5_TABLE_INDEX=1, the build subscribes its watched textures and watched T# table spans to a write index over 64 KiB blocks.APS5_DRAW_PIPELINE, and everything else.AnyPendingCpuWrites(#8895) finds no writer.AgcDriver::Mutex, asGuestMemory's are.Village harness (lavapipe, 850 draws per frame, the whole bindless table bound per draw, 256×256). Each figure is the median of 3 runs on one machine, with main → index → off in each round. Lookup is find + Revalidate per draw, on the draw pipeline's worker; wall is the harness's frame time per draw.
With the index off on the same binary, lookup is −4.3% to +4.7% of main and wall −1.4% to +5.7%. That's inside main's own spread between runs (6–16%), except for one off run at 4,096 / 2%.
Two tests change with it:
agc_draw_descriptors' first-layer case now asserts the proof path the switch implies. It also syncs its recorder when it leaves early, since a failed assertion crashed it.agc_driver_lookup_log_fits_build, which measures the lookup log after a full walk, pins the switch off.Resident Evil Village (PPSA01556)
Resident Evil Village (PPSA01556), static menu. Two blocks of four unprofiled runs: B A A B, then A B B A.
main319621ba2eplus #11580 and #10304, with a localscePadOpenanswer for port types 3 and 4 (commit 103015a9ca). B is the same tree plus this PR's four commits (e079ecb20e, the same added and removed lines as this head; commit e23a2e325e), run withAPS5_TABLE_INDEX=1.APS5_LAZY_SHADER_PREPARE=1 APS5_NO_GPL=1 APS5_HOST_IMPORT_MIB=6400 APS5_TRACE_SUMMARY_EVERY=10, with scripted pad input. B addsAPS5_TABLE_INDEX=1; nothing else differs.Driver.Packetis 10-27 % lower (3,303, 3,643, 3,343 and 3,922 against 3,847, 4,525, 4,712 and 4,466), and so isGraphics.Draw(662-780 against 820-979). Private memory is the same in both, 14.0-14.3 GB at menu +15. There were no aborts and no failed host imports.APS5_PROFILE_DRAW=1, menu +10..15, 31 ten-second[rescache]blocks, one boot per tree, so this isn't a pair.diag/village-combined-on-103015a9cac9cff8c839, the A tree above plus #12478, #12745 and #12921, run withAPS5_TABLE_INDEX=1.Driver.Packetper frame: 3,822 and 3,568 ms against 5,187 and 5,301 ms.memory_wait: 2,199 and 2,032 ms against 3,090 and 3,167 ms.APS5_TABLE_INDEX=1:agc_untracked_revalidateandagc_untracked_hint_proof, expect a full walk after a collect epoch. The index proves those draws by looking the elements up again, which re-reads the memory, so the content still follows every store.test/untracked-proof-index-on-12745, for #12745 if #12921 lands first;test/untracked-proof-index-on-12921, for #12921 if #12745 lands first.ctest -R '^agc'gives 1,048 passed, 73 skipped and 0 failed in both modes.Summary lines at menu +10 of the first block's A and B runs (main 103015a9ca, this change e23a2e325e)
trace_digest.py of A (103015a9ca)
seconds 960:30 from present 2901: 21 presents, frame p50 1497.6 / p90 1783.2 / p99 1903.7 / max 1903.7 ms, GPU busy 230.6 ms per present
NVIDIA GeForce RTX 3070 Laptop GPU, NVIDIA 617.42, Windows 10.0.26300, 3840x2160, commit 103015a9ca66, dropped: no
Slowest frames (largest slices inside each, inclusive)
Threads (ms per frame)
Largest slices (ms per frame, inclusive, all threads): Driver.Packet 4250.6, Driver.Packet.memory_wait 2505.1, Driver.WorkerWait 1594.9, Driver.WorkerWait.dequeue_order 1338.7, Driver.Packet.draw 1155.6, Driver.Draw 1154.5, Graphics.Draw 927.6, Graphics.Draw.draw_and_resource_release 906.3, Driver.Packet.dispatch 559.1, Driver.Dispatch 508.7
Longest waits
Largest GPU batches (GPU ranges inside, and the CPU slices that recorded each, inclusive)
trace_digest.py of B (e23a2e325e, APS5_TABLE_INDEX=1)
seconds 960:30 from present 3839: 20 presents, frame p50 1518.3 / p90 2022.3 / p99 2080.3 / max 2080.3 ms, GPU busy 241.8 ms per present
NVIDIA GeForce RTX 3070 Laptop GPU, NVIDIA 617.42, Windows 10.0.26300, 3840x2160, commit e23a2e325e57, dropped: no
Slowest frames (largest slices inside each, inclusive)
Threads (ms per frame)
Largest slices (ms per frame, inclusive, all threads): Driver.Packet 4306.1, Driver.Packet.memory_wait 2512.7, Driver.WorkerWait 1637.1, Driver.WorkerWait.dequeue_order 1382.7, Driver.Packet.draw 1134.2, Driver.Draw 1132.9, Graphics.Draw 856.1, Graphics.Draw.draw_and_resource_release 831.8, Driver.Packet.dispatch 624.3, Driver.Dispatch 562.4
Longest waits
Largest GPU batches (GPU ranges inside, and the CPU slices that recorded each, inclusive)
cda1b61077, merges `main`edf6804cf5intoa1345c6917with no conflicts and no adaptation; the branch's four commits are unchanged. Runs that don't namecda1b61077are ona1345c6917, on `main`85a4d7f8c8. - **Oncda1b61077:** - **Writer paths:** every path `main` added or changed since85a4d7f8c8still reaches a bump, fails the sweep, or is proved per element, so there's no new red case. - **Linux** (lavapipe, CI's flags), off and on: `ctest -R '^agc'` ran 1,118 tests: 1,044 passed, 73 skipped, 1 failed. The failure is `agc_driver_address_passes`: llvmpipe's JIT emits a GFNI instruction the build machine's CPU lacks, and it fails the same on `main` there. The three index tests passed 10 of 10 each, off and on. Every source's case goes red with its own source dropped. - **The harness at 4,096 entries:** lookup goes from 2,595 to 447 µs per draw at 0 % writes, and from 2,734 to 462 at 2 %. With the switch off, every median is inside `main`'s run-to-run range. - **GitHub's runners** ([run 40870995161](https://github.com/EagleBearerYS/AnyPS5/actions/runs/40870995161)): the branch's driver tests plus `^agc_driver_table_index`, `^agc_driver_lookup_log` and `^agc_driver_village`, 10 times, 0 failed. - Linux: 77 run, 70 passed, 7 skipped. - Windows: 93 run, 4 passed, 89 skipped, since the runner has no Vulkan device. - The libc and libkernel suites, run with `APS5_SKIP_TIMING_TESTS=1`, pass: 191 and 291 tests on Linux, 220 and 314 on Windows. - **GitHub's runners:** - [run 40200070500](https://github.com/EagleBearerYS/AnyPS5/actions/runs/40200070500), the branch's tests and the draw, descriptor and texture tests around them, 10 times, with no failures: - Linux: 68 tests, 7 of them skipped. - Windows: 84 tests, 81 of them skipped, since the runner has no Vulkan device. - [run 40201781277](https://github.com/EagleBearerYS/AnyPS5/actions/runs/40201781277), under the Khronos validation layer on Linux. The layer loaded on both sides, and the only VUID on `main` and on this branch is `VUID-VkDeviceCreateInfo-pNext-pNext`. - **Linux** (Ubuntu 24.04, gcc 13.3, lavapipe, CI's configure flags), tests as an unprivileged user: - **`agc_driver_table_index_validation`** (10 cases, one per event source plus a 2D-array case): 20 of 20. Each source's case goes red on this head with its own source dropped through `APS5_TABLE_INDEX_BREAK`. - **`agc_draw_descriptors` and `agc_driver_lookup_log_fits_build`:** 10 of 10 each, with the switch off and on. - **The image-table, resource, revalidate, template, sampled, storage and texture tests** (60): run off, on, and with `APS5_DRAW_PIPELINE=1` as well. Each run gave 59 passed and 1 skipped. The skip is `agc_storage_clear_hand_over`, because lavapipe makes no watched host import. - **Full ctest as CI runs it:** 2,265 tests, 2,168 passed, 91 skipped, 6 failed. The same with `APS5_TABLE_INDEX=1` for the whole run. The six failures in both are IPv6 socket tests, which the build machine can't run. - **Vulkan validation** (Khronos layer 1.3.275) on `main` and on this branch, off and on, with the same 18 focused tests plus the new one: no new `VUID-` errors. All three show only the layer's `VUID-VkDeviceCreateInfo-pNext-pNext`, for an extension structure the layer predates. - Not tested on a console. - **6a930fc672, a merge of `main`673fa865f4**, which brings johandavidcm's #11550 ([run](https://github.com/EagleBearerYS/AnyPS5/actions/runs/40980582487)). - **The conflict:** the `[rescache] revalidate (10 s)` profile line in `ShaderResources.cpp`. #11550 extends it with the full-walk times and the refused surfaces, and this PR adds the write-index line after it. - **The resolution:** the merge keeps #11550's lines, then this PR's block, and this PR's added and removed lines are unchanged. - **×10:** `agc_draw_descriptors`, #11550's `agc_driver_resource_cache_collect_refusals`, and the `^agc_driver_table_index`, `^agc_driver_lookup_log` and `^agc_driver_village` tests, with the tests for the files the merge changes. - Linux: 79 run, 71 pass, 8 skip, 0 fail. - Windows: 95 run, 4 pass, 91 skip (no Vulkan device), 0 fail. - The libc and libkernel suites run 194 and 294 tests on Linux and 224 and 317 on Windows, with 0 failed. The suites ran with `APS5_SKIP_TIMING_TESTS=1`, which relaxes `precise_wait`'s median bounds on GitHub's hosted runners. - **AMD Radeon RX 9070 XT (RDNA 4), by @bunbeans2-arch, at6a930fc672** ([comment](https://github.com/boykopovar/AnyPS5/pull/12745#issuecomment-6522007651)): Windows 11 Pro 10.0.22631, driver 32.0.32015.7029 (amdvlk64), MSYS2 UCRT64 g++ 16.1.0, Release, `ANYPS5_REQUIRE_VULKAN=1`, `ANYPS5_NO_SHADER_CACHE=1` and the Khronos validation layer (the loader inserts it in every run). The head merged onto `main`f7f03daf52, 3 runs per side: - `agc_driver_table_index_validation` passes 3 of 3, printing `passed` for array, compared, cpu, driver, import, pending, release, table and unwatch. Each run also prints `remap: skipped on Windows`, so the remap case isn't covered there. - `agc_driver_village_draw_cost` passes 3 of 3. - `agc_driver_recorder`, the `agc_recorder_*` tests and `agc_driver_lookup_log_fits_build` pass 3 of 3, as on `main`. - No `VUID-` line on either side. - **6e2e6cd6de, two commits on6a930fc672that fix profile counters with the switch on.** johandavidcm's `agc_driver_resource_cache_collect_refusals` test (#11550) showed that with `APS5_TABLE_INDEX=1`, a refusal was counted twice when the write index's proof fell back to the ordinary fast proof. No proof outcome changes. - **81b548fb75** counts a collect refusal, its fast-fail reason and a depth-guard refusal once. `agc_driver_resource_cache_collect_refusals_index` runs #11550's test with the index on. It failed 20 of 20 on6a930fc672and passed 20 of 20 with the commit ([result](https://github.com/EagleBearerYS/AnyPS5/blob/cloud-results/results/cloud-3/BF-326.md)). - **6e2e6cd6de** counts a pending fast-fail once. `agc_driver_resource_cache_pending_fail_count` and its `_index` twin check that each proof counts one foreign and one T1-eligible pending fast-fail, with the index off and on. With the index on, it failed 20 of 20 on81b548fb75(`pending foreign +2, snapshot +0, T1 eligible +2`) and passed 20 of 20 with the commit ([result](https://github.com/EagleBearerYS/AnyPS5/blob/cloud-results/results/cloud-5/BF-327.md)). - **Linux** (lavapipe, CI's flags, unprivileged user), on6e2e6cd6de: `ctest -R '^agc'` ran 1,133 tests: 1,059 passed, 74 skipped, 0 failed, with the switch off and on. - On a second machine, at81b548fb75, `agc_driver_image_sample_force_degamma` failed: llvmpipe's JIT emits an AVX-VNNI instruction under `GALLIUM_OVERRIDE_CPU_CAPS=avx` that the machine's CPU lacks. It fails the same way on6a930fc672there, and passes without the override. - **×10** on GitHub's runners ([run](https://github.com/EagleBearerYS/AnyPS5/actions/runs/41156213493)): the tests above plus `agc_draw_descriptors` and the `^agc_driver_table_index`, `^agc_driver_lookup_log`, `^agc_driver_village`, `^agc_driver_resource_cache` and `^agc_driver_sampled_cache` tests. - Linux: 92 run, 84 pass, 8 skip, 0 fail. - Windows: 108 run, 4 pass, 104 skip (no Vulkan device), 0 fail. - The libc and libkernel suites run 194 and 294 tests on Linux and 224 and 317 on Windows, with 0 failed. The suites ran with `APS5_SKIP_TIMING_TESTS=1`, which relaxes `precise_wait`'s median bounds on GitHub's hosted runners. - **Still counted twice:** two profile-only `[rescache]` counters, `countKeysProven` and `serialSkips`, can still count twice when the index's inner proof falls back. A follow-up fixes them. - **4922da2dec, a merge of `main`0836dfdf4f** ([run](https://github.com/EagleBearerYS/AnyPS5/actions/runs/41239531755)). #12862 moved `libSceAgcDriver`'s test registrations into `tests/cmake/`; the conflict in `CMakeLists.txt` is resolved with `tools/agc_test_split.py resolve`, which moves this PR's registrations into `tests/cmake/agc_driver_sampled_cache_budget_tests.cmake` (+7 −1). Nothing else conflicted. Apart from the move, this PR's diff is unchanged. With `-DBUILD_TESTING=ON`, `ctest -N` gives 3080 tests: `main`'s 3075 plus its 5 tests, each listed once. The 18 tests of this PR's verify set pass 10 runs in a row. Linux: 18 run, 18 pass, 0 skip, 0 fail. Windows: 18 run, 0 pass, 18 skip (no Vulkan device), 0 fail. Suites: libc and libkernel pass on Linux (199 and 308) and on Windows (226 and 330). The suites ran with `APS5_SKIP_TIMING_TESTS=1`, which relaxes `precise_wait`'s median bounds on GitHub's hosted runners. - **2537d44452andcdcb98496e, from oneandonlydean's review** ([comment](https://github.com/boykopovar/AnyPS5/pull/12745#issuecomment-6557352221)). - **2537d44452:** `TrimSubscriptionBumps` clears an overflowed subscription's marker and history only while the subscription's generation, read under the index mutex, still equals the trimmed baseline. Otherwise the marker stays and only the bumps at or before the baseline are dropped. Before, a bump between the proof's baseline read and the trim was lost: it went unrecorded because of the overflow, and the trim cleared the marker, so the next partial proof listed no block for it. The new `overflow` case runs that sequence on a real subscription and requires the next proof to fall back. - **cdcb98496e:** `tests/cmake/agc_driver_table_index_validation_tests.cmake` appends `APS5_TABLE_INDEX=1` to the test's default registration, which already exists, so a second `add_test` would fail the configure. The test returns 77 when guest memory has no write watch, so such a machine shows a skip, not a pass. - **Red** at4922da2decwith only the new case ([run](https://github.com/EagleBearerYS/AnyPS5/actions/runs/41305222690)): Linux fails with "overflow: trimming the overflowed history at the fallback's baseline forgot the unrecorded bump of block 2 after it, so the next proof would check 0 changed blocks instead of falling back". Windows skips it (no Vulkan device). - **×10 atcdcb98496e** ([run](https://github.com/EagleBearerYS/AnyPS5/actions/runs/41305214153)): this PR's 18-test set. Linux: 18 run, 18 pass, 0 skip, 0 fail. Windows: 18 run, 0 pass, 18 skip (no Vulkan device), 0 fail, so the overflow case has run only on Linux. The libc and libkernel suites run 199 and 308 tests on Linux and 226 and 330 on Windows, with 0 failed. The suites ran with `APS5_SKIP_TIMING_TESTS=1`, which relaxes `precise_wait`'s median bounds on GitHub's hosted runners. - **TechLevelZero's GPU bots atcdcb98496e,** each with `VK_LAYER_KHRONOS_validation`, on the tests this change can reach as `tools/select_tests.py` picks them from `main`'s build graph. Neither selection included `agc_driver_table_index_validation`, which `main` doesn't have yet. - **NVIDIA RTX 2000 Ada Generation** ([report](https://github.com/boykopovar/AnyPS5/pull/12745#issuecomment-6559168372)): driver 595.99.02, Ubuntu 26.04.1, this head merged onto `main`e6f5730, 2,537 of 3,148 tests selected. 2,488 passed, 4 failed and 45 skipped. None of the failures is new: 3 also fail on `main`, and 1 is unstable there. No new validation IDs over 936 GPU tests; 3 tests ran with the layer but aren't in `main`'s baseline, so they weren't compared. - **AMD Radeon RX 6300 (RADV NAVI24, Mesa 25.2.8)** ([report](https://github.com/boykopovar/AnyPS5/pull/12745#issuecomment-6558925551)): Ubuntu 26.04.1, this head merged onto `main`291e02d, 2,542 of 3,155 tests selected. 2,475 passed, 13 failed and 54 skipped. None of the failures is new: 12 also fail on `main`, and 1 is unstable there. No new validation IDs over 936 GPU tests; the same 3 tests weren't compared. - **80ea80ed5e, a merge of `main`acf7ac208a,** which brings Capmare's #10256 (one texture for the dynamic-resolution variants of an image table surface) and nikhilpanchal1's #10472 (image memory suballocation) ([×10](https://github.com/EagleBearerYS/AnyPS5/actions/runs/41778619158), [every `agc` test](https://github.com/EagleBearerYS/AnyPS5/actions/runs/41778644620)). - **The conflict:** one, at the top of `StorageTexture::markLayersPending` in `Texture.cpp`, where #10256 records the image's layout write and this PR notes the guest range as GPU-pending. The two are independent, and the merge keeps both, `main`'s first. This PR's diff over `main` is unchanged. - **×10:** `agc_draw_descriptors` and every test matching `^agc_driver_table_index`, `^agc_driver_lookup_log`, `^agc_driver_village`, `^agc_driver_resource_cache`, `^agc_driver_sampled_cache`, `^agc_driver_image_table`, `^agc_driver_image_memory` or `^agc_image_memory`, which takes in this PR's tests, #10256's `agc_driver_image_table_variants` and #10472's image-memory tests. Linux: 38 run, 38 pass, 0 skip, 0 fail. Windows: 38 run, 4 pass, 34 skip (no Vulkan device), 0 fail. The libc and libkernel suites run 301 and 325 tests on Linux and 331 and 343 on Windows, with 0 failed. The suites ran with `APS5_SKIP_TIMING_TESTS=1`, which relaxes `precise_wait`'s median bounds on GitHub's hosted runners. - **Every `agc` test, once:** Linux: 1,319 run, 1,233 pass, 85 skip, 1 fail. Windows: 1,356 run, 405 pass, 951 skip (no Vulkan device), 0 fail. The one failure is `agc_driver_pipeline_journal`'s 120-second timeout (`769/1319 Test #1398: agc_driver_pipeline_journal ***Timeout 120.05 sec`). It is `main`'s own cold run, near the limit: `main`086c0686c8times out the same way under `ctest -V` ([run](https://github.com/EagleBearerYS/AnyPS5/actions/runs/41736700046)). - **TechLevelZero's GPU bots at80ea80ed5e**, each with `VK_LAYER_KHRONOS_validation`: - **NVIDIA RTX 2000 Ada Generation** ([report](https://github.com/boykopovar/AnyPS5/pull/12745#issuecomment-6625922641)): driver 595.99.02, this head merged onto `main`5b1d381, 2,892 of 3,883 tests selected. 2,836 passed, 6 failed (none new: 3 also fail on `main`, 3 unstable on `main`), 50 skipped. No new validation IDs over 979 GPU tests. This PR's `agc_driver_table_index_validation`, `agc_driver_lookup_log_fits_build`, `agc_draw_descriptors` and four resource-cache tests (`agc_driver_resource_cache_collect_refusals`, `_collect_refusals_index`, `_pending_fail_count` and `_pending_fail_count_index`) passed. `agc_driver_village_draw_cost` wasn't in the selection. - **AMD Radeon RX 6300 (RADV NAVI24, Mesa 25.2.8)** ([report](https://github.com/boykopovar/AnyPS5/pull/12745#issuecomment-6626098833)): this head merged onto `main`b8efa62, 2,885 of 3,878 tests selected. 2,817 passed, 9 failed (none new: 8 also fail on `main`, 1 unstable on `main`), 59 skipped. No new validation IDs over 1,031 GPU tests. This PR's three added resource-cache registrations passed. - **11af6efcf0, a merge of `main`b11c7bf84f,** which brings #13858 ([×10](https://github.com/EagleBearerYS/AnyPS5/actions/runs/41801647695), [every `agc` test](https://github.com/EagleBearerYS/AnyPS5/actions/runs/41801673120)). - **The conflict:** one, at the end of `PrepareDrawBindings` in `ShaderResources.cpp`. #13858 moves the descriptor-set writes into a new `writeDrawSets`, and this PR keeps the bindings when no snapshot is selected but a texture was rebound (`selected.empty() && !rebound`). The merge takes #13858's split and keeps this PR's condition on the early return. This PR's diff over `main` is unchanged. - **×10:** the set above, with #13858's `^agc_driver_address_draw_space_reuse` and `^agc_driver_bda` tests added. Linux: 50 run, 50 pass, 0 skip, 0 fail. Windows: 50 run, 5 pass, 45 skip (no Vulkan device), 0 fail. The libc and libkernel suites run 303 and 327 tests on Linux and 334 and 345 on Windows, with 0 failed. The suites ran with `APS5_SKIP_TIMING_TESTS=1`, which relaxes `precise_wait`'s median bounds on GitHub's hosted runners. - **Every `agc` test, once:** Linux: 1,331 run, 1,245 pass, 85 skip, 1 fail. Windows: 1,370 run, 407 pass, 963 skip (no Vulkan device), 0 fail. The one failure is again `agc_driver_pipeline_journal`'s 120-second timeout (`776/1331 Test #1403: agc_driver_pipeline_journal ***Timeout 120.06 sec`), `main`'s own cold run. - **TechLevelZero's NVIDIA GPU test at11af6efcf0** ([report](https://github.com/boykopovar/AnyPS5/pull/12745#issuecomment-6633261022)), with `VK_LAYER_KHRONOS_validation`: driver 595.99.02, this head merged onto `main`b11c7bf, 2,907 of 3,894 tests selected. 2,851 passed, 7 failed (none new: 3 also fail on `main`, 4 unstable on `main`), 49 skipped. No new validation IDs over 986 GPU tests. This PR's `agc_driver_lookup_log_fits_build`, `agc_draw_descriptors` and four resource-cache tests (`agc_driver_resource_cache_collect_refusals`, `_collect_refusals_index`, `_pending_fail_count` and `_pending_fail_count_index`) passed. `agc_driver_table_index_validation` and `agc_driver_village_draw_cost` weren't in the selection. - **fa7e8e3dfd, a merge of `main`b611e634f7** ([×10](https://github.com/EagleBearerYS/AnyPS5/actions/runs/41909249974), [every `agc` test](https://github.com/EagleBearerYS/AnyPS5/actions/runs/41909420658)), which brings oneandonlydean's #14838 (the carry of #9012: template audits only after the host import set changed). - **The conflict:** one, in `docs/dev/ENVIRONMENT.md`, where this PR's `APS5_TABLE_INDEX` and `APS5_TABLE_INDEX_BREAK` rows sit beside #14838's new `APS5_TEMPLATE_AUDIT_ALWAYS` and `APS5_TEMPLATE_AUDIT_BUDGET` rows and its reworded `APS5_TEMPLATE_AUDIT_MS` row. The merge keeps all five, in name order. The code merged without conflicts, `ShaderResources.cpp` included, which #14838, #15682, #15741 and #15783 changed. This PR's diff over `main` is unchanged. - **×10:** the same set as at11af6efcf0. Linux: 51 run, 51 pass, 0 skip, 0 fail. Windows: 51 run, 5 pass, 46 skip (no Vulkan device), 0 fail. The libc and libkernel suites run 303 and 329 tests on Linux and 335 and 360 on Windows, with 0 failed. The suites ran with `APS5_SKIP_TIMING_TESTS=1`, which relaxes `precise_wait`'s median bounds on GitHub's hosted runners. - **Every `agc` test, once:** Linux: 1,337 run, 1,250 pass, 85 skip, 2 fail. Windows: 1,376 run, 411 pass, 965 skip (no Vulkan device), 0 fail. Both failures are `main`'s: - `agc_driver_image_gather_volume` ("the vertex shader was not emitted in the device's module form") fails the same way in `main`'s own `linux` check on638187daec, the #15855 merge ([job](https://github.com/boykopovar/AnyPS5/actions/runs/41906999149/job/126869200694)). JJenkx's #15875, merged afterb611e634f7, updates the test for the specialized vertex form #14265 emits. - `agc_driver_pipeline_journal`'s 120-second timeout (`778/1337 Test #1429: agc_driver_pipeline_journal ***Timeout 120.11 sec`), `main`'s own cold run. - **TechLevelZero's AMD GPU test at11af6efcf0** ([report](https://github.com/boykopovar/AnyPS5/pull/12745#issuecomment-6637406740)), with `VK_LAYER_KHRONOS_validation`: AMD Radeon RX 6300 (RADV NAVI24, Mesa 25.2.8), this head merged onto `main`b11c7bf, 2,907 of 3,894 tests selected. 2,838 passed, 9 failed (none new: 8 also fail on `main`, 1 unstable on `main`), 60 skipped. No new validation IDs over 986 GPU tests. As in the NVIDIA run, this PR's `agc_driver_lookup_log_fits_build`, `agc_draw_descriptors` and four resource-cache tests passed, and `agc_driver_table_index_validation` and `agc_driver_village_draw_cost` weren't in the selection.Checklist
main; no other open PR implements the same functionsNotImplemented_nid_no_patch); silent stubs are listed under Silent stubs in their library's technical debt file.mdfiles or images added to the repository (attach them to this PR)Graphics/src/ShaderResources.cppand conflict there, and #12921 takes the second merge with the test-only update ontest/untracked-proof-index-on-12921)Related:
mainand in this branch sincefa7e8e3dfd. It composes with the index's import source: its audit runs only after the host import set changes, unlessAPS5_TEMPLATE_AUDIT_ALWAYSis set, so while imports hold, the index has no periodic full walk.APS5_GPU_HEAP, the index's in-place re-bind must also refresh a heap stage's slots.