Repository navigation
fix(agc): import multisampled DCC register clears - #8123
Conversation
|
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.
|
|
Tested on RTX 3080 (NVIDIA 617.42) and AMD Radeon RDNA 2 iGPU ( AI-assisted: yes (Claude Code). |
|
The 4x case that failed in the earlier Windows run now passes, on a base that has #8172. Setup: Windows 11 (26300), WinLibs GCC 15.2.0, Release,
Not tested: the validation layer, a title, and a later whole-range AI-assisted: yes (Claude Code); results above were run on this machine. |
d5c07e8 to
6f621e2
Compare
|
Added the resident-refill regression in On the same RX 6650 XT/RADV machine, main and candidate each pass the four focused DCC tests three times (12/12), with actual Khronos layer insertion confirmed and zero VUID errors. A separate local control keeps initial Your Windows initial-import results are attributed in the description; the new refill cases have not yet been repeated on Windows. The description also corrects the earlier path-less Linux validation claim and links all four new logs and both controls: evidence bundle. No new native-title or performance claim. |
|
Windows run at the current head, since the earlier Windows reports were at Setup. Head
The 4x case passes, and with no new validation errors against |
…r-clear key DccRefillTests now also refills the DCC metadata of a resident multisampled target with 0x20202020 in every accepting mode (CPU fill with and without CMASK, GPU fill under watched and unwatched imports). The next draw must clear the target to the colour of its clear registers before drawing, so the resolve equals that colour blended with the drawn sample. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
6f621e2 to
3634b97
Compare
|
Latest conflict refresh, 2026-10-26: head Linux RX 6650 XT/RADV, required Vulkan, shader caches disabled, Khronos validation: main, candidate and restored candidate each pass the state plus 2x/4x/8x clear selection 4 groups × 3 (12 passes), zero skips or VUIDs. Each physical clear group proves three RX 6650 XT selections and three actual instance/device validation-layer insertions. The state group is a CPU check. Two production-only negative controls retain the candidate tests. Removing initial Current main accepts and tests the Linux unwatched compared-import path; the older rejection expectation below has been superseded. Windows continues to exclude its unsupported unwatched mode. No new Windows, console or title run was performed. Conventions pass with zero errors and one existing-style debt-length warning. Final fetched main Patch/source manifest, semantic conflict preservation, build logs, all five test arms, hashes and shared-launch receipts. SHA-256: AI-assisted: yes. |
✅ 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. |
What
Uniform multisampled DCC key
0x20currently throws during initial color import. Route it through the existing exactCB_COLOR_CLEAR_WORD0/1conversion. Mixed metadata, unsupported CMASK, texels over 64 bits and formats without an exact conversion still throw. No title-specific path is added.The key follows Mesa's GFX8–10
GFX8_DCC_CLEAR_REGdefinition in ac_descriptors.h. Console hardware behavior remains unmeasured and recorded in debt. This refreshes the previously unpublished local fix tracked in #7382.The initial-import regression covers 2/4/8 samples, both alpha placements and absent/clear/expanded CMASK, using nontrivial RGBA16F register values. Existing resolve checks cover untouched samples and preservation of a live image after register changes.
Tested
Latest conflict refresh, 2026-10-26: head
3634b97d970eb6aed0dd4a961cb2ef72921be551, two authored commits on tested main1061954c7e559bf3495345a4920d0d33851967d3. The production change remains the single0x20register-clear case. The test/debt conflicts preserve main's comp-to-single path, Linux compared-import probe behavior and platform-specific write-watch rules, together with this PR's initial-import and resident-refill clear checks.Linux RX 6650 XT/RADV, required Vulkan, shader caches disabled, Khronos validation: main, candidate and restored candidate each pass the state plus 2x/4x/8x clear selection 4 groups × 3 (12 passes), zero skips or VUIDs. Each physical clear group proves three RX 6650 XT selections and three actual instance/device validation-layer insertions. The state group is a CPU check.
Two production-only negative controls retain the candidate tests. Removing initial
0x20support fails all three clear tests at unsupported initial uniform fast clear; rejecting only0x20202020in resident refill fails all three at the resident metadata write. In each control the state test passes. Restoring the candidate passes 12/12 again, and its library hash is identical to the first candidate. Distinct source/library hashes and raw logs are attached.Current main accepts and tests the Linux unwatched compared-import path; the older rejection expectation below has been superseded. Windows continues to exclude its unsupported unwatched mode. No new Windows, console or title run was performed. Conventions pass with zero errors and one existing-style debt-length warning. Final fetched main
bf77a9e9cba4b02c358779b35295176dd9cae164changes none of this PR's three files and merges cleanly; GPU results remain pinned to the stated tested base.Patch/source manifest, semantic conflict preservation, build logs, all five test arms, hashes and shared-launch receipts. SHA-256:
cc986714a8406b790f8304c6e4efc7430badc5e83731b4fb9145e8e7fa52d1e8; downloaded copy verified.Earlier qualification:
Arch Linux, AMD Radeon RX 6650 XT (RADV NAVI23), Mesa 26.2.4-arch1.1, Ryzen 9 7950X. Refreshed onto main
3b5a24c0d611af1fc7ddd843dfa66fd6563a5dc5, candidate6f621e23c62368534baf3660c31c7a437bdc5403(two commits, no merge commits). Main and candidate each pass the same four focused tests three times: 12/12, no skips and zeroVUID-errors. Logs confirm actual Khronos 1.4.363 instance/device insertion. The layer is not installed in this host's default search path; earlier path-less Linux logs cannot establish validation-layer coverage and are superseded by these runs.ANYPS5_REQUIRE_VULKAN=1 ANYPS5_NO_SHADER_CACHE=1 \ VK_INSTANCE_LAYERS=VK_LAYER_KHRONOS_validation \ VK_ADD_LAYER_PATH=/mnt/sas-ssd/AnyPS5-work/workspace/doom-videoout/vulkan-layer/usr/share/vulkan/explicit_layer.d \ VK_LOADER_DEBUG=warn,error,layer \ ctest --test-dir BUILD -R '^agc_driver_msaa_dcc_(state|clear_[248])$' -VThe added resident-refill regression covers whole-range
0x20202020metadata writes by CPU and GPU, with/without CMASK, at 2x/4x/8x. It checks nontrivial RGBA16F clear-register values in untouched pixels and the expected sample blend in the next draw's scissor. Existing partial-write and unsupported-clear rejection cases remain covered. That older qualification expected Linux unwatched GPU metadata to be rejected; the latest refresh above instead preserves and tests current main's accepted compared-import path. Windows excludes that unwatched mode as before.Independent Windows validation by @TheSovietWaffle (report): Windows 10 Pro 22H2, WinLibs GCC 15.2.0 Release, candidate
d5c07e844, RTX 3080 (NVIDIA 617.42) and AMD Radeon RDNA 2 iGPU (1002:164e, driver 32.0.21045.5002). The 2x and 8x clear tests pass 3/3 on each GPU. The 4x test fails 3/3 on both candidate and their main340247a08baseline withmultisampled DCC target reuse requires watched guest memory; the contributor identifies the subsequently fixed #8103/#8172 issue. These are contributor-reported results, not a claim that the full Windows test set passes.Independent follow-up by @wachi35676 (report): Windows 11 (26300), WinLibs GCC 15.2.0 Release, main
02fb1ce53with candidated5c07e844merged, RTX 5070 Ti (NVIDIA 617.42) and AMD Radeon iGPU (reported AMD driver 2.0.353). WithANYPS5_REQUIRE_VULKAN=1 ANYPS5_NO_SHADER_CACHE=1, DCC state and 2x/4x/8x clear tests pass 3/3 on each GPU; this base includes #8172. With only the PR's tests on main, all three clear tests fail at the unsupported initial uniform fast clear, while state passes. The related 58-test set passes on both GPUs apart from the reported NVIDIA stencil-export skip; their main baseline had the same skip and one write-tracking failure under parallel load that passed 3/3 serially. These are contributor-reported results without the validation layer or title testing. That contributor run predates the new refill regression; it covers initial import only. The newly added refill test has been run locally on Linux, not yet repeated on Windows.Initial-import negative control
f643667b3b: keep the new tests and remove only the productioncase 0x20uline. All three clear tests fail three times (9/9 expected failures) withinitial multisampled DCC contents are not a supported uniform fast clear, while DCC state passes 3/3. That control stops before resident refill, so it does not establish refill coverage.Refill-specific negative control
6da249b146: retain initial0x20support and reject only0x20202020inabsorbDccFill. The 2x/4x/8x tests each fail atwrites to a resident multisampled DCC target or its metadata are not implemented, after initial import succeeds. The same tests pass on candidate6f621e23c6. This confirms the added regression reaches resident refill. Actual Khronos insertion is confirmed in all three negative-control executions, with no missing-layer errors orVUID-messages.PPSA28795 startup evidence on a separate integration based on main
567c5fd630: diagnostic revisionf30fa236f2aborts withkey=0x20 extent=1920x1080 samples=8 format=122 elementBytes=4 dccBytes=81920 cmaskKey=0xcc cmaskBytes=24576. Adding this support at integration65839aa209passes that stop, displays loading and closes normally (exit 0, PID gone, kernel setting restored). This integration also includes ten host-import commits; it is not an isolated game A/B. No new gameplay or speed claim. Earlier interactive Snoopy evidence and remaining work are in #7382.Full focused logs, negative control and native integration evidence.
New matched main/candidate logs, both negative controls, exact patch and source manifest.
Conventions rerun on this revision: zero errors (existing long debt entry warning). A local merge-tree check against main
557682ca44b08c51e5a51a42ecb2d8a9e3d41f9cis clean. The earliertools/pr_overlap.pyrun listed stale branches with shared files it could not compare; its earlier manual diff review found no equivalent register-clear implementation. #7600 handles comp-to-single key0x10, a different path. Its source/debt edits are adjacent: this PR has no implementation dependency on it and can rebase if it lands first.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)