feat(agc): resolve packed 11_11_10 float multisample targets #23252
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/23252"
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 oneandonlydean on 2026-11-18T21:09:50Z.
What
Resolves packed 11_11_10 float multisample colour targets (2x, 4x and 8x) with exact per-channel accumulation, then truncates the packed result and orders NaNs ahead of infinity, as measured on gfx1036 in #11362. This is the work of @thalesdot1dot1, opened from their commit unchanged (author kept) because their first-contributor slot is in use; the Vulkan pass reuses @xXPBSXx's
55910c3097, adapted to CommandState and the attachment's 10/11/11 bit layout (co-author on the commit). The test reads back every source sample and the guest's resolved destination against an independent reference.Refs #11362.
Tested
From the author's run on an RTX 5060 (https://github.com/boykopovar/AnyPS5/issues/11362#issuecomment-6990761769): stock main returns the first sample for the special-value case; this change matches all 768 packed texels at 2x, 4x and 8x over 5 runs of
agc_driver_native_color_packed_float_resolve. Not yet run on PPSA12361 itself.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 MarcZX10 on 2026-11-18T22:13:05Z.
Review: COMMENTED
Reviewed — no blocking findings
No verified blocking defect was found in the inspected changes; runtime behavior remains unverified because the tests were not run.
What I ran
Reviewed head
202174d6e11f524446adea2c936e144e911be694using the prepared diff and targeted repository reads throughrepo_read.py. No build or test commands were run. The PR description reports author testing on an RTX 5060; this was not independently verified.Results
Negative control
Not run; no test was executed.
Findings
Blocking
None.
Non-blocking
None.
Sources
Inspected the packed float resolve shader and implementation, multisample resolve dispatch, metadata decoding, and added test code at the reviewed head. The test reads back source samples and compares destination texels to an independent reference. The description reports GPU results but says testing on PPSA12361 has not been done.
Not verified
No build or runtime tests were performed. Console behavior and hardware other than the author-reported RTX 5060 run are unverified.
core/libs/prx/libSceAgcDriver/tests/Graphics.cppwas excluded by the review bundle size rule; its changed lines were read through the pinned repository reader. The remaining changed files were present in the review bundle; review focused on relevant diff hunks and targeted added test code rather than reading every full file.To get this to a good state
Nothing is required. Optional: run the packed float multisample resolve test on PPSA12361 and report the result.
Imported from boykopovar/AnyPS5. Originally posted by ligmaSec on 2026-12-03T21:59:20Z.
Review: COMMENTED
Trial merging this head with
main63db72fb61conflicts in CMake, resolve routing, target state and both graphics fixtures. Please reconcile it with the existing packed-float resolve plumbing and retain the independent reference in the test. The RTX 5060 evidence distinguishes first-sample behavior from true accumulation. Keep the sample-count and special-value cases when rerunning the paired validation after the rebase.AI-assisted: yes.
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.