Repository navigation
feat(agc): publish completed native color snapshots - #6989
oneandonlydean merged 111 commits into
Conversation
|
Other open pull requests touch the same code. Merging one will break the other, or both implement the same thing. If this one builds on them, list them in Depends on.
Some comparisons could not be completed because a pull request conflicts with the base branch. Review these shared files manually before concluding that there is no overlap.
|
|
Runtime datapoint on NVIDIA hardware. RTX 3070, Ampere, driver 617.42, Windows 11 26200, WinLibs GCC 15.2.0, Release, ANYPS5_NO_SHADER_CACHE=1. Head 230b963, all binaries rebuilt on this head, ctest serial:
14/14 pass on Ampere — the guest-write publication path holds. |
230b963 to
ef99c70
Compare
ef99c70 to
9537e07
Compare
9537e07 to
7c92904
Compare
7c92904 to
eca2929
Compare
|
NVIDIA Linux run of the focused tests with the Khronos validation layer, main against this PR. Setup: Arch Linux, kernel 7.3.4, GCC 16.2.1 Release, NVIDIA GeForce RTX 4090 (vendor 0x10de, device 0x2684), proprietary driver 620.70.06, Vulkan 1.4.357, Khronos validation layer 1.4.363.1. Head
The PR adds five tests that do not exist on main: No new AI-assisted: yes (Claude Code) |
MarcZX10
left a comment
There was a problem hiding this comment.
Reviewed — no blocking findings
Nothing blocks this review; the points below are optional.
What I ran
Reviewed head 952422213c4d6acbb25165716c934b36f204200b. No commands or tests were run in this review. The author reports selected builds and GPU test runs in the PR description; these are author-reported, not independently verified.
Results
| Check | Result | Note |
|---|---|---|
| Diff and changed code | passed | All five changed files read |
| Tests and builds | not run | Author reports selected builds and GPU runs |
| Cache tests | not run | Author reports local quarantine; no pass claimed |
Findings
Blocking
None.
Non-blocking
- Console equivalence, unsynchronized guest writes during commit, and large-title costs remain unverified, as the change documentation states.
Not verified
No builds or tests were run by this review. The author reports 30 GPU testcase processes and one Graphics CPU process passed, along with selected builds; these results were not independently checked. Cache-test execution was blocked locally according to the description. Console behavior and fresh title/FPS validation were not verified. All changed files listed as reviewed in manifest.json were read; files.json was not present in the available review bundle.
To get this to a good state
Nothing is required. Optional: add console or title validation when available.
MarcZX10
left a comment
There was a problem hiding this comment.
Reviewed — looks good
Nothing blocks this change; the reviewed code and reported focused checks support merging.
What I ran
Reviewed head 0c46b854f1ce930c3a7c63eda25cac5ac6815b2c. I read the PR description, commit list, manifest and diff, then inspected the changed publication, decoder, test and debt documentation code through repo_read.py. I did not run commands or tests.
Results
| Check | Result | Note |
|---|---|---|
| Changed code review | passed | No concrete defect found in inspected code |
| Focused GPU and host checks | not run | Results are author-reported |
| Full CTest and excluded executables | not run | Not claimed in the description |
Findings
Blocking
None.
Non-blocking
None.
Not verified
The changed Graphics.cpp and SampleMultisampleTarget.cpp files were listed as reviewed but their complete contents were not included in the review folder; only targeted ranges were read through repo_read.py. The full files were not read. GPU checks, full CTest, shader-memory/cache executables, console behavior and unwatched-memory generation proof were not independently verified. The description reports focused GPU and Graphics host-suite checks on the exact head; these are author-reported results.
Files read: description.md, commits.md, manifest.json, diff.patch; MultisampleTarget.hpp, MultisampleTarget.cpp, State.cpp, targeted ranges of Graphics.cpp and SampleMultisampleTarget.cpp, agc_driver_sample_multisample_target_tests.cmake, and native-color-publication.md. No other changed files were read; the tests files above were read only in targeted ranges.
To get this to a good state
Nothing is required.
|
@Amoenus I built this head (0c46b85) on its own on top of main c8eb2aa on a Linux host with an RTX 4090 and ran its tests. agc_driver_eqaa_color_target, agc_driver_native_color_publication_mappings, agc_driver_native_fmask_2 and agc_driver_native_fmask_8 all fail. agc_driver_native_fmask_2 prints "AGC graphics: CMASK fast clears or FMASK compression without a CMASK address are unsupported". The Linux job of the GitHub run was skipped for this head, so it has not run there. Windows passes. Could you check whether these tests need a GPU capability that this card lacks, or whether the code path rejects the setup? I am holding the merge until Linux is shown to pass. |
|
@oneandonlydean, fixed and pushed in #6989/#6995. Compression is tracked at the raw-publication/import boundary, and publication pins honor main's GPU-only host-write permissions. All four reported cases pass on both Windows GPUs. The maintained validation report has the pre-fix controls and source-pinned evidence. Full Linux WSL2 builds pass; EQAA/mapping and supported publication paths pass under llvmpipe. Dedicated 2x/8x FMASK cases skip on main/candidate for unsupported counts, so native Linux RTX 4090 confirmation is still needed. AI-assisted: yes (Codex). |
|
Linux results for the current head
The |
MarcZX10
left a comment
There was a problem hiding this comment.
Reviewed — looks good
The changed production paths and all listed non-test files were reviewed at head 2ecf7da07270a679c3319e575121b8262261a2c6; no concrete blocking defect was found. The full oversized graphics test source and the supplied build and runtime claims were not independently verified.
What I ran
No commands or tests were run. I read the prepared description, commits, manifest, diff, and targeted source ranges through repo_read.py.
Results
| Check | Result | Note |
|---|---|---|
| Source review | passed | Production changes and debt note inspected |
| Tests | not run | Author-reported runs only |
Findings
Blocking
None.
Non-blocking
None.
Not verified
The oversized changed file core/libs/prx/libSceAgcDriver/tests/Graphics.cpp was excluded by the review bundle and was not read. The included SampleMultisampleTarget.cpp was not read. No build or test command was run; the hardware, driver, fixture, and CI claims in the description are author-reported. Other than the excluded Graphics.cpp, all changed files in the manifest were included; relevant ranges of production source were inspected, rather than every line of each file. No repository files were excluded by files.json because that file was not available through the reader.
To get this to a good state
Nothing is required.
What
Publish completed native MSAA color snapshots into registered guest memory before retiring their owner, for supported single-layer uncompressed R_X targets. Preserve compression state and reject unsupported raw imports/publication. Mapping pins honor HostWritable, including GPU-only writable mappings. The refresh preserves published history and integrates main
72a366bbe440.Tested
25 November head
a4516c95064020d9a1c57d2201aab23b2397f943, tested main72a366bbe44057f7c5cc3e348b08aa46cb247292: full native libraries/relinker and selected real fixtures build; 74 physical-GPU testcase processes plus one Graphics host suite pass. No failures, skips or validation warnings/errors. The matched main matrix passes 54 GPU processes plus one host suite, including DCC-unwatch after merged #22950. Capability fixtures absent on main are reported separately from common cases.Windows 11 Enterprise 10.0.26200, WinLibs GCC 15.2.0 UCRT r7, Release. NVIDIA RTX 5080 (10de:2c02), 621.01/32.0.16.2101; AMD Radeon Graphics (1002:13c0), 32.0.21045.16010. Required Vulkan, application shader cache off, Khronos 1.4.363; actual device/layer verified per process.
Exact sources, commands, raw logs and limits. The four native-depth recurrence cases use the unchanged main fixture; the matrix also includes main's new depth-to-color initial-owner and cold 2x/8x FMASK cases. Historical 20 November controls retain their own pins in the earlier report.
No fresh Linux execution of this head, console-equivalence, game/FPS, full CTest or analyzer-clean result is claimed. Quarantined shader-memory/cache executables remain unbuilt/unrun. Earlier independent Linux Pascal results on #6989/#6995 retain the old
2ecf7da072/4cc7d22168plus main3bf7091b75pins; requested RTX 4090 confirmation remains outstanding.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)