Skip to content

perf(agc): create the host import of a linear color target in registered memory - #9879

Merged
oneandonlydean merged 10 commits into
boykopovar:mainfrom
thuanquang:fix/linear-target-import-creation
Oct 26, 2026
Merged

oneandonlydean merged 10 commits into
boykopovar:mainfrom
thuanquang:fix/linear-target-import-creation

Conversation

@thuanquang

@thuanquang thuanquang commented Oct 22, 2026 •

Copy link
Copy Markdown
Contributor

What

A linear color target gets a resident image only when its memory already has a host import (#6892). Every other draw into it is synchronous: copied in, drawn, waited for on the CPU and copied back. #6892 only looked the import up, because a first version that made it broke agc_driver_pixel_ancillary_word and agc_driver_pixel_fixed_point_position: the import over a short-lived block was compared, and the next block allocated at the same address stayed outside the write watch. Since #6759, a page committed again inside an excluded block is watched again.

On a lookup miss, the draw now makes the import itself, with a new ImportRequester::ColorTarget, when all of these hold:

  • the target could become resident anyway (resident linear targets, resident targets and the detiler are enabled);
  • its registered ranges are writable, and the whole import run, not only the target, is write-watched;
  • the import keeps it watched: a separate alias of shared memory, a direct import of private memory that settles on Windows (1 MiB or more, when the import probe keeps the watch and a settle queue exists), or an import the probe keeps watched on other systems, where a dma-buf import must stay watched too if the range has shared backing.

On Windows, resident direct-memory runs, where PPSA14363's targets live, are read-write, write-watched private pages since #9181, so they pass the writable check like any other private page.

A refused run is remembered until the registry, the committed pages (Windows) or the write watch change, or a shared alias is mapped over it, so a target that stays synchronous costs a map lookup per draw instead of a page scan. importRunAt checks this after its remembered failures and refusals and before it retires or evicts anything, through two helpers its own decision now uses: importWatching (settled, watched host-pointer and dma-buf imports) and importPages (the Windows page scan, moved out of importRunAt). A target whose import would be compared stays synchronous, because a compared import makes every refresh of the resident image compare the whole target. A target over an import that already exists is resident as before, with ExistingHostImportFor as the fast path, and APS5_NO_RESIDENT_LINEAR=1 still keeps every linear target synchronous. The debt file gets an entry for the targets that stay synchronous.

This is the case draft #1191 (@MichonGoddijn231849) was to bring back on top of #6892 once partial-block write-watch coverage existed. It builds on #9685: without #9685, a resident linear target is stored whole after every draw, which is slower than the synchronous path for PPSA14363's three 24 MiB targets. The branch therefore contains #9685's commits; this PR's change is commit 175d986c28. After it come @oneandonlydean's merge of main (f59787b272) and a merge of #9685's current head 5b5dcaeaff, then a merge of main 6c52b649e7 (fe1927d398), then a merge of #9685's head d36311d661 (b58a21d9f4).

Why

PPSA14363 (METAL GEAR SOLID - Master Collection Version, own dump) draws its PS1 game into three linear 3072x2048 RGBA8 color targets whose memory has no host import, so on main every draw into them is synchronous. Bring-up thread: #9615.

Tested

Windows 11 26200, Radeon RX 6700 XT (gfx1031), AMD driver 32.0.21045.16010, WinLibs GCC 15.2.0 r7, Release, BUILD_TESTING=ON.

Current head e1fa56c7bf: main ae7d59258e merged in after #9685 merged (6adad6733c, clean), plus one commit for #9181. #9181 stopped write-protecting resident runs on Windows, so the special case that counted armed read-only private pages as writable could no longer change a decision, and --armed/--armed-gate could only skip ("the collects did not arm the resident run read-only"). The commit removes the special case; resident runs pass as writable private pages. --armed becomes --direct and --armed-gate becomes --private-gate, without the arming step (see the test list). On the RX 6700 XT:

  • The build is clean, and agc_driver_linear_target_import_creation runs every case with no skip.
  • The focused set plus agc_driver_bda_* (57 ctest entries) passes 3 of 3. With the Khronos validation layer, 57 of 57 pass with 0 VUID- lines (the layer was inserted 78 times, no "was not found" line).
  • Red: with the gate's page walk removed (the registry's writable flag trusted), the test fails 3 of 3 at the --private-gate block: "read-write alias of shared guest memory 0x200100000+0x20000: the range does not start at a shared view".
  • PPSA14363 on this head, merged onto main 5b5d24cb22 (2026-10-26), with the exclusive GPU lock and the build lock. League of Legends was open on the PC, and no other game ran. The same route2 input on both sides, 480 s each:

Earlier head 5575dc3108: a merge of #9685's head d6d8966bba (main b930da950d merged into #9685, only CMakeLists.txt conflicted there); this merge itself was clean, and the head merges cleanly with main 6cd36e6517. On the RX 6700 XT the build is clean. The focused set plus agc_driver_bda_* (55 ctest entries) passes 3 of 3. With the Khronos validation layer, 55 of 55 pass with 0 VUID- lines (the layer was inserted 74 times, no "was not found" line). ctest -R "^(agc|shader)_" passes 1010 of 1015: the 3 sample_order tests main fails on this GPU, plus agc_driver_sgpr_pattern_fill_keys and an agc_async_log_fatal timeout, both while four game instances ran next to the suite; run alone against this head's libraries, both pass 5 of 5.

Earlier head b58a21d9f4: a merge of #9685's head d36311d661, the per-64 KiB-block keep for drawn targets from @oneandonlydean's review on #9685 (details and red/green there). Only the debt file conflicted: #9685's narrowed entry and this PR's entry on the next line; both are kept. Tested on this head (RX 6700 XT, AMD driver 32.0.21045.16010): builds clean; the focused set with agc_driver_bda_* and #9685's agc_driver_linear_target_direct_write_completion (54 ctest entries) passes 3 of 3; with the Khronos validation layer 54 of 54, 0 VUID- lines, the layer inserted 72 times; ctest -R "^(agc|shader)_" 996 of 1002 with the 3 sample_order failures main has on this GPU and 3 timeouts under load from a parallel game run (shader_cache_runtime_sources, agc_driver_native_fmask, agc_driver_native_depth_clears), which pass when rerun alone.

Earlier head fe1927d398: a merge of main 6c52b649e7 on top of bb58e7ddbd. It resolves the logic conflict with #7465 in importRequesterTests that @oneandonlydean found: #7465's mapped range keeps pieces 6 and 7, and this PR's color-target block moved to its own pieces, 10 (writable) and 9 (read-only), with piece 8 left unregistered so that 10 is a run of its own, as 6 was before. Tested on the merge (RX 6700 XT, AMD driver 32.0.21045.16010): builds clean; the focused set with agc_driver_bda_* (54 ctest entries) passes 3 of 3; with the Khronos validation layer 54 of 54 pass, 0 VUID- lines, the layer inserted 72 times, no "was not found" line; ctest -R "^(agc|shader)_": 999 of 1002 pass, with the same 3 sample_order failures as main on this GPU. On fe1927d398 itself (only BdaResources.cpp differs from that merge): agc_driver_bda_* (7 entries) passes 3 of 3, and 7 of 7 with the validation layer, 0 VUID- lines.

Earlier head bb58e7ddbd: @oneandonlydean's merge of main 11d6efa06c, then a merge of #9685's head 5b5dcaeaff, which adds a fix to #8126's keep rule for drawn targets and a test (#9685's body). The runs below are on 04a6c9e4cc: this PR's commit on the same #9685 change, rebased onto 11d6efa06c. Its tree differs from this head only in the position of one add_test block in CMakeLists.txt and in one debt entry. Builds clean. The focused set with agc_driver_linear_target_import_creation (47 ctest entries) passes 3 of 3. With the Khronos validation layer: 47 of 47, 0 VUID- lines, the layer inserted 65 times, no "was not found" line. ctest -R "^(agc|shader)_": 998 of 1001 pass, with the same 3 failures as main on this GPU (agc_driver_sample_order, _grid_reference, _recipe_depth_locations).

New test agc_driver_linear_target_import_creation, eight cases. On systems other than Windows it forces ImportWatch::Watch for its run, so the watched cases also run on a device whose imports are compared (lavapipe in CI):

  • --created: a target in freshly registered, write-watched memory. The draw is recorded, the target is imported, and its memory stays watched.
  • --reused: a block freed and allocated again at the same address. It is watched, and the next draw starts from the CPU's bytes.
  • --direct (Windows): a 2 MiB resident direct-memory run (GuestArenaMapDirect), the layout PPSA14363's targets use. The draw is recorded, the target is imported, it stays watched, and the pixels are right after the device wait.
  • --private-gate (Windows, whatever the import probe says): a 512 KiB resident direct-memory run and a 128 KiB block whose second half is committed read-only while the registry still calls it writable. Under Unwatch, the run's import, which would be compared (it is below the settle floor), is refused. Under Watch, the read-only block is refused without being counted, and the run is imported.
  • --outside-watch: a 1 MiB block whose last 64 KiB was taken out of the write watch, with the target at its start. No import, a synchronous draw, the target stays watched, and the pixels are right after the device wait.
  • --rewatched (Windows): the same layout, refused once; then the unwatched block is committed again, which brings it back into the write watch without a registry change. The next draw is recorded and imported, so the remembered refusal was dropped.
  • --read-only-registry: a 1 MiB write-watched block that the guest registered read-only. No import and a synchronous draw.
  • --compared: a 64 KiB block whose import would be compared. No import, a synchronous draw, and the block stays watched.

The import requester tests in BdaResources.cpp count the new requester and check that it makes no compared import, no import of a range the guest cannot write, and no import of heap memory outside the write watch.

  • Red, one part of the change removed at a time, each built and run on its own, on 085f3cf29a (this change before the review fixes) except the whole-run check, which was removed from the review-fix tree:
    • The draw no longer creates the import (Draw.cpp of fix(agc): store resident linear color targets at completion points, limited to their drawn rectangles #9685's head, the rest of the change kept): --created, --reused and --armed (now --direct, measured before fix(libc): stop write-protecting resident runs on Windows #9181 with its arming step) fail ("...the draw into a linear target in registered, write-watched memory without a host import waited for the GPU instead of being recorded"); --armed-gate and --compared pass.
    • The gate removed: --compared fails, and so does agc_driver_graphics ("a color target's import was made where imports of its memory are compared").
    • The whole-run watch check removed: --outside-watch fails ("run outside the write watch: a linear target whose import run has a block outside the write watch was drawn into a resident image").
    • The registry's writable flag trusted for every private page, without asking for the guest protection: --armed-gate (now --private-gate) fails, because the import of the block committed read-only throws ("read-write alias of shared guest memory ...: the range does not start at a shared view").
    • The registry's writable check removed from the gate (on 4bd83988c7): --read-only-registry fails ("range registered read-only: a linear target in memory the guest registered read-only was drawn into a resident image").
  • Current head 175d986c28, restacked without conflicts on fix(agc): store resident linear color targets at completion points, limited to their drawn rectangles #9685's rebased head cee2512ef8 (main ff191e29d1; still merges cleanly with 513ca7e558): the focused set plus main's agc_driver_linear_readback_label and agc_recorder_* entries, 26 ctest entries, pass 3 of 3. With the Khronos validation layer on the same set, this head passes 26 of 26 (layer inserted 33 times) and main 513ca7e558 16 of 16 (19 times), with 0 VUID- lines and no "was not found" line on either. This PR's commit is unchanged by the restack; the results below are from the commits they name.
  • Green: on 4bd83988c7 (rebased onto main 9d6adeb550), 18 ctest entries, 3 rounds each, all pass: the new test; fix(agc): store resident linear color targets at completion points, limited to their drawn rectangles #9685's linear-target tests (completion_points with its sync_flip and unpipelined entries, completion_stores, cpu_writes, dispatch_access, draw_bindings, rectangle_bound, resident); address_passes with address_passes_draw_transitions and address_passes_targets_split; store_over_untracked; graphics; pixel_ancillary_word; pixel_fixed_point_position; and host_import_windows.
  • Validation layer (VK_INSTANCE_LAYERS=VK_LAYER_KHRONOS_validation, ANYPS5_NO_SHADER_CACHE=1, ANYPS5_REQUIRE_VULKAN=1, ctest -V, VK_LOADER_DEBUG=layer), same entries: on fix(agc): store resident linear color targets at completion points, limited to their drawn rectangles #9685's head e5edf0cd4a (this PR's base), 17 of 17 pass (all but the new test), with the layer inserted 25 times. On this head, 18 of 18 pass, with the layer inserted 26 times. Neither log has a VUID- line or a "was not found" line.
  • Existing tests: none needed APS5_NO_RESIDENT_LINEAR. The existing linear-target tests use private blocks of 16 to 128 KiB, which the gate keeps synchronous on Windows. uint8x4_color_target_no_resident keeps APS5_NO_RESIDENT_TARGETS=1, which now also prevents the import creation. With the gate disabled, so that the small-block tests ran resident even over compared imports, pixel_ancillary_word, pixel_fixed_point_position, pixel32_ar_export, pixel_uint16_export, pixel_sample_coverage, srgb8 and uint8x4 all passed, which also shows that perf(agc): linear color targets over imported memory get a resident image #6892's original failure no longer reproduces since fix(agc): restore write-watch coverage for remapped pages #6759.
  • Full ctest -R "^agc_" on this head 4bd83988c7 (base main 9d6adeb550): 911 of 914 pass; the 3 failures are the three sample_order entries that main fails on this GPU and toolchain. Before the rebase, f60f66658e on main d6eafa54d0 passed 895 of 900, with the same failures plus two that main has since fixed.

PPSA14363 (measured before #9181): MGS1's PS1 part, on the heads of that time. main ff191e29d1 libraries (prepared from #9685's build, so #9115's trophy fix is on main), only libSceAgcDriver.prx swapped: #9685's head cee2512ef8 (this PR's base) against this head 175d986c28, both built clean from their commits. Same scripted route, 300 s, APS5_TRACE_SUMMARY_EVERY=10, the first 100 frame dumps (every 30th present), a trace window at 200 s, in the order this PR, base, this PR, all three in one hold of the GPU and build locks with no game running on the PC. Per 10 s window from 80 s, when the PS1 part starts, without the window that ends with the trace write:

MGS1's PS1 part cee2512ef8 (#9685) this PR, two runs
presents per 10 s 8 to 337 600
frame p99 211.3 to 3385.2 ms 17.0 to 17.4 ms
frame max 214.1 to 3385.2 ms 17.3 to 19.6 ms

On the base, every draw into the three targets is synchronous: the trace window spends 129.4 ms per frame in ColorTarget.Write and 84.3 ms in Graphics.Wait.

Summary lines of the trace window (200 to 220 s), the base first:

{"commit":"cee2512ef812","dirty":false,"env":{"APS5_DUMP_FRAMES":"100","APS5_DUMP_FRAMES_EVERY":"30","APS5_PAD_INPUT_FILE":"<path>","APS5_TRACE_SECONDS":"200:20","APS5_TRACE_SUMMARY_EVERY":"10"},"gpu":"AMD Radeon RX 6700 XT","driver":"AMD proprietary driver 26.10.1 (AMD proprietary shader compiler)","os":"Windows 10.0.26200","cpu":"AMD Ryzen 5 5600X 6-Core Processor","cpu_threads":12,"memory_mib":32690,"title_id":"PPSA14363","title":"METAL GEAR SOLID - Master Collection Version","content_version":"03.000.000","resolution":"1920x1080","window":{"spec":"seconds 200:20","first_present":4104,"ms":20582.143},"presents":58,"frame_ms":{"p50":616.164,"p90":735.007,"p99":786.226,"max":786.226},"gpu_busy_ms_per_present":4.95,"worker_busy_pct":{"queue worker 0x0":96.906},"top_phases_ms_per_frame":{"Driver.Packet":343.874,"Graphics.Draw":343.452,"Driver.Packet.draw":288.471,"Driver.Draw":288.446,"Driver.Draw.draw_enqueued":287.151,"ColorTarget.Write":129.356,"Graphics.Wait":84.328,"Graphics.Wait.fence_wait":83.858},"trace_dropped":false,"trace":"aps5-trace-cee2512ef812-25568.json.gz"}
{"commit":"175d986c2890","dirty":false,"env":{"APS5_DUMP_FRAMES":"100","APS5_DUMP_FRAMES_EVERY":"30","APS5_PAD_INPUT_FILE":"<path>","APS5_TRACE_SECONDS":"200:20","APS5_TRACE_SUMMARY_EVERY":"10"},"gpu":"AMD Radeon RX 6700 XT","driver":"AMD proprietary driver 26.10.1 (AMD proprietary shader compiler)","os":"Windows 10.0.26200","cpu":"AMD Ryzen 5 5600X 6-Core Processor","cpu_threads":12,"memory_mib":32690,"title_id":"PPSA14363","title":"METAL GEAR SOLID - Master Collection Version","content_version":"03.000.000","resolution":"1920x1080","window":{"spec":"seconds 200:20","first_present":11899,"ms":20003.081},"presents":1199,"frame_ms":{"p50":16.683,"p90":16.897,"p99":17.063,"max":17.768},"gpu_busy_ms_per_present":1.811,"worker_busy_pct":{"queue worker 0x0":6.171},"top_phases_ms_per_frame":{"VideoOut.Flip":13.265,"VideoOut.Flip.vblank_wait":12.494,"Driver.Packet":1.026,"Driver.Packet.draw":0.676,"Driver.Draw":0.666,"Graphics.Draw":0.647,"VideoOut.Flip.present":0.622,"Driver.Present":0.619},"trace_dropped":false,"trace":"aps5-trace-175d986c2890-24864.json.gz"}

tools/performance_compare.py on them: mean frame 354.865 to 16.683 ms, p99 786.226 to 17.063 ms, GPU busy per present 4.950 to 1.811 ms. The traces are not attached, because these runs come from a commercial title (asked on #9373 whether summary lines are enough).

tools/check_conventions.py passes.

Overlap: #9402 (@janzezno) changes refreshImports right after the line where this PR clears its remembered refusals; agreed on #9879 that neither depends on the other and the one that merges second rebases. #10025 (mehmetbayoglu) changes the pageReadOnly condition of the page walk in importRunAt, which this PR moves into importPages: a textual conflict, so the one that merges second carries that line over.

Left for follow-ups (from the reviews): a refused run that joins a neighbouring range is not retried with the target's own range, and an import made by another requester can still replace the target's import with one over a partly unwatched run.

Not tested: Linux and macOS. The gate's shared-backing and dma-buf branch has never run, and this head's non-Windows code (that branch, and the test's ImportWatch::Watch override) has not been compiled outside CI; the version before the review fixes was syntax-checked with g++ 13. GPUs other than the RX 6700 XT.

Checklist

🤖 Generated with Claude Code

@MarcZX10

Copy link
Copy Markdown
Contributor

This is a substantial follow-up to #9685, and the body clearly separates measured behavior from the unresolved dma-buf/shared-backing path and the two known import-run limitations. The test matrix, negative controls, validation-layer runs, and same-title A/B are detailed. The branch is exactly stacked on current #9685 head 10a8319a94, but both are based on d6eafa54 and this PR is 210 commits behind current upstream main 7c900bbc. Please rebase the stack onto current main, preserve the #9685/#8246 sequencing, and rerun the focused 18 AGC tests plus the same-scene comparison on the final combined tree. All hosted product jobs are skipped; the Windows GPU evidence is author-reported, and the Linux shared-backing/dma-buf branch remains explicitly untested.

@github-actions

github-actions Bot commented Oct 22, 2026 •

Copy link
Copy Markdown

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.

Pull request Conflicting files (lines on main) Same exports Same new files
PR 4449 core/libs/prx/libSceAgcDriver/Graphics/src/GuestBufferMemory.cpp L820-832
PR 6926 docs/dev/debt/libSceAgcDriver.md L132
PR 7514 docs/dev/ENVIRONMENT.md L311-312
PR 9402 core/libs/prx/libSceAgcDriver/Graphics/src/GuestBufferMemory.cpp L2109
PR 9891 core/libs/prx/libSceAgcDriver/Graphics/src/Draw.cpp L2569-2570
PR 10025 core/libs/prx/libSceAgcDriver/Graphics/src/GuestBufferMemory.cpp L1920-1934
PR 10443 core/libs/prx/libSceAgcDriver/Graphics/src/GuestBufferMemory.cpp L1956-1958

Some 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.

Pull request Shared files not compared
PR 1368 core/libs/prx/libSceAgcDriver/Graphics/src/Draw.cpp
PR 1395 core/libs/prx/libSceAgcDriver/Graphics/src/Draw.cpp
PR 1896 docs/dev/ENVIRONMENT.md
PR 2434 core/libs/prx/libSceAgcDriver/Graphics/include/GuestBufferMemory.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/GuestBufferMemory.cpp
docs/dev/debt/libSceAgcDriver.md
PR 4448 core/libs/prx/libSceAgcDriver/Graphics/include/GuestBufferMemory.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/GuestBufferMemory.cpp
core/libs/prx/libSceAgcDriver/tests/BdaResources.cpp
docs/dev/debt/libSceAgcDriver.md
PR 5021 core/libs/prx/libSceAgcDriver/Graphics/src/GuestBufferMemory.cpp
core/libs/prx/libSceAgcDriver/tests/BdaResources.cpp
PR 5058 docs/dev/debt/libSceAgcDriver.md
PR 5372 core/libs/prx/libSceAgcDriver/Graphics/src/GuestBufferMemory.cpp
core/libs/prx/libSceAgcDriver/tests/BdaResources.cpp
docs/dev/debt/libSceAgcDriver.md
PR 5441 core/libs/prx/libSceAgcDriver/Graphics/src/Draw.cpp
PR 5609 core/libs/prx/libSceAgcDriver/Graphics/src/Draw.cpp
PR 5925 core/libs/prx/libSceAgcDriver/Graphics/src/Draw.cpp
docs/dev/debt/libSceAgcDriver.md
PR 6188 core/libs/prx/libSceAgcDriver/Graphics/src/Draw.cpp
PR 6194 docs/dev/debt/libSceAgcDriver.md
PR 6197 core/libs/prx/libSceAgcDriver/Graphics/include/GuestBufferMemory.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/GuestBufferMemory.cpp
core/libs/prx/libSceAgcDriver/tests/BdaResources.cpp
PR 6223 docs/dev/debt/libSceAgcDriver.md
PR 6273 docs/dev/debt/libSceAgcDriver.md
PR 6280 docs/dev/debt/libSceAgcDriver.md
PR 6300 docs/dev/debt/libSceAgcDriver.md
PR 6412 core/libs/prx/libSceAgcDriver/tests/BdaResources.cpp
docs/dev/debt/libSceAgcDriver.md
PR 6481 core/libs/prx/libSceAgcDriver/Graphics/include/GuestBufferMemory.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/GuestBufferMemory.cpp
docs/dev/debt/libSceAgcDriver.md
PR 6548 core/libs/prx/libSceAgcDriver/Graphics/src/GuestBufferMemory.cpp
docs/dev/debt/libSceAgcDriver.md
PR 6549 docs/dev/debt/libSceAgcDriver.md
PR 6808 docs/dev/debt/libSceAgcDriver.md
PR 6918 core/libs/prx/libSceAgcDriver/Graphics/src/GuestBufferMemory.cpp
core/libs/prx/libSceAgcDriver/tests/BdaResources.cpp
PR 6924 docs/dev/ENVIRONMENT.md
PR 6959 core/libs/prx/libSceAgcDriver/Graphics/src/Draw.cpp
docs/dev/debt/libSceAgcDriver.md
PR 6977 docs/dev/debt/libSceAgcDriver.md
PR 7201 core/libs/prx/libSceAgcDriver/Graphics/src/GuestBufferMemory.cpp
core/libs/prx/libSceAgcDriver/tests/BdaResources.cpp
PR 7256 core/libs/prx/libSceAgcDriver/Graphics/src/Draw.cpp
docs/dev/debt/libSceAgcDriver.md
PR 7275 core/libs/prx/libSceAgcDriver/Graphics/src/Draw.cpp
PR 7369 core/libs/prx/libSceAgcDriver/Graphics/src/Draw.cpp
PR 7449 docs/dev/ENVIRONMENT.md
docs/dev/debt/libSceAgcDriver.md
PR 7457 core/libs/prx/libSceAgcDriver/Graphics/include/GuestBufferMemory.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/GuestBufferMemory.cpp
docs/dev/ENVIRONMENT.md
PR 7604 docs/dev/ENVIRONMENT.md
docs/dev/debt/libSceAgcDriver.md
PR 7642 core/libs/prx/libSceAgcDriver/Graphics/include/GuestBufferMemory.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/Draw.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/GuestBufferMemory.cpp
core/libs/prx/libSceAgcDriver/tests/BdaResources.cpp
docs/dev/ENVIRONMENT.md
docs/dev/debt/libSceAgcDriver.md
PR 8004 docs/dev/ENVIRONMENT.md
PR 8223 core/libs/prx/libSceAgcDriver/Graphics/src/Draw.cpp
docs/dev/debt/libSceAgcDriver.md
PR 8246 core/libs/prx/libSceAgcDriver/Graphics/src/Draw.cpp
docs/dev/ENVIRONMENT.md
PR 8319 docs/dev/debt/libSceAgcDriver.md
PR 8484 docs/dev/ENVIRONMENT.md
PR 8542 docs/dev/ENVIRONMENT.md
docs/dev/debt/libSceAgcDriver.md
PR 8592 docs/dev/debt/libSceAgcDriver.md
PR 9012 core/libs/prx/libSceAgcDriver/Graphics/include/GuestBufferMemory.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/GuestBufferMemory.cpp
docs/dev/ENVIRONMENT.md
PR 9176 core/libs/prx/libSceAgcDriver/Graphics/include/GuestBufferMemory.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/GuestBufferMemory.cpp
docs/dev/ENVIRONMENT.md
PR 9248 docs/dev/ENVIRONMENT.md
PR 9287 core/libs/prx/libSceAgcDriver/Graphics/include/GuestBufferMemory.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/GuestBufferMemory.cpp
docs/dev/ENVIRONMENT.md
PR 9289 core/libs/prx/libSceAgcDriver/Graphics/include/GuestBufferMemory.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/GuestBufferMemory.cpp
docs/dev/ENVIRONMENT.md
PR 9345 docs/dev/ENVIRONMENT.md
PR 9356 core/libs/prx/libSceAgcDriver/Graphics/src/Draw.cpp
docs/dev/ENVIRONMENT.md
docs/dev/debt/libSceAgcDriver.md
PR 9387 core/libs/prx/libSceAgcDriver/Graphics/src/Draw.cpp
docs/dev/ENVIRONMENT.md
docs/dev/debt/libSceAgcDriver.md
PR 9431 docs/dev/debt/libSceAgcDriver.md
PR 9432 docs/dev/debt/libSceAgcDriver.md
PR 9508 core/libs/prx/libSceAgcDriver/Graphics/include/GuestBufferMemory.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/Draw.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/GuestBufferMemory.cpp
core/libs/prx/libSceAgcDriver/tests/BdaResources.cpp
docs/dev/ENVIRONMENT.md
docs/dev/debt/libSceAgcDriver.md
PR 9592 docs/dev/debt/libSceAgcDriver.md
PR 9672 docs/dev/debt/libSceAgcDriver.md
PR 9673 docs/dev/debt/libSceAgcDriver.md
PR 9674 docs/dev/debt/libSceAgcDriver.md
PR 9675 docs/dev/debt/libSceAgcDriver.md
PR 9676 docs/dev/ENVIRONMENT.md
docs/dev/debt/libSceAgcDriver.md
PR 9700 docs/dev/debt/libSceAgcDriver.md
PR 9748 core/libs/prx/libSceAgcDriver/Graphics/src/Draw.cpp
docs/dev/debt/libSceAgcDriver.md
PR 9842 docs/dev/debt/libSceAgcDriver.md
PR 9852 core/libs/prx/libSceAgcDriver/Graphics/include/GuestBufferMemory.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/Draw.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/GuestBufferMemory.cpp
docs/dev/ENVIRONMENT.md
PR 9897 core/libs/prx/libSceAgcDriver/Graphics/src/Draw.cpp
PR 9950 docs/dev/debt/libSceAgcDriver.md
PR 10026 docs/dev/debt/libSceAgcDriver.md
PR 10043 docs/dev/ENVIRONMENT.md
PR 10049 docs/dev/debt/libSceAgcDriver.md
PR 10193 core/libs/prx/libSceAgcDriver/Graphics/include/GuestBufferMemory.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/Draw.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/GuestBufferMemory.cpp
core/libs/prx/libSceAgcDriver/tests/BdaResources.cpp
docs/dev/ENVIRONMENT.md
docs/dev/debt/libSceAgcDriver.md
PR 10233 docs/dev/debt/libSceAgcDriver.md
PR 10435 docs/dev/debt/libSceAgcDriver.md
PR 10442 core/libs/prx/libSceAgcDriver/Graphics/src/Draw.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/GuestBufferMemory.cpp
core/libs/prx/libSceAgcDriver/tests/BdaResources.cpp
docs/dev/ENVIRONMENT.md
PR 10487 core/libs/prx/libSceAgcDriver/Graphics/include/GuestBufferMemory.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/Draw.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/GuestBufferMemory.cpp
docs/dev/ENVIRONMENT.md
PR 10547 docs/dev/ENVIRONMENT.md
PR 10757 docs/dev/ENVIRONMENT.md
PR 11207 core/libs/prx/libSceAgcDriver/Graphics/include/GuestBufferMemory.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/Draw.cpp
core/libs/prx/libSceAgcDriver/Graphics/src/GuestBufferMemory.cpp
docs/dev/ENVIRONMENT.md

@thuanquang

thuanquang commented Oct 23, 2026 •

Copy link
Copy Markdown
Contributor Author

@MarcZX10, done: the stack is rebased onto main 9d6adeb550 (no conflicts). #9685 is now e5edf0cd4a (with its llvmpipe test fix, see #9685) and this PR 4bd83988c7, still stacked on it and still second after #9685, with #8246 after #9685 as proposed there.

On the combined tree (RX 6700 XT, AMD driver 32.0.21045.16010):

From a second review by huy, this head also adds a --read-only-registry case: memory the guest registered read-only gets no import. It fails with the gate's writable check removed. The head also drops a remembered refusal before GuestArenaMapAlias (which can demote a run and then throw), makes the non-Windows test fail instead of skipping when a forced-watched import leaves the write watch, and uses the skipped, host imports are unavailable wording.

The hosted product jobs are skipped on this PR as on #9685, so this head's non-Windows code has not been compiled yet; the body says so.

@github-actions github-actions Bot added the needs rebase Conflicts with main, rebase needed label Oct 23, 2026
…red memory

A linear color target got a resident image only when its memory already
had a host import (boykopovar#6892). Every other draw into it was synchronous:
copied in, drawn, waited for on the CPU and copied back. boykopovar#6892 only
looked the import up because a first version that made it broke
agc_driver_pixel_ancillary_word and agc_driver_pixel_fixed_point_position:
the import over a short-lived block was compared, and the next block
allocated at the same address stayed outside the write watch. A page
committed again inside an excluded block is watched again since boykopovar#6759.

On a lookup miss the draw now makes the import itself, with the new
ColorTarget requester, when its registered ranges are writable, the
whole import run is write-watched and the import keeps it watched: a
separate alias of shared memory, a direct import of private memory that
settles on Windows (1 MiB or more, when the import probe keeps the
watch and a settle queue exists), or an import the probe keeps watched
on other systems, where a dma-buf import must stay watched too if the
range has shared backing. Private pages that the write watch armed
read-only count as writable when their guest protection is, because the
import opens them (a resident direct-memory run the CPU has not stored
to since its last collect). The gate's scan stops at the first page
that decides a refusal, and a run of private memory whose direct import
would be compared is refused after one page query. A refusal is
remembered for its run until the registry, the committed pages
(Windows) or the write watch change, or a shared alias is mapped over
the run, so a target that stays synchronous costs a lookup per draw.
importRunAt checks this after its remembered failures and refusals and
before it retires or evicts anything, through the helpers its own
decision now uses: importWatching (settled, watched host-pointer and
dma-buf imports) and importPages (the Windows page scan). A target whose
import would be compared stays synchronous, because a compared import
makes every refresh of the resident image compare the whole target. A
target over an import that already exists is resident as before, with
ExistingHostImportFor as the fast path, and APS5_NO_RESIDENT_LINEAR=1
still keeps every linear target synchronous.

This is the case draft boykopovar#1191 (MichonGoddijn231849) was to bring back
on top of boykopovar#6892 once partial-block write-watch coverage existed.

agc_driver_linear_target_import_creation covers a target in freshly
registered, write-watched memory (the draw is recorded, the target is
imported and stays watched), a block freed and allocated again at the
same address (it is watched, and the next draw starts from the CPU's
bytes), a resident direct-memory run armed read-only by the write watch
(the draw is recorded and the target imported; Windows), the gate over
armed and read-only private memory (a compared import of an armed run is
refused without opening it, memory committed read-only behind a writable
registry range is refused without a count, an armed run is imported
where imports stay watched; Windows), a 64 KiB block whose import would
be compared (no import, a synchronous draw, the block stays watched), a
1 MiB block the guest registered read-only (no import, a synchronous
draw), a 1 MiB run with one 64 KiB block outside the write watch
(refused, the target stays watched), and the same run once that block is
committed again (the refused run is imported; Windows).
On other systems the test forces ImportWatch::Watch, so the watched
cases also run where imports are compared (lavapipe in CI). The import
requester tests count the new requester and check that it makes no
compared import, no import of a range the guest cannot write and no
import of memory outside the write watch.

Co-Authored-By: Claude <noreply@anthropic.com>
@thuanquang
thuanquang force-pushed the fix/linear-target-import-creation branch from 4bd8398 to 175d986 Compare October 23, 2026 10:50
@github-actions github-actions Bot removed the needs rebase Conflicts with main, rebase needed label Oct 23, 2026
@thuanquang

Copy link
Copy Markdown
Contributor Author

Restacked without conflicts on #9685's rebased head cee2512ef8 (main ff191e29d1); this PR's head is now 175d986c28, with its own commit unchanged, and it still merges cleanly with 513ca7e558.

Tested on 175d986c28, RX 6700 XT, AMD driver 32.0.21045.16010:

  • The focused set plus main's agc_driver_linear_readback_label and agc_recorder_* entries (26 ctest entries): 3 of 3.
  • Khronos validation layer on the same set: this head 26 of 26 and main 513ca7e558 16 of 16. 0 VUID- lines and no "was not found" line on either.

The PPSA14363 comparison in the description is from 4bd83988c7, the same commit on the previous base.

@janzezno

janzezno commented Oct 23, 2026 •

Copy link
Copy Markdown
Contributor

@thuanquang #9402 changes refreshImports at the spot where your second state.gateRefusals.clear() goes. After the generation check it adds the window and budget test and the affected lambda, and then makes the walk incremental. The two changes only meet at that line. Your clear stays right after state.refreshedGeneration = generation;, before #9402's lines. Your ColorTarget imports are made in importRunAt, where #9402 records each new import in pendingImports, so the incremental walk still checks them at the next refresh.

I'd propose no Depends on either way; the one that merges second rebases.

@thuanquang

Copy link
Copy Markdown
Contributor Author

@janzezno, agreed: no Depends on either way, and whichever merges second rebases. On the current head 175d986c28, the clear is still the line right after state.refreshedGeneration = generation;. Imports this PR makes go through importRunAt, so #9402's pendingImports covers them as you say. I've noted the overlap in the description.

@thuanquang

thuanquang commented Oct 23, 2026 •

Copy link
Copy Markdown
Contributor Author

@MarcZX10, the same-scene comparison on the current heads is in the description now, this time with no game running on the PC (the earlier table had a League of Legends match running next to it):

All three runs were made in one hold of the GPU and build locks, with main ff191e29d1 libraries and only libSceAgcDriver.prx swapped.

Both heads still merge cleanly with main 1e1ab77684. I built this head merged with main a19e7f6fdc, which includes #8180, #8034 and #8372 next to this code. On that tree the focused set passes 45 of 45 entries, 3 of 3 runs, on the RX 6700 XT. The set includes #8180's agc_driver_copied_writer_label_order entries, #8372's agc_driver_draw_cache_* and the label-order tests. The ^(agc|shader)_ suite passes 984 of 987; the 3 failures are main's agc_driver_sample_order, _grid_reference and _recipe_depth_locations entries, which fail on this GPU without this PR as well.

@oneandonlydean oneandonlydean self-assigned this Oct 23, 2026
@github-actions github-actions Bot added the needs rebase Conflicts with main, rebase needed label Oct 24, 2026
@thuanquang

Copy link
Copy Markdown
Contributor Author

@oneandonlydean, thanks for merging main in. I kept your merge (no force-push) and merged #9685's new head 5b5dcaeaff on top. It fixes an interaction with #8126 that turned up while checking the merge, and adds a test (details on #9685). Your conflict resolution matches mine except for where one add_test block sits.

The runs are on 04a6c9e4cc, this PR's commit on the same change rebased onto 11d6efa06c (RX 6700 XT). It builds clean, and the focused set passes 3 of 3 (47 entries). The validation-layer run has 0 VUID- lines, and ^(agc|shader)_ passes 998 of 1001 (the 3 failures are main's sample-order tests). The new head bb58e7ddbd merges cleanly with main 379b1dca32.

@oneandonlydean

Copy link
Copy Markdown
Collaborator

@thuanquang #7465 just merged, and this branch now has a logic conflict with it in core/libs/prx/libSceAgcDriver/tests/BdaResources.cpp (importRequesterTests), not a textual one.

  • Main now registers a two-piece mapped range at block + 6 * piece (mappedRange(6)), imports it at map time and keeps it until the end of the test.
  • This PR's new color-target block calls change(6, true) / change(7, true) and then expects HostImportCovers(address(7)) to be false and no import to cover address(6). On the merged tree pieces 6 and 7 are already registered and imported by main's range, so those checks run against a different fixture state than the one you tested.
  • The cleanup loop (index < pieces) also overlaps main's index < 6 loop plus Remove(block + 6 * piece), so pieces 6 and 7 would be removed twice.

One way out is to give the new block its own pieces (for example raise pieces from 8 to 10 and use 8 and 9), but that changes the test's layout, so I'd rather you pick the fix. Could you merge main and adjust the block? I'll review and run CI as soon as it's up.

…ort-creation

# Conflicts:
#	core/libs/prx/libSceAgcDriver/tests/BdaResources.cpp
@thuanquang

Copy link
Copy Markdown
Contributor Author

@oneandonlydean, thanks for catching it. I merged main 6c52b649e7 (fe1927d398). In importRequesterTests, #7465's mapped range keeps pieces 6 and 7, and the color-target block now uses its own pieces: pieces is 11, the block uses piece 10 (writable, as 6 was) and piece 9 (read-only, as 7 was), and piece 8 stays unregistered. Without that gap, a writable piece 8 would join #7465's writable range into one run, and the block would check a three-piece run instead of a single piece. The cleanup removes 9 and 10 after main's loop and range removal, so nothing is removed twice. The block's checks are unchanged.

Tested on the merge (RX 6700 XT): it builds clean. The focused set with agc_driver_bda_* (54 ctest entries) passes 3 of 3, and 54 of 54 with the validation layer, with 0 VUID- lines. ^(agc|shader)_ passes 999 of 1002; the 3 failures are main's sample_order tests on this GPU. The final layout (piece 8 as the gap) differs from that merge only in BdaResources.cpp, and on it agc_driver_bda_* passes 3 of 3, and 7 of 7 with the validation layer, with 0 VUID- lines. #9685 needed no change: none of the newly merged PRs touch its files.

@github-actions github-actions Bot removed the needs rebase Conflicts with main, rebase needed label Oct 24, 2026
# Conflicts:
#	docs/dev/debt/libSceAgcDriver.md
@thuanquang

Copy link
Copy Markdown
Contributor Author

Merged #9685's head d36311d661 (the per-64 KiB-block keep from @oneandonlydean's review on #9685) as b58a21d9f4. Only the debt file conflicted: #9685's narrowed entry and this PR's entry on the next line. Both are kept.

On this head, on the RX 6700 XT, the build is clean. The focused set passes 3 of 3 (54 entries, including agc_driver_bda_* and the extended agc_driver_linear_target_direct_write_completion), and the validation layer reports 0 VUID- lines. ^(agc|shader)_ passes 996 of 1002: the 3 sample_order failures main has on this GPU, plus 3 timeouts that happened while a game ran next to the suite. Those 3 pass when rerun alone.

@github-actions github-actions Bot added the needs rebase Conflicts with main, rebase needed label Oct 24, 2026
@oneandonlydean

Copy link
Copy Markdown
Collaborator

@thuanquang Thanks for merging #9685's d36311d and for the RX 6700 XT runs. I checked that Texture.cpp, Texture.hpp and the direct-write-completion test on this head are byte-identical to #9685's, and that your own layer is unchanged apart from that merge. I read the import gate again: the whole run has to be registered writable and write-watched and has to stay watched, refusals are dropped on registry, commit, unwatch and watch-policy changes, and a refused target just stays synchronous, so this looks right to me. One question, no change needed if it can't happen: on Linux the remembered refusal has no commit generation, so if a run can come back into the write watch without a registry or unwatch change, its target would keep drawing synchronously until something else clears it. Is there such a path on Linux, or does that only happen through a Windows commit? The next steps are on our side and #9685's: #9685 now needs a rebase, and once it lands this branch will need main again (CMakeLists.txt conflicts with current main), then CI on that head and agc_driver_graphics on Linux and Windows for the requester fixture.

@thuanquang

Copy link
Copy Markdown
Contributor Author

@oneandonlydean On the Linux question: no, there is no such path on Linux, as far as I can tell from reading the code at this head (I have not run it on Linux).

  • On Linux, GuestWriteWatchRegister is the only call that adds write-watch coverage. Every production call of it on guest memory (MapAligned, WatchMapping and the fixed anonymous remap in DirectMemory.cpp) runs inside a GuestAllocations::Mutation. The mutation's end bumps the registry generation, and HostImportFor calls refreshImports before every gate check, which drops all remembered refusals when that generation moved.
  • The other callers either register the AGC driver memory just before the mutation that adds it to the registry, or register host scratch memory that the probes unregister straight away. GuestMemory::Rewatch and GuestWriteWatchProtectionChanged do nothing outside Windows.
  • The other Linux gate inputs don't reopen it either. The range's writable flag and the direct-memory tables behind sharedBacking only change under mutations. The import-watch policy is decided once per device when the device is created, and a device change clears the refusals.
  • The commit generation is there for Windows only. There the gate also reads page state, and a commit over pages that are already committed can change it without creating a range, so neither the private-mapping observer nor the unwatch serial moves.

This branch now has #9685's new head merged in (5575dc3108: #9685 d6d8966bba with main b930da950d); the merge was clean and the head merges cleanly with main 6cd36e6517. On the RX 6700 XT the focused set plus agc_driver_bda_* (55 entries) passes 3 of 3, and 55 of 55 with the validation layer with 0 VUID- lines. ^(agc|shader)_ passes 1010 of 1015: the 3 sample_order tests main fails here, and two that failed while game instances ran next to the suite (agc_driver_sgpr_pattern_fill_keys, an agc_async_log_fatal timeout), which pass 5 of 5 alone on this head.

@github-actions github-actions Bot removed the needs rebase Conflicts with main, rebase needed label Oct 24, 2026
@oneandonlydean

Copy link
Copy Markdown
Collaborator

@thuanquang I traced the Linux registration paths and refusal invalidation on 5575dc3. Mapping mutations advance the registry generation, refreshImports clears the gate refusals, and the direct probe registrations are temporary; I found no Linux reopen path needing another change. The merge keeps your own layer unchanged and includes #9685's refreshed head. This still lands after #9685, with full CI and the watched-import gate; the import-creation result needs the positive creation/reuse arm, not only compared cases.

@thuanquang

Copy link
Copy Markdown
Contributor Author

@oneandonlydean Thanks for tracing it. On the positive arm: on the RX 6700 XT (Windows 11 26200, AMD driver 32.0.21045.16010), against this head's libraries (5575dc3108), agc_driver_linear_target_import_creation runs every arm, 3 of 3:

linear target import reuse passed
linear target import of armed direct memory passed
linear target import gate over armed and read-only private memory passed
linear target import creation tests passed

The creation arm runs right before reuse under the same condition and prints no line of its own. The test prints "only the compared cases run" when the probe import leaves the write watch, and it did not print it here.

On Linux the test sets ImportWatch::Watch and requires the probe import to stay watched, so a Linux CI run either runs the creation and reuse arms or fails; it cannot pass on the compared case alone. On Windows it keeps the device's own policy, so a Windows runner whose imports leave the write watch would run only the compared case, and its output says so.

@oneandonlydean

Copy link
Copy Markdown
Collaborator

@thuanquang Thanks, that covers it. With the Linux path forcing the watch and requiring the probe import to stay watched, a Passed on Linux can't be the compared-only case, and our CI run on this head shows it Passed there. Your RX 6700 XT output covers the Windows positive arms. This still lands after #9685, with full CI on the final composition and the watched-import game check.

@thuanquang

Copy link
Copy Markdown
Contributor Author

@oneandonlydean The final composition is tested on the RX 6700 XT: main 61fc572cee + #9685 dacc812a25 + this head 33a1577f84. The report covers this PR's import-creation output, with the creation, reuse and armed arms all passing, plus the focused, validation-layer and ^(agc|shader)_ runs against main and the PPSA14363 watched-import game check: #9685 (comment). This head still merges cleanly with main e5f23554c9.

@github-actions github-actions Bot added the needs rebase Conflicts with main, rebase needed label Oct 25, 2026
@github-actions github-actions Bot removed the needs rebase Conflicts with main, rebase needed label Oct 25, 2026
boykopovar#9181 stopped write-protecting resident runs on Windows: the write watch
no longer arms them read-only, and the import access opens nothing on
them. The gate's case that counted armed read-only private pages as
writable can no longer change a decision, and the tests that armed a
resident run first could only skip.

Remove the case: resident runs are read-write private pages and pass the
writable check as they are. --armed becomes --direct, the same 2 MiB
direct-memory run without the arming step. --armed-gate becomes
--private-gate and keeps the checks that can still be reached: the
direct run is refused under Unwatch and imported under Watch, and a
block committed read-only while registered writable is refused without
being counted.

Co-Authored-By: Claude <noreply@anthropic.com>
@thuanquang

Copy link
Copy Markdown
Contributor Author

@oneandonlydean, #9685 has landed, so I merged main ae7d59258e into this branch. The merge was clean, although GitHub had marked the PR as conflicting. I also added one commit, e1fa56c7bf, for #9181, which merged after your last look.

#9181 stopped write-protecting resident runs on Windows, and that broke two things here:

  • This PR's special case, which counted armed read-only private pages as writable, could no longer change a gate decision.
  • The --armed and --armed-gate cases could only skip ("the collects did not arm the resident run read-only").

The commit removes the special case, so resident runs now pass the gate as writable private pages. The two cases become --direct and --private-gate, without the arming step, and they keep every check that can still be reached.

Results on the RX 6700 XT:

  • The test runs every case with no skips.
  • The focused set (57 entries) passes 3 of 3, and 57 of 57 under the validation layer with 0 VUID- lines.
  • With the gate's page walk removed, the test fails at the --private-gate block: "read-write alias of shared guest memory ...: the range does not start at a shared view".

The description's current-head paragraph has the details. Its PPSA14363 numbers were measured before #9181, and it says so.

@oneandonlydean
oneandonlydean merged commit 930a681 into boykopovar:main Oct 26, 2026
13 of 14 checks passed
savvaniss added a commit to savvaniss/AnyPS5 that referenced this pull request Oct 30, 2026
boykopovar#9431 landed on main in its final form, so the tree is main's plus this
branch's own changes. The resident-target test in Graphics::Draw keeps
main's linearResident line from boykopovar#9879 and uses ColorTileModeIsLinear, so
a GCN linear-aligned target is still not resident.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

perf Performance change unblocks title Names a title ID on the Unblocks line

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants