docs(agc): drop the stale "only" from the alpha-to-coverage entry #8424
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/8424"
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 thuanquang on 2026-10-20T12:30:11Z.
What
The
Alpha-to-coverageentry indocs/dev/debt/libSceAgcDriver.mdopens with "onlyDB_ALPHA_TO_MASK = 0xaa01is accepted", while the same entry later describes the default dithered value0x18701, which #4451 (c8b3a3753, "emulate default eight-sample dithered alpha coverage") added.DecodeStateaccepts both (State.cpp:AlphaToCoverageUndithered = 0xaa01,AlphaToCoverageDithered = 0x18701, andalpha == AlphaToCoverageUndithered || (!alphaDisabled && alpha == AlphaToCoverageDithered), the dithered one with eight samples). "only" is removed.Tested
Docs only; nothing was built or run. Checked on
main6c52b649e7by readingcore/libs/prx/libSceAgcDriver/Graphics/src/State.cpp(the two constants atState.cpp:230-231andDecodeStateat:1386-1388). The PR was rebased four times, each time because main rewrote an adjacent entry (last: #8121), and the code was rechecked each time.python tools/check_conventions.py --base origin/mainwith this title and body: 0 errors and onedebt-lengthwarning, because the entry was already over 1000 characters (2168 before, 2163 after this change).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)🤖 Generated with Claude Code
Imported from boykopovar/AnyPS5. Originally posted by harisibrar1 on 2026-10-21T05:59:51Z.
Review: APPROVED
Checked against main:
core/libs/prx/libSceAgcDriver/Graphics/src/State.cpp:169-170defines bothAlphaToCoverageUndithered(0xaa01) andAlphaToCoverageDithered(0x18701). State.cpp:1203-1204 and 1917-1921 accept both, so "only 0xaa01" is stale.0x18701path and its per-quad sample-mask table, so dropping "only" removes the contradiction without changing any other claim.check_conventions.py --base main --head pr-8424: 0 errors; the onedebt-lengthwarning is the entry's existing length.Reviewed with AI assistance (Claude Code); the checks above were run locally on my machine.