Repository navigation
feat(agc): implement measured single-sample dithered alpha coverage - #14561
oneandonlydean merged 1 commit into
Conversation
|
Thanks for the single-sample work and for attaching the raw readbacks. We re-derived the pixel patterns from the attached boundary readbacks and they match the shader tables for both modes, both export formats and all four origin parities. Two small points, neither blocking:
|
|
Additional native Bugsnax PPSA01503 smoke testing on this exact head (
Native logs, observer reports, recorded inputs, library hashes, harnesses and three scene captures. SHA-256 |
|
Measured this case now, retaining the ignored-location behavior for single-sample draws with A private RADV build writes the four raw Tested zero/default words, uniform +7/+7, uniform -8/-8, and nonuniform four-pixel words Commit Complete readbacks, raw-register patch, synthetic probe/shaders, independent verification script and test logs. SHA-256 |
|
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.
|
✅ NVIDIA GPU test: passedPR head
Unstable on main (3, these also failed in recent main runs on this machine; not counted against this PR)Failing on main too (4, not counted against this PR)Validation IDs already present on main (5 IDs in 484 tests)Skipped (46)ReproduceAutomated build and test on a contributor's NVIDIA machine; it does not replace upstream CI. A new comment is posted for each new push. Full logs. |
|
Windows GPU check of head The four new tests time out on Windows because of how they are registered. In the full run (3266/3284 pass),
With this local change, which is not pushed since the branch is yours, they pass: set_tests_properties(${testName} PROPERTIES ENVIRONMENT "ANYPS5_NO_SHADER_CACHE=1" SKIP_RETURN_CODE 77 TIMEOUT 30 WORKING_DIRECTORY "${CMAKE_SOURCE_DIR}")
if(WIN32)
set_tests_properties(${testName} PROPERTIES ENVIRONMENT_MODIFICATION "PATH=path_list_prepend:$<TARGET_FILE_DIR:libc>")
endif()With that change,
No validation-layer errors were reported. Adding the four names to the list at The rest of the full run:
Not run: no title. |
|
Fixed the Windows registration omission identified in comment6566304410. New head: The only change adds the existing The earlier Windows owner's local-patch 9-test/3-repeat result remains attributed to that report. An exact-public-head Windows rerun is requested separately; none is claimed here. The sample-location question is already addressed by the 240-process readback follow-up, whose measured pins and PS5/gfx1013 limitation remain unchanged. Evidence: frozen source and qualification receipts (SHA-256 |
✅ NVIDIA GPU test: passedPR head
Unstable on main (3, these also failed in recent main runs on this machine; not counted against this PR)Failing on main too (3, not counted against this PR)Validation IDs already present on main (5 IDs in 484 tests)Skipped (45)ReproduceAutomated build and test on a contributor's NVIDIA machine; it does not replace upstream CI. A new comment is posted for each new push. Full logs. |
|
Windows GPU check of exact head
The validation layer was inserted 21 times. No VUIDs were reported, and nothing failed or was skipped. Hashes (SHA-256):
This is the first Windows run of the public head with the |
MarcZX10
left a comment
There was a problem hiding this comment.
Reviewed — no blocking findings in the code read; the new single-sample dithered cases are skipped on Windows
This PR adds measured single-sample dithered alpha-to-coverage: detection from three registers, a new SingleSampleDither mode in the request, the masks for the two modes, and a request-serializer version bump from 51 to 52. The four new single-sample dithered CTest cases report Skipped on the Windows runner, so this path has no hosted pass. I read most of the production change. The ShaderInputInfoBuilder change and the test bodies were not read.
What I ran
- Head
7713151489a40270f62b9e9030ba3abbc8f245de; basef2d874c1fdccf781c0fa5d86619bb5dd8894b958. 17 files, +302/-40: the draw decode, lookup and register key (Driver/Draw/*),Graphics/src/State.cpp(+25/-),Graphics/include/State.hpp,RecompilerCacheKey,RequestSerializer.cpp(+20/-),Recompiler.hpp(theSingleSampleDitherenum),SpirvModuleEmitter.cpp,ShaderInputInfoBuilder.cpp(+4), the test sources (Graphics.cpp,ShaderMemory.cpp,AlphaToCoverage.cpp+145,RequestSerializerTests.cpp), the CMake fragment (+10), and a debt line. - Read the production change for the draw, state, serializer and module-emitter parts. The command's output was cut at 110 lines, so the
ShaderInputInfoBuilderchange and the test bodies were not read. - Hosted, Windows CTest: 2595 of 2595 passed, with skipped cases counted as passed.
agc_driver_undithered_alpha_to_coverage_state(Test #1507),agc_driver_alpha_to_coverage_state(Test #1512) andagc_write_watch_coverage(Test #1972) passed. The four new cases,agc_driver_single_sample_dithered_alpha_to_coverage_{e701,rounded}_{f16,f32}(Test #1422 to #1425), are Skipped. The AlphaToCoverage execution source is not in the WindowsANYPS5_AGC_EXECUTION_TESTSlist (F16ToF32Unpack;F64FmaSubnormals;RegistrationPrepareShutdown), so the Windows build uses the skip stub. - Hosted, other jobs: relinkers and relinker-asan succeeded; library-portability succeeded. Linux skipped.
- Read-only checks from the trusted main checkout: diff check, conventions and PR template, and the stack check all passed (no declared dependencies, no errors). ABI audit not applicable.
- The test-quality helper flagged four changed test sources as possibly unregistered. Not investigated further.
- No MarcZX10 review at this head.
Results
| Check | Result | Note |
|---|---|---|
| Diff check | passed | |
| Conventions and PR template | passed | conventions check from the main checkout |
| Mergeability and dependencies | passed | stack check: no declared dependencies, no errors |
| ABI audit | not applicable | no export changed |
| Undithered and two-sample alpha-to-coverage state cases (hosted, Windows) | passed | Test #1507, #1512, #1972 |
| Single-sample dithered cases (hosted, Windows) | skipped | Test #1422 to #1425; the Windows build uses the skip stub |
| Single-sample detection and masks (read) | passed by reading | no blocking defect found in the read |
ShaderInputInfoBuilder change |
not verified | not read |
| Test bodies | not verified | names and CMake only |
| Hardware behaviour of the masks and the rounding modes | not verified | the PR states its measurements; not checkable here |
| Negative controls | not run | no local build |
Read-only check output
Precheck was not run: no PR-head code is run here. Diff check: passed. Conventions: passed. ABI audit: not applicable. Stack check: passed, no declared dependencies, no errors. Hosted: gh api repos/boykopovar/AnyPS5/commits/7713151489a40270f62b9e9030ba3abbc8f245de/check-runs, and the Windows job log (2595 of 2595, with the single-sample cases skipped).
Negative control
Not run here. A negative control needs a local build and run of the alpha-to-coverage tests, and code from this head is not run here.
Findings
Blocking
None from the code read.
Non-blocking
- Nothing hosted runs the single-sample dithered path. All four new cases are Skipped on Windows, and Linux is skipped on pull requests. The CTest total of 2595 of 2595 includes these skips.
- The serializer version moves from 51 to 52. Dither values 3 and 4 are accepted only from version 52, and
version == 50uis still rejected. The serializer tests were not read.
Sources
- Detection and state: https://github.com/boykopovar/AnyPS5/blob/7713151489a40270f62b9e9030ba3abbc8f245de/core/libs/prx/libSceAgcDriver/Graphics/src/State.cpp
- Serializer: https://github.com/boykopovar/AnyPS5/blob/7713151489a40270f62b9e9030ba3abbc8f245de/core/shader/recompiler/ControlFlow/src/RequestSerializer.cpp
- Windows execution list: https://github.com/boykopovar/AnyPS5/blob/7713151489a40270f62b9e9030ba3abbc8f245de/.github/workflows/windows-msys2.yml (line 86)
- Windows job log: check-run
windowson 7713151
Not verified
- The
ShaderInputInfoBuilderchange and the test bodies (AlphaToCoverage.cpp,Graphics.cpp,ShaderMemory.cpp,RequestSerializerTests.cpp). - The masks and rounding modes against PS5 hardware.
- Any hosted pass for the single-sample dithered path.
To get this to a good state
- Run the four single-sample dithered cases in hosted CI on a host that builds them, or add AlphaToCoverage to the Windows execution list. Nothing else blocking.
7713151 to
8a3e168
Compare
|
Rebased onto main Fresh Linux qualification: seven common groups ×3 pass on main (21 executions); those plus four single-sample execution groups ×3 pass on the change (33), with zero skips/VUIDs and actual Khronos insertion in all physical execution groups. The version-gate negative control fails and exact restoration passes ×3 with an identical serializer binary hash. Verified paired evidence (SHA-256 The old exact-head Windows AI-assisted: yes (Codex). |
|
Current-head paired Windows qualification is complete: main The seven common serializer/shader-memory/graphics/state/alpha groups pass three times on main (21/21). The same seven plus all four single-sample FP16/FP32 dither execution groups pass three times on the change (33/33). Zero skips or VUID IDs. Every physical execution group records actual Khronos instance and device layer insertion on each repetition: two groups on main, six on the change. CPU/mocked-context groups are identified separately. All prescribed provider pins were reconciled before this paired gate; earlier runs with four outdated provider archives are retained as excluded evidence. Both arms used the Windows FIFO, Frozen source proofs, bounded harness, raw logs/JUnit, hashes and terminal FIFO receipts, SHA-256 This qualifies the rebased version-53 request format and focused alpha behavior on this Windows host. The earlier @MarcZX10, please re-review this exact head and trigger upstream full CI with its paired current-head Windows qualification now attached. |
|
Refreshed onto
Tested on the result (Linux, RX 6650 XT, RADV, Release, validation layer on), three runs: AI-assisted: yes. |
MarcZX10
left a comment
There was a problem hiding this comment.
Reviewed — no blocking findings
I reviewed all 17 changed files at head 1f5fc8b89b3df17f765c5b91b4e7190c78141bd6; I found no substantiated code blocker, but I am withholding approval while exact-head hosted checks are pending.
What I ran
GitHub reports PR base 5cb015caaaaf83f8ee431414ee6a457b5b307d49; current main is 7feb37ee3e30e10139b483fb4df689d5b5b69ab8. The stack helper previewed the exact PR head cleanly against current main. Environment: Debian Linux x86_64, Python 3.11.2, Git 2.39.5, GCC 12.2.0. I did not configure or build AnyPS5.
python3 tools/pr_precheck.py --repo boykopovar/AnyPS5 --pr 14561 --output-dir /tmp/anyps5-pr-precheck/14561-latest
git diff --check 5cb015caaaaf83f8ee431414ee6a457b5b307d49...1f5fc8b89b3df17f765c5b91b4e7190c78141bd6
python3 tools/check_conventions.py --base 5cb015caaaaf83f8ee431414ee6a457b5b307d49 --head 1f5fc8b89b3df17f765c5b91b4e7190c78141bd6 --title 'feat(agc): implement measured single-sample dithered alpha coverage' --body /tmp/anyps5-pr-precheck/14561-latest/pr-body.md
python3 tools/pr_abi_audit.py --repo /marc/AnyPS5 --base 5cb015caaaaf83f8ee431414ee6a457b5b307d49 --head 1f5fc8b89b3df17f765c5b91b4e7190c78141bd6 --json
git worktree add --detach /tmp/anyps5-pr-test-quality-14561-1f5fc8b89b3d refs/review/14561/20261103-current
python3 tools/pr_test_quality.py --root /tmp/anyps5-pr-test-quality-14561-1f5fc8b89b3d --json core/libs/prx/libSceAgcDriver/tests/Graphics.cpp core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp core/libs/prx/libSceAgcDriver/tests/execution/AlphaToCoverage.cpp core/shader/recompiler/tests/RequestSerializerTests.cpp
git worktree remove /tmp/anyps5-pr-test-quality-14561-1f5fc8b89b3d
python3 tools/pr_stack_check.py 14561 --repo boykopovar/AnyPS5 --output-dir /tmp/anyps5-pr-precheck/14561-stack-current
gh pr checks 14561 --repo boykopovar/AnyPS5
gh workflow run build.yml --repo boykopovar/AnyPS5 --ref main -f pr=14561 -f linux=true -f full=true -f select=falseThe author reports Linux RX 6650 XT/RADV Release tests on this exact head: 16/16 focused tests for each of three runs, with no VUID lines. This is author-reported, not a run I performed. The Windows pair linked from the review request is for head 8a3e1686c132df1835bf6b613b69eca376932e9d, not this head.
Results
| Check | Result | Note |
|---|---|---|
| Diff and conventions/template | passed | Exact-head patch and repository checks passed. |
| Current-main merge preview | passed | Clean against current main. |
| Test registration | passed | CMake includes all changed sources and registers the four new GPU cases. |
| ABI audit | not applicable | No public export declarations changed. |
| Test-quality heuristic | failed | Three source-registration warnings; CMake inspection confirms those sources are included. |
| No-build precheck | failed | Its isolated snapshot lacks optional helper scripts; relevant checks were run separately. |
| Hosted checks | not run | Five checks remained queued at the final query. |
| Full workflow dispatch | failed | GitHub requires repository admin rights. |
| Local build, CTest and negative control | not run | I did not compile or mutate source. |
Precheck table and unedited outputs
The precheck report’s table:
| Check | Status | Command / reason |
|---|---|---|
| build_and_compile | not_applicable | The precheck deliberately does not configure, build, or compile AnyPS5. |
| diff_check | passed | git diff --check 5cb015caaaaf83f8ee431414ee6a457b5b307d49...1f5fc8b89b3df17f765c5b91b4e7190c78141bd6 |
| conventions_and_pr_template | passed | /usr/bin/python3 tools/check_conventions.py --base 5cb015caaaaf83f8ee431414ee6a457b5b307d49 --head 1f5fc8b89b3df17f765c5b91b4e7190c78141bd6 --title feat(agc): implement measured single-sample dithered alpha coverage --body /tmp/anyps5-pr-precheck/14561-latest/pr-body.md |
| changed_export_abi_audit | failed | /usr/bin/python3 tools/pr_abi_audit.py --base 5cb015caaaaf83f8ee431414ee6a457b5b307d49 --head 1f5fc8b89b3df17f765c5b91b4e7190c78141bd6 --json |
| python_syntax | not_applicable | No changed Python implementation files. |
| related_python_unit_tests | not_applicable | No changed tools/ module has an existing sibling tools/tests/test_<module>.py suite. |
| python_test_registration | not_applicable | No changed test_*.py files. |
| live_dependency_and_mergeability_check | passed | /usr/bin/python3 /marc/AnyPS5/tools/pr_stack_check.py 14561 --repo boykopovar/AnyPS5 --output-dir /tmp/anyps5-pr-precheck/14561-latest/stack |
| build_dependent_cpp_tests | not_applicable | Not run: C++ tests need exact-head binaries, which require a build; the precheck does not build. |
| test_quality_heuristics | failed | /usr/bin/python3 /tmp/anyps5-pr-precheck/14561-latest/head-1f5fc8b89b3d-7bd179ba/tools/pr_test_quality.py --root /tmp/anyps5-pr-precheck/14561-latest/head-1f5fc8b89b3d-7bd179ba --json core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/DrawDecode.cpp core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/DrawLookup.cpp core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/DrawRegisterKey.cpp core/libs/prx/libSceAgcDriver/Graphics/include/State.hpp core/libs/prx/libSceAgcDriver/Graphics/src/State.cpp core/libs/prx/libSceAgcDriver/tests/Graphics.cpp core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp core/libs/prx/libSceAgcDriver/tests/cmake/agc_driver_alpha_to_coverage_tests.cmake core/libs/prx/libSceAgcDriver/tests/execution/AlphaToCoverage.cpp core/shader/recompiler/CacheKey.hpp core/shader/recompiler/ControlFlow/src/RequestSerializer.cpp core/shader/recompiler/Optimization/include/Optimization/ShaderStageInputInfo.hpp core/shader/recompiler/Recompiler.hpp core/shader/recompiler/SpirvBackend/src/SpirvModuleEmitter.cpp core/shader/recompiler/Translation/src/ShaderInputInfoBuilder.cpp core/shader/recompiler/tests/RequestSerializerTests.cpp docs/dev/debt/libSceAgcDriver.md |
| negative_controls | not_applicable | No changed Python test module in tools/ can be run as a no-build base-source control. |
Unedited command outputs:
/tmp/anyps5-pr-precheck/14561-latest/report.md
/tmp/anyps5-pr-precheck/14561-latest/report.json
Conclusion: checks failed
All conventions checks passed.
{
"status": "not_applicable",
"symbols": [],
"findings": [],
"limitations": [
"No changed APS5_VABI declaration/definition or APS5_EXPORT alias was recognized in the PR diff."
]
}
{
"findings": [
{
"path": "core/libs/prx/libSceAgcDriver/tests/Graphics.cpp",
"line": 1,
"kind": "possible-unregistered-cpp-test",
"message": "Changed C++ test source path was not found literally in CMake files; inspect registration, generated source lists, and workflow coverage."
},
{
"path": "core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp",
"line": 1,
"kind": "possible-unregistered-cpp-test",
"message": "Changed C++ test source path was not found literally in CMake files; inspect registration, generated source lists, and workflow coverage."
},
{
"path": "core/libs/prx/libSceAgcDriver/tests/execution/AlphaToCoverage.cpp",
"line": 1,
"kind": "possible-unregistered-cpp-test",
"message": "Changed C++ test source path was not found literally in CMake files; inspect registration, generated source lists, and workflow coverage."
}
],
"negative_control_candidates": [],
"limits": [
"Heuristics can miss weak assertions and can flag valid tests; inspect every finding.",
"A test that passes against base is not by itself proof that the PR test is inadequate.",
"Negative controls are only candidates until the test actually runs against base and fails by assertion rather than import/setup error."
]
}
# PR stack check — fresh
Target: https://github.com/boykopovar/AnyPS5/pull/14561
Target branch tip: `7feb37ee3e30e10139b483fb4df689d5b5b69ab8`
All heads unchanged: **True**
Dependency order: #14561
## Individual merge previews
- PR #14561: **clean** against current base; head `1f5fc8b89b3df17f765c5b91b4e7190c78141bd6`; changed paths: none reported
## Dependency relationships
No declared PR dependencies were found in the target PR chain.
## Limits
Merge previews apply each exact PR head independently to the current base. A dependency head that is absent from its dependent is reported separately from merge conflicts; file overlap is only a signal and does not prove a conflict. This tool does not build, resolve conflicts, publish comments, or update branches.
conventions pending 0 https://github.com/boykopovar/AnyPS5/actions/runs/41560756038/job/125670499081
eligibility pending 0 https://github.com/boykopovar/AnyPS5/actions/runs/41560758496/job/125670506248
labels pending 0 https://github.com/boykopovar/AnyPS5/actions/runs/41560756011/job/125670499419
library-portability pending 0 https://github.com/boykopovar/AnyPS5/actions/runs/41560758514/job/125670506084
report pending 0 https://github.com/boykopovar/AnyPS5/actions/runs/41560758494/job/125670506133
could not create workflow dispatch event: HTTP 403: Must have admin rights to Repository. (https://api.github.com/repos/boykopovar/AnyPS5/actions/workflows/369417853/dispatches)
Negative control
| Assertion | Change to code under test | Did the test fail? |
|---|---|---|
| Current-head single-sample shader masks and version-54 serialization | No mutation; no exact-head binary was built here. | Could not be exercised. |
Negative-control reports in the PR description refer to earlier revisions and are not treated as evidence for 1f5fc8b89b3df17f765c5b91b4e7190c78141bd6.
Findings
Blocking
None found in the complete source review of this head.
Non-blocking
The Windows qualification linked in the review request records head 8a3e1686c132df1835bf6b613b69eca376932e9d. The current head changes serialization from version 53 to 54 and updates compatibility fixtures. The author reports a current-head Linux qualification, but I did not independently run it. I do not count the linked Windows run as exact-head evidence.
Sources
- Single-sample state validation and decoding at the reviewed head
- Shader dither masks at the reviewed head
- Version 54 serialization and compatibility checks at the reviewed head
- Author-reported current-head Linux qualification
- Windows paired qualification for the earlier head
Not verified
- The five hosted checks were still queued at the final query; no hosted build result is available yet.
- I did not run a local build, CTest, GPU test, Windows test, console test or negative control.
- The current-head Linux hardware run is author-reported and was not independently reproduced here.
To get this to a good state
No code change is requested from this source review. Let the exact-head hosted checks complete; a repository admin can run the requested full workflow if its additional build/test evidence is needed. I will recheck this head and relevant no-build checks before changing the review outcome, and will repeat them on any new head.
✅ NVIDIA GPU test: passedPR head
Unstable on main (3, these also failed in recent main runs on this machine; not counted against this PR)Failing on main too (3, not counted against this PR)Validation IDs already present on main (4 IDs in 529 tests)Skipped (49)ReproduceAutomated build and test on a contributor's NVIDIA machine; it does not replace upstream CI. A new comment is posted for each new push. Full logs. |
|
Refreshed onto main Fresh paired Linux gate: nine common groups ×3 pass on main (27); those plus four single-sample groups ×3 pass on the change (39), including the two main sample-mask-export integration controls. Zero skips/VUIDs, actual Khronos insertion in every physical execution. Lowering only the dither-version gate54→53 fails the serializer regression; exact restore passes ×3 with an identical binary hash. Verified paired source/logs/JUnit and control evidence (SHA-256 Earlier Windows results keep their original pins; this refresh adds no exact-head Windows, title, console or speed claim. |
✅ NVIDIA GPU test: passedPR head
Unstable on main (2, these also failed in recent main runs on this machine; not counted against this PR)Failing on main too (3, not counted against this PR)Validation IDs already present on main (4 IDs in 517 tests)Skipped (48)ReproduceAutomated build and test on a contributor's NVIDIA machine; it does not replace upstream CI. A new comment is posted for each new push. Full logs. |
|
Tested locally on Windows (Ryzen 7 5800X, RTX 3080, WinLibs GCC 15.2 Release) with PPSA04263 (GTA V). Build: this PR at 7713151 merged cleanly onto main 086c068 plus my local performance branches.
This covers stability and validation only. I did not compare the A2C output with a reference image. |
|
Ran the alpha-to-coverage tests on NVIDIA's proprietary Linux driver with the Khronos validation layer, since the description's GPU run is on RADV and the NVIDIA CI runs in the comments are of earlier heads. Setup: Arch Linux (kernel 7.3.4), GCC 16.2.1, Release, NVIDIA GeForce RTX 4090 (vendor
No new AI-assisted: yes (Claude Code) |
e9b474e to
a98f6fe
Compare
|
Rebased without merge commits onto main Verified current logs, source patch, loader/bank proofs and results. The description now separates these current runs from older negative controls and attributed NVIDIA/Windows reports. GitHub currently marks the PR mergeable. AI-assisted: yes |
MarcZX10
left a comment
There was a problem hiding this comment.
Reviewed — looks good
Nothing blocks this change; the points below are optional.
What I ran
Reviewed head a98f6fe182294cd5feed38782fc0ab52b2a829ab from the prepared diff and pinned reader. No tests or builds were run in this session.
Results
| Check | Result | Note |
|---|---|---|
| Changed-code review | passed | Targeted state, shader, cache, and serializer paths inspected |
| Build and tests | not run | Results in the PR description are author reported |
Findings
Blocking
None.
Non-blocking
- The PR description records that PS5/gfx1013 equivalence remains unverified; the checked implementation limits support to the measured register and export configurations.
Not verified
- No build, test, hardware, or console run was performed in this review session.
- Full text was read for the changed implementation files and the included changed test/configuration files except
core/libs/prx/libSceAgcDriver/tests/Graphics.cpp,core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp,core/libs/prx/libSceAgcDriver/tests/execution/AlphaToCoverage.cpp, andcore/shader/recompiler/tests/RequestSerializerTests.cpp, whose full texts exceeded the review-folder limit. Relevant hunks were read fromreview/diff.patch; targeted ranges were read throughrepo_read.pyfor the oversized alpha-coverage execution test. No changed files were excluded by rule; the two oversized files were listed as too large for the review folder.
To get this to a good state
Nothing is required. Optional: verify the measured masks against PS5/gfx1013 hardware when available.
What
Single-sample
DB_ALPHA_TO_MASK=0xe701and0x18701stop at main's two-/eight-sample guards. Support both measured patterns with one matched raster/depth sample, one pixel iteration,MSAA_ENABLE=0, FP16/FP32 MRT0 exports and the existing export restrictions. Unknown configurations still throw; the two-/eight-sample masks remain unchanged. Carry the typed mode through decoded state, draw identity, shader keys and lowering; canonical pipeline recipes omit the shader-only metadata.The mask rule comes from RX 6650 XT raw-register readbacks: full-rate 2×2 thresholds, 75 alpha patterns, all origin parities and 1,843,200 boundary-sweep pixels without a mismatch. This is gfx1032 evidence; PS5/gfx1013 equivalence remains unverified and is recorded in debt.
Rebased as one feature commit, without merge commits, on main
c8f72e905cce039a05970ed39d2373f770217901. Main already supplies request writer version 63; this change extends the existing dither byte without changing the surrounding layout. Preserve version 62’sspannedAnySubgrouptail and older accepted layouts. Versions 50 and 58–61 stay rejected, 64 remains unsupported, and version 62 and earlier reject the new single-sample codes. The conflict resolution explicitly tags the legacy-62 test buffer before replay; the original renderer delta is preserved.Tested
Current refresh, Linux RX 6650 XT / RADV: main
c8f72e905cce039a05970ed39d2373f770217901, changea98f6fe182294cd5feed38782fc0ab52b2a829ab. Both full SDK/relinker and focused fixture builds pass, andrequest_serializerpasses on both. Actual patched/raw SDK commit labels, complete frozen-bank hashes, loader relocation resolution and exact raw AGC paths are recorded. Source/build configuration is restored after each build.All physical cases select the RX 6650 XT. Both arms use
ANYPS5_REQUIRE_VULKAN=1,ANYPS5_NO_SHADER_CACHE=1,VK_INSTANCE_LAYERS=VK_LAYER_KHRONOS_validation, andVK_LOADER_DEBUG=layer. The logs show 4/8 validation-layer insertions, no missing-layer warning and no VUIDs, using layer 1.4.363 (headers require 1.4.335). Conventions against the pinned current main pass. The original version-63 updates now supplied by main are accounted for separately from the preserved renderer delta.Current build, CPU/GPU commands and full logs, source patch, bank/loader proofs and review receipts, SHA-256
47c20503439f77bd89e3bc7c098137473c3ac78146a2d7f5e8a56ae01ccb1e08; downloaded archive and all 57 payloads verified. The bundle preserves an excluded fixture-loader setup failure and a controller log-name collision; neither is GPU/renderer evidence. The passing matrix above comes from the fresh, correctedgpu-r3-*results.The official overlap scan covered 2,219 open PRs. It reported shared serializer/test-registration contexts and 92 comparisons it could not complete because those branches conflict with the base. The shared-path patches for 98 other branches are indexed locally; this is not blanket composition clearance. No new dependency is introduced. Other schema changes still require deliberate version/layout integration when composed.
Historical evidence remains available: previous main-e4caa refresh, state/refusal and unchanged-fixture negative control, SHA-256
59bf8e0e8f5fb97245490c889f75fba54ca860b59787fa17cb48f1bbbb7d92f1. Those older controls and raw-register hardware measurements were not rerun for this rebase.Independent NVIDIA Linux validation by domx4q tested older public head
e9b474e342on main40206fe50d, Arch Linux / RTX 4090 / proprietary 620.70.06 / Khronos layer 1.4.363.1: 7/7 baseline and 11/11 change alpha-coverage cases pass, no skips or VUIDs. This is contributor-reported evidence at those pins, not a new run of the current head.The external Windows/RTX 3080 GTA V report compares main
87b25605c8, which aborts during Story-save loading, with older headdb771547a6on main496d57b47a, which loads the same PPSA04263 01.011.001 save and reaches played/driven free roam. The Unblocks line records that contributor’s result at those pins. This refresh adds no native-title, FPS, Windows, PS5-console or PPSA04264 claim; hosted full CI remains unverified.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)