test(agc): cover repeated untracked storage writes after sampling #5708
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/5708"
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 MarcZX10 on 2026-10-14T07:35:33Z.
What
Adds an execution regression for #5693's repeated unwatched storage-image case. It stores an image, samples the live image into a separate surface, marks the original image dirty again without re-uploading it, then changes guest bytes while the repeated result is pending. The next guest read must preserve the CPU-written bytes.
This case failed at the existing "guest bytes not saved" guard before #5679. That fix is now on
main; the case passes there and guards the behavior. It covers the sample-then-redirty path, distinct from #5760's direct second-store kernel case. The overlap bot also flags #5761, an explicitly test-only combined integration build that is not intended for merging; this PR contains only this regression case.Tested
main(145cb82f3b54d8360e728c3cd7ed82a6fa2eee1a), including #5679 and #5707.tools/check_conventions.py --base upstream/main --head HEADandgit diff --checkpass.Checklist
main; no other open PR adds this sample-then-redirty regression caseNotImplemented_nid_no_patch); silent stubs are listed under Silent stubs in their library's technical debt file.mdfiles or images added to the repositoryImported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-14T11:35:44Z.
The overlap is with #5761, whose description explicitly marks it as a combined test build, not for merging. This PR adds only the sample-then-redirty regression; it is distinct from the direct second-store case in #5760. I updated the body to record that distinction and the dependency on #5790 for safe fixture cleanup.
Imported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-15T12:08:50Z.
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.
core/libs/prx/libSceAgcDriver/tests/execution/StoreOverUntracked.cppcore/libs/prx/libSceAgcDriver/tests/execution/StoreOverUntracked.cppImported from boykopovar/AnyPS5. Originally posted by adriadam10 on 2026-10-15T12:13:24Z.
Checked the new
UntrackedRepeatcase: it builds and passes on Linux (agc_driver_store_over_untracked, repeated runs).Added one commit on your branch:
outputwas aSurfacelocal to theifblock, so its memory was freed whileReadImagecould still be queued. It is now anstd::optional<Surface>declared beforewaitForWork, so it outlives the queued dispatch (same lifetime issue as #5790).Merging once the full Build is green.
Imported from boykopovar/AnyPS5. Originally posted by adriadam10 on 2026-10-15T12:29:13Z.
Rebased onto current
main: the conflict was with the newNeighbourLeftWatchcase inStoreOverUntracked.cpp; both cases are kept and thecasesarray is now sized 10.agc_driver_store_over_untrackedpasses on Linux (repeated runs). The earlier commit that keeps the sampledoutputsurface alive until the queued read finishes stays.Merging once the full Build is green.