Repository navigation
docs(libSceAgcDriver): note the sample count seen with DB_ALPHA_TO_MASK 0x1aa01 - #23744
Conversation
…SK 0x1aa01 Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
|
Evidence for the second sentence of the added text: an excerpt of the host run of PPSA12361 that stopped on log lines 2692 to 2699 of the second run |
|
Correction to the Overlap paragraph. The patch search described there had returned no output because of a script fault (a carriage return in the pull request numbers made every request invalid), so the list of pull requests whose patches contain these words was not backed by a search. I reran it on 2026-11-19: the list of open pull requests is from 20:47 UTC (2019 open pull requests, the patches of the 1187 that change a file under The words alpha-to-coverage or AI-assisted (Claude Code). |
What
The entry
Alpha-to-coverage 0x1aa01indocs/dev/debt/libSceAgcDriver.md(line 113, 831 characters) records thatDB_ALPHA_TO_MASK = 0x1aa01throwsdithered or rounded alpha-to-coverage is unsupported, that it differs from the accepted undithered0xaa01by bit 16, which radeonsi never programs together with these bits, that PPSA12361 reaches it, and that reading it as0xaa01for a one-sample draw was tried and does not unblock the title. This change adds two sentences to that entry before its last sentence: in one of two host runs of PPSA12361 on a tree that includes the change of the open pull request #19904, a draw rejected with0x1aa01had two raster samples, withPA_SC_AA_CONFIG0x00108001,DB_EQAA0x00001111 andPA_SC_AA_MASK0x0000cc44 (log lines 2692 to 2699 of the second run, attached to the first comment as an excerpt; the same line showsdecodeSamples=2andPA_SC_MODE_CNTL_00x00000003). The register values were read by a local diagnostic line that is in no change. The entry keeps saying that what the console covers for this value is not measured, so it stays unsupported. Only this one entry changes, as a new fragment indocs/dev/debt/changes/; no code does.This is an observation from a host run of the title, not a console probe: nothing was measured on a PS5, and the entry says so ("a host run, not a console probe").
Why the attempt noted in the entry does not help: the change that was tried applied the one-sample reading
0xaa01only to a draw with one raster sample, and the draw seen here has two, so the rejection stays and the title stops. That is stated here and not in the entry, which only says that the attempt was tried and does not unblock the title.Tested
This is a documentation change; no test was added or run, and nothing was measured on a console. The observation comes from two host runs of PPSA12361 (a game-file run on the development machine, not a console), both on a local tree that includes the change of #19904, which is still open:
diag-a2cline and noalpha-to-coverage is unsupportedline, so it did not stop on this register value;dithered or rounded alpha-to-coverage is unsupported (register 0x2dc = 0x0001aa01)right after the diagnostic line at line 2692 (lines 2692 to 2699 of its log, attached in the first comment).The times are UTC, taken from the log file times (the machine's clock is UTC+1, so the local times 14:19 and 14:34 are 13:19 and 13:34 UTC). The GPU is not named in the excerpt and no statement about it is made. The runs ended one without and one with the stop, so "in one of two runs" in the entry is a count of these two runs and not a rate.
The entry is 831 characters on
mainand 1191 with the two sentences, sotools/check_conventions.pyreports onedebt-lengthwarning in the diff (no error), anddebt_fold --checkreturns 0. The older evidence names in the entry (run_024721.errandrun_025512.errwith their line numbers) are the entry's existing wording and are not touched. Not tested: Linux, macOS, the CI runner, any console run.Overlap: counted on 2026-11-19 at 14:47 UTC from the 1971 open pull requests (file lists from the GitHub API; the ten with 100 or more files were read in full through the files API; the patches of the 1119 pull requests that change a file under
docs/dev/debt/were searched foralpha-to-coverage,1aa01,DB_ALPHA_TO_MASKandOFFSET_ROUND) againstmainat 321faba. This pull request adds one file,docs/dev/debt/changes/docs-agc-alpha-to-coverage-1aa01-observed.md, and no code; no open pull request has a file of that name. No patch of the open pull requests contains1aa01or the entryAlpha-to-coverage 0x1aa01; the patches of #17611, #20156, #20187 and #21630 contain the words alpha-to-coverage orOFFSET_ROUNDin other entries (the shader recompiler entry on a sample-mask export, theSample masksentry, theMSAA_ENABLEsingle-sample entry). #14561 (feat(agc): implement measured single-sample dithered alpha coverage, mergeable) namesDB_ALPHA_TO_MASKin code and tests: it adds its own fragment for the entrySingle-sample dithered alpha-to-coverage, a different entry, and changescore/libs/prx/libSceAgcDriver/Graphics/src/State.cppin three hunks, which this description does not cite by line number. #19904 (fix(agc): import uniform initial multisample contents under a compressed CMASK), the change that the tree of the second run included, changes a different entry ofdocs/dev/debt/libSceAgcDriver.md(line 52 of its base). Onmain, no fragment names the entry. This pull request does not depend on any of them (Depends on: none): the added sentences are observations of a host run and do not need #19904 to be merged; the description names it because the tree of the runs included it.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)