docs(debt): record the unsupported and unmeasured multisample CB resolve of 11_11_10 float targets #11364

Merged
xXPBSXx merged 6 commits from upstream-pr/11364 into main 2026-10-27 10:58:43 +00:00
xXPBSXx commented 2026-10-26 08:49:31 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by xXPBSXx on 2026-10-26T08:49:31Z.


What

Adds one entry to docs/dev/debt/libSceAgcDriver.md: a CB resolve whose source is a multisampled 11_11_10 float color target is refused, its averaging and rounding on the console are not measured, and no known source describes them. PPSA12361 reaches it: a local diagnostic print showed a two-sample R32_UINT source (packing 11_11_10 float) of 512x512 resolving into one sample, and the title stops there (issue #11362).

The code and the tests are back to the state of main: the refusal in State.cpp and the expectFailure case in tests/Graphics.cpp are unchanged. An earlier version of this PR implemented the resolve; after review it was converted to this debt entry, and the implementation is not part of this PR. It can come back separately once a source and the validation matrix exist.

Tested

Head 599e4d620f on main b82c33ef65. tools/check_conventions.py --base upstream/main passes, and git diff --stat upstream/main...HEAD shows only docs/dev/debt/libSceAgcDriver.md (one insertion). No code changes, so no test was run for this head.

Overlap: git merge-tree of this head with the open pull requests that edited the same files earlier: #9020, #9335 and #7893 conflict only in docs/dev/debt/libSceAgcDriver.md, so whichever lands second rebases and keeps both entries. #9789, #7243, #6973, #6987, #6989, #6995 and #7002 merge cleanly.

Checklist

  • Based on current main; no other open PR implements the same functions
  • One topic per PR; follow-ups go in a new PR
  • No comments in code except technical debt
  • Unimplemented paths throw (NotImplemented_nid_no_patch); silent stubs are listed under Silent stubs in their library's technical debt file
  • No notes, investigation .md files or images added to the repository (attach them to this PR)
  • New third-party code is a submodule built from source
  • Generic behaviour, not specific to one title
  • Depends on: none
  • Fixes: none (issue #11362 stays open)
  • Unblocks: none
  • GPUs tested: n/a (documentation only)
  • AI-assisted: yes

AI-assisted (Claude Code).

<!-- greyfinch-sync:boykopovar/AnyPS5:issue:5014620923 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/11364). Originally posted by [xXPBSXx](https://github.com/xXPBSXx) on 2026-10-26T08:49:31Z. --- ### What Adds one entry to `docs/dev/debt/libSceAgcDriver.md`: a CB resolve whose source is a multisampled 11_11_10 float color target is refused, its averaging and rounding on the console are not measured, and no known source describes them. PPSA12361 reaches it: a local diagnostic print showed a two-sample R32_UINT source (packing 11_11_10 float) of 512x512 resolving into one sample, and the title stops there (issue #11362). The code and the tests are back to the state of `main`: the refusal in `State.cpp` and the `expectFailure` case in `tests/Graphics.cpp` are unchanged. An earlier version of this PR implemented the resolve; after review it was converted to this debt entry, and the implementation is not part of this PR. It can come back separately once a source and the validation matrix exist. ### Tested Head `599e4d620f` on `main` `b82c33ef65`. `tools/check_conventions.py --base upstream/main` passes, and `git diff --stat upstream/main...HEAD` shows only `docs/dev/debt/libSceAgcDriver.md` (one insertion). No code changes, so no test was run for this head. Overlap: `git merge-tree` of this head with the open pull requests that edited the same files earlier: #9020, #9335 and #7893 conflict only in `docs/dev/debt/libSceAgcDriver.md`, so whichever lands second rebases and keeps both entries. #9789, #7243, #6973, #6987, #6989, #6995 and #7002 merge cleanly. ### Checklist - [x] Based on current `main`; no other open PR implements the same functions - [x] One topic per PR; follow-ups go in a new PR - [x] No comments in code except [technical debt](https://github.com/boykopovar/AnyPS5/blob/main/docs/dev/CONVENTIONS.md) - [x] Unimplemented paths throw (`NotImplemented_nid_no_patch`); silent stubs are listed under Silent stubs in their library's [technical debt](https://github.com/boykopovar/AnyPS5/tree/main/docs/dev/debt) file - [x] No notes, investigation `.md` files or images added to the repository (attach them to this PR) - [x] New third-party code is a submodule built from source - [x] Generic behaviour, not specific to one title - [x] Depends on: none - [x] Fixes: none (issue #11362 stays open) - [x] Unblocks: none - [x] GPUs tested: n/a (documentation only) - [x] AI-assisted: yes AI-assisted (Claude Code).
MarcZX10 commented 2026-10-26 08:54:12 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-26T08:54:12Z.

Review: CHANGES_REQUESTED


Reviewed exact head d34c5315def48114231528cfdac6f3d957d23bf0 against current main cbee224804625f2416993f94b2bc1f8c58b1d4bb.

The packed decode/average/repack path and its CPU-reference execution test are substantial, and the PR is transparent about the remaining unknowns. I am requesting changes before treating this as a verified implementation:

  1. The PR and new debt text say the console's resolve behavior for this packed float target has not been measured. The test proves this shader matches the PR's assumed float32-average/truncate reference on two host GPUs; it does not prove that the console uses that resolve rule or the first-special-sample behavior. AGENTS.md requires unsupported behavior to continue throwing when general behavior is unknown, with the gap recorded in debt. Please add console/reference evidence for these semantics, or retain the refusal until they are established.
  2. This is an AGC change, but the report does not show the required same focused tests on main and the change with ANYPS5_REQUIRE_VULKAN=1, ANYPS5_NO_SHADER_CACHE=1, and VK_INSTANCE_LAYERS=VK_LAYER_KHRONOS_validation, nor compare the logs for missing-layer messages and new VUID- errors. Please provide that baseline/change validation matrix and name each GPU/driver/OS used. The current hosted product jobs are skipped by path policy.
  3. The tested base in the report is 204c6747d0, while current main is cbee224804625f2416993f94b2bc1f8c58b1d4bb. The merge preview is clean; only the shared debt file changed since the tested base. Please refresh onto current main and preserve both debt updates, then rerun conventions and report results for the resulting head.

I cannot run the GPU test locally because this environment has no /dev/dri device. Hosted eligibility, conventions, intake, labels and report checks pass on the PR head; the product test jobs are skipped by path policy. I did not independently run the reported Windows GPU tests.

AI-assisted review.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5649499173 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/11364#pullrequestreview-5649499173). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-10-26T08:54:12Z. **Review:** CHANGES_REQUESTED --- Reviewed exact head `d34c5315def48114231528cfdac6f3d957d23bf0` against current `main` `cbee224804625f2416993f94b2bc1f8c58b1d4bb`. The packed decode/average/repack path and its CPU-reference execution test are substantial, and the PR is transparent about the remaining unknowns. I am requesting changes before treating this as a verified implementation: 1. The PR and new debt text say the console's resolve behavior for this packed float target has not been measured. The test proves this shader matches the PR's assumed float32-average/truncate reference on two host GPUs; it does not prove that the console uses that resolve rule or the first-special-sample behavior. `AGENTS.md` requires unsupported behavior to continue throwing when general behavior is unknown, with the gap recorded in debt. Please add console/reference evidence for these semantics, or retain the refusal until they are established. 2. This is an AGC change, but the report does not show the required same focused tests on `main` and the change with `ANYPS5_REQUIRE_VULKAN=1`, `ANYPS5_NO_SHADER_CACHE=1`, and `VK_INSTANCE_LAYERS=VK_LAYER_KHRONOS_validation`, nor compare the logs for missing-layer messages and new `VUID-` errors. Please provide that baseline/change validation matrix and name each GPU/driver/OS used. The current hosted product jobs are skipped by path policy. 3. The tested base in the report is `204c6747d0`, while current `main` is `cbee224804625f2416993f94b2bc1f8c58b1d4bb`. The merge preview is clean; only the shared debt file changed since the tested base. Please refresh onto current main and preserve both debt updates, then rerun conventions and report results for the resulting head. I cannot run the GPU test locally because this environment has no `/dev/dri` device. Hosted eligibility, conventions, intake, labels and report checks pass on the PR head; the product test jobs are skipped by path policy. I did not independently run the reported Windows GPU tests. AI-assisted review.
MarcZX10 commented 2026-10-26 11:56:09 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-26T11:56:09Z.

Review: APPROVED


Re-reviewed exact head 599e4d620f0c74418078f7db39ae84a5c152d75a. The PR now changes only the debt entry: the refusal and existing regression test remain unchanged, the unmeasured console semantics are stated explicitly, and the PPSA12361 observation links the note to issue #11362. The branch preserves the previously requested AGC debt context and is mergeable. Eligibility, conventions, and labels pass; code/build jobs are skipped by path policy. No code test is applicable to this docs-only head. This resolves my prior requests for the unverified implementation to be removed and the behavior gap documented.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5651547055 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/11364#pullrequestreview-5651547055). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-10-26T11:56:09Z. **Review:** APPROVED --- Re-reviewed exact head `599e4d620f0c74418078f7db39ae84a5c152d75a`. The PR now changes only the debt entry: the refusal and existing regression test remain unchanged, the unmeasured console semantics are stated explicitly, and the PPSA12361 observation links the note to issue #11362. The branch preserves the previously requested AGC debt context and is mergeable. Eligibility, conventions, and labels pass; code/build jobs are skipped by path policy. No code test is applicable to this docs-only head. This resolves my prior requests for the unverified implementation to be removed and the behavior gap documented.
Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
boykopovar/AnyPS5!11364
No description provided.