revert: start the color masks and viewport control at their reset values (#16053) #20845
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/20845"
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-15T16:55:03Z.
What
Exact inverse revert of #16053 (merge
83d984dff5). It startedPA_CL_VTE_CNTLat 0 instead of0x43fand accepted 0 as "no viewport transform", so a title that never writes the register now draws without the viewport transform. PPSA01825 renders upside down and aborts on garbage descriptors since it merged; the reporter of #20835 shows main with #16053 reverted rendering correctly. The color mask part can come back on its own; the viewport control reset needs the console's real reset behaviour first.Tested
The reporter's run of PPSA01825 with #16053 reverted renders correctly (#20835). This PR needs the full suite and a boot of PPSA01825.
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-16T19:12:45Z.
Review: APPROVED
Reviewed — looks good
The changed initialization and decode paths consistently require homogeneous viewport mode, and the review found no verified blocking defect.
What I ran
Reviewed head
456302a8bd093c72dfdfcea200384196e0909c54. No build or tests were run; the PR description says the full suite and a PPSA01825 boot remain needed.Results
Findings
Blocking
None.
Non-blocking
The PR description identifies an outstanding full-suite run and PPSA01825 boot, which would provide useful runtime confirmation.
Not verified
The test file was read only around
InitialContextTests; its full text was excluded as too large. No build, test suite, or console boot was performed.files.jsonwas not available in the prepared review bundle; file inclusion status was taken frommanifest.json. Read files:description.md,commits.md,manifest.json,diff.patch,QueueState.hpp,State.cpp, and theGraphics.cpprange aroundInitialContextTests.Graphics.cppwas excluded from the full-text bundle.To get this to a good state
Nothing is required. The full suite and PPSA01825 boot are optional follow-up evidence.
Imported from boykopovar/AnyPS5. Originally posted by Jazeupoi on 2026-11-18T12:38:22Z.
Review: COMMENTED
SuperTuxKart (PPSA69421 00.001.000) shows the same flat purple screen on Windows with NVIDIA on current
main, so this is not macOS-specific.Setup: Windows 11 Pro (build 26300), NVIDIA GeForce RTX 2060 (driver 621.24), WinLibs GCC 15.2.0, Release,
main648ba19b3e(none of this PR's files have changed inmainsince). Converted with--windows --trap-sdk-syscall-stubs --registry. The title runs at 80 to 94 presents per 10 s, and every dumped frame (APS5_DUMP_FRAMES) is a single purple colour.I could not test this PR on Windows, as it no longer merges cleanly. Once it is rebased I'll rerun it there.
AI-assisted: yes (Claude Code)
Pull request closed