perf(agc): keep staged buffer copies inside a dispatch run #9287
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/9287"
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 Celegans12 on 2026-10-21T17:28:45Z.
What
Stacked on #9176; please review the last commit only.
Staged buffer copies no longer split otherwise independent dispatch runs. Record copy-ins inside the run, defer copy-backs until its barrier, and retain the existing range/owner conflicts. A reused build closes a run that still owes its copy-backs before refilling its shadow. Host-visible GPU copies stay outside runs.
Batching copy-ins ahead of the run remains the next PR.
Tested
Windows 11, MinGW-w64 GCC 15.2.0, Release,
-DBUILD_TESTING=ON, SPIR-V Tools off; based onmaina043b048db.030c4bb2d00d:agc_driver_overlap_staged_copies, 1/1 NVIDIA and 1/1 Windows lavapipe, once each. Build/registration pass; Vulkan required, cache off, Khronos 1.4.363 loaded, no skips/VUIDs/sync diagnostics; 30 s local limit.Historical Yōtei 1.008 title-menu counters (2026-10-24) omit CPU and other worker/phase fields: full baseline, full change. They do not establish an FPS gain.
Not tested in this carry: Linux, macOS, titles/FPS or console behavior. Earlier negative controls are historical.
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)Historical summary excerpts; all retained values unchanged
Imported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-21T17:29:01Z.
This pull request is labeled
perf, so it needs the summary line of a capture onmainand one with the change, from the same title, scene and machine, as the Performance report form asks. Please paste bothaps5-summary.jsonllines, attach the two traces and add the output oftools/trace_digest.py.