feat(agc): publish completed native color snapshots #6989
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/6989"
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 Amoenus on 2026-10-17T02:10:59Z.
What
Publish completed native MSAA color snapshots into registered guest memory before retiring their owner, for supported single-layer uncompressed R_X targets. Preserve compression state and reject unsupported raw imports/publication. Mapping pins honor HostWritable, including GPU-only writable mappings. The refresh preserves published history and integrates main
72a366bbe440.Tested
25 November head
a4516c95064020d9a1c57d2201aab23b2397f943, tested main72a366bbe44057f7c5cc3e348b08aa46cb247292: full native libraries/relinker and selected real fixtures build; 74 physical-GPU testcase processes plus one Graphics host suite pass. No failures, skips or validation warnings/errors. The matched main matrix passes 54 GPU processes plus one host suite, including DCC-unwatch after merged #22950. Capability fixtures absent on main are reported separately from common cases.Windows 11 Enterprise 10.0.26200, WinLibs GCC 15.2.0 UCRT r7, Release. NVIDIA RTX 5080 (10de:2c02), 621.01/32.0.16.2101; AMD Radeon Graphics (1002:13c0), 32.0.21045.16010. Required Vulkan, application shader cache off, Khronos 1.4.363; actual device/layer verified per process.
Exact sources, commands, raw logs and limits. The four native-depth recurrence cases use the unchanged main fixture; the matrix also includes main's new depth-to-color initial-owner and cold 2x/8x FMASK cases. Historical 20 November controls retain their own pins in the earlier report.
No fresh Linux execution of this head, console-equivalence, game/FPS, full CTest or analyzer-clean result is claimed. Quarantined shader-memory/cache executables remain unbuilt/unrun. Earlier independent Linux Pascal results on #6989/#6995 retain the old
2ecf7da072/4cc7d22168plus main3bf7091b75pins; requested RTX 4090 confirmation remains outstanding.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)Imported from boykopovar/AnyPS5. Originally posted by akkadbakkad89 on 2026-10-17T08:14:18Z.
Runtime datapoint on NVIDIA hardware. RTX 3070, Ampere, driver 617.42, Windows 11 26200, WinLibs GCC 15.2.0, Release, ANYPS5_NO_SHADER_CACHE=1. Head 230b963a1, all binaries rebuilt on this head, ctest serial:
14/14 pass on Ampere — the guest-write publication path holds.
Imported from boykopovar/AnyPS5. Originally posted by oneandonlydean on 2026-10-20T23:38:53Z.
@Amoenus Thanks for restacking #6987 onto #6973's
419ad899c6; the review carries. #6989 (3e728aadc5), #6995 (7b090b67d0) and #7002 (0cdc81ae9f, conflicting withmain) don't contain419ad899c6yet. Could you restack those three the same way? We'll run CI on each new head, then gate the stack together.Imported from boykopovar/AnyPS5. Originally posted by Amoenus on 2026-10-20T23:56:17Z.
@oneandonlydean done: #6989
d5df0079b9, #699515a590902f, and #700286571871acare pushed and each retains419ad899c6. #7002 now merges cleanly with checked main5b59fbc553too.Full incremental builds and focused checks are recorded per head in the descriptions; known AMD failures remain explicit. The maintained stack reply has the compact head/result table. AI-assisted: yes (Codex).
Imported from boykopovar/AnyPS5. Originally posted by oneandonlydean on 2026-10-21T10:14:41Z.
@Amoenus this PR is stacked on #6973 and inherits its conflicts with
maininTexture.hppandMultisampleTarget.cpp; see the note on #6973. Please rebase it after #6973 is reworked on currentmain.Imported from boykopovar/AnyPS5. Originally posted by CnRJay on 2026-10-21T17:42:56Z.
Review: COMMENTED
Careful on the commit side (pins the mappings over the footprint, checks pending writes and overlapping native owners, rechecks the original bytes inside write tracking, commits only the changed runs, and retires the owner only after the commit). The issue is what it is for.
"Automatic consumer wiring, cached draw-recipe routing, general metadata/depth publication, console equivalence and concurrent unsynchronized guest writes remain separate", and no new title or performance claim. So the change adds an internal publisher with no caller outside its tests: code that nothing in
maincan reach, plus a debt entry for what it doesn't do. A reviewer can't judge whether the restrictions (completed, uncompressed, single-layer, R_X snapshots only) cover the cases a consumer needs, because the consumer isn't there.Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-16T17:00:32Z.
Review: COMMENTED
Reviewed — no blocking findings
Nothing blocks this review; the points below are optional.
What I ran
Reviewed head
952422213c4d6acbb25165716c934b36f204200b. No commands or tests were run in this review. The author reports selected builds and GPU test runs in the PR description; these are author-reported, not independently verified.Results
Findings
Blocking
None.
Non-blocking
Not verified
No builds or tests were run by this review. The author reports 30 GPU testcase processes and one Graphics CPU process passed, along with selected builds; these results were not independently checked. Cache-test execution was blocked locally according to the description. Console behavior and fresh title/FPS validation were not verified. All changed files listed as reviewed in
manifest.jsonwere read;files.jsonwas not present in the available review bundle.To get this to a good state
Nothing is required. Optional: add console or title validation when available.
Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-20T13:22:12Z.
Review: APPROVED
Reviewed — looks good
Nothing blocks this change; the reviewed code and reported focused checks support merging.
What I ran
Reviewed head
0c46b854f1ce930c3a7c63eda25cac5ac6815b2c. I read the PR description, commit list, manifest and diff, then inspected the changed publication, decoder, test and debt documentation code throughrepo_read.py. I did not run commands or tests.Results
Findings
Blocking
None.
Non-blocking
None.
Not verified
The changed
Graphics.cppandSampleMultisampleTarget.cppfiles were listed as reviewed but their complete contents were not included in the review folder; only targeted ranges were read throughrepo_read.py. The full files were not read. GPU checks, full CTest, shader-memory/cache executables, console behavior and unwatched-memory generation proof were not independently verified. The description reports focused GPU and Graphics host-suite checks on the exact head; these are author-reported results.Files read:
description.md,commits.md,manifest.json,diff.patch;MultisampleTarget.hpp,MultisampleTarget.cpp,State.cpp, targeted ranges ofGraphics.cppandSampleMultisampleTarget.cpp,agc_driver_sample_multisample_target_tests.cmake, andnative-color-publication.md. No other changed files were read; the tests files above were read only in targeted ranges.To get this to a good state
Nothing is required.
Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-21T01:24:08Z.
Review: APPROVED
Reviewed — looks good
The changed production paths and all listed non-test files were reviewed at head
2ecf7da07270a679c3319e575121b8262261a2c6; no concrete blocking defect was found. The full oversized graphics test source and the supplied build and runtime claims were not independently verified.What I ran
No commands or tests were run. I read the prepared description, commits, manifest, diff, and targeted source ranges through
repo_read.py.Results
Findings
Blocking
None.
Non-blocking
None.
Not verified
The oversized changed file
core/libs/prx/libSceAgcDriver/tests/Graphics.cppwas excluded by the review bundle and was not read. The includedSampleMultisampleTarget.cppwas not read. No build or test command was run; the hardware, driver, fixture, and CI claims in the description are author-reported. Other than the excludedGraphics.cpp, all changed files in the manifest were included; relevant ranges of production source were inspected, rather than every line of each file. No repository files were excluded byfiles.jsonbecause that file was not available through the reader.To get this to a good state
Nothing is required.