fix(agc): accept a compared host import for an initial multisampled DCC import #9940

Merged
EagleBearerYS merged 4 commits from upstream-pr/9940 into main 2026-10-26 12:51:03 +00:00
EagleBearerYS commented 2026-10-22 22:57:06 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by EagleBearerYS on 2026-10-22T22:57:06Z.


What

Rush 2 Recompiled (PPSA69423) and Wave Race 64 Recompiled (PPSA69424) stop at their first multisampled DCC target with AGC graphics: initial multisampled DCC contents require watched guest memory (#9724). On Linux, babyhuey saw it with lavapipe on main 8b3a6ba88: Rush 2 at 6.4 s, Wave Race 64 at 1.5 s (comment).

Why Linux refuses. Linux has no deferred settle. When the write-watch probe finds that host imports lose their write protection, it compares every import instead of watching it. The probe then logs [write-watch] host imports resolve write protection: yes (…); imported ranges are compared.

  • lavapipe does this.
  • So does RADV: janzezno's RX 7900 GRE (RADV NAVI31) logs the same line (#9781).
  • initialDccClear takes a write generation of the color, DCC and CMASK ranges and requires each one to be watched. So a target in such an import is refused at its first use.

MarcZX10 asked to keep the reproductions split by that probe result (comment). This PR is his case (2), Linux comparison mode. The Windows case (1), a watched import whose deferred settle is still pending, is #9941.

The change:

  • ComparedHostImportCovers(context, address, bytes): true when a live host import marked unwatched covers the whole range. It returns false on Windows, so nothing changes there.
  • initialDccClear: a range that isn't watched but lies in such an import is read once and kept as a copy, with NewestStamp taken after the read. Watched ranges take their generation as before.
  • checkDccCurrent on reuse: a compared range is current while its NewestStamp is unchanged and its bytes equal the copy (EqualsCommittedUnsynced).
    • The compare runs at most once per collect epoch. It uses the same memo as the storage-texture compare: the epoch and ForgetSerial of the last equal compare.
    • Otherwise the range gets a watched range's refusals: writes to a resident multisampled DCC target or its metadata are not implemented, and the pending-write refusal.
  • absorbDccFill: compared metadata takes the landed key bytes of a whole fill as its new copy.
  • FMASK (second commit): #7948's FMASK range of an eight-sample target gets the same path, at its import check and at reuse. Four-sample targets such as Rush 2's never take an FMASK range (use.samples == 8u), so this commit doesn't change them.
  • Still refused:
    • a range that is unwatched without such an import, such as an explicit GuestMemory::Unwatch;
    • partial imports, misalignment and overlapping planes.

What a compared range can't see: a guest CPU store of the bytes already there. That is comparison mode's general limit, and the storage-texture compare has it too. A driver or GPU store into the range's 64 KiB blocks counts as a change through NewestStamp, same-value stores included. The debt entry says both.

Cost. Each use of a resident target with compared ranges takes one NewestStamp per compared range and at most one memcmp per range per collect epoch. That replaces a refusal at the first draw. memcmp on a cloud Xeon at 2.80 GHz:

Range Compare
0xc4000 bytes (Rush 2's import) 40-44 µs
1 MiB 65-72 µs
8 MiB 0.7-0.87 ms
1920x1080 RGBA8 at 4 samples (33 MB) 6-7 ms

The memory cost is one copy of each compared range. A cheaper current check, such as a hash per 64 KiB block, would be follow-up work.

Commits:

  1. fix(agc): accept a compared host import for an initial multisampled DCC import. It is on a main that has #7948, so Recreate keeps both resets, and the end of initialDccClear keeps #7948's FMASK check.
  2. fix(agc): accept a compared host import for a multisampled target's FMASK range.
  3. test(agc): skip the watched-import control case where imports report pages written (test only). Mode 5 forces the planes' imports to stay watched, as a control. On a device whose probe reports watched pages written at the import or after a GPU read, the watched planes see those writes and the reuse check refuses, so mode 5 now runs only where the probe reports neither, the condition #10138 uses for the forced-watch shadow tests.
  4. docs(debt): shorten the native multisampled DCC fast clear entry (docs only): the entry is under the 1,000-character limit, with the same cases.

Tested

  • agc_driver_msaa_dcc_compared_import_{2,4,8} (new, DccComparedImportTests in tests/execution/AlphaToCoverage.cpp).
    • The test requires the probe's own choice of comparison mode, and that each plane's import reports unwatched. A device that keeps imports watched, or has no host imports, skips with a device-limit message.
    • Each mode states its write-watch mode:
Mode Write-watch mode Case Expected
0 comparison color, DCC and CMASK each in a compared import draw, resolve to the DCC clear plus the drawn sample; a reuse draw resolves the same
1 comparison CPU store of a new byte into the color plane next draw refused (color range)
2 comparison CPU store of a new DCC key refused (DCC range)
3 comparison same-value driver store into CMASK refused (CMASK range), through NewestStamp
4 explicitly unwatched color Unwatched, nothing imported refused at the import, as on main
5 watched (control) imports forced to stay watched right clear on both trees; skipped where the probe reports watched pages written at the import or after a GPU read
6 comparison only the DCC plane imported refused on main, passes
7-10 comparison, 8 samples modes 0, "only the FMASK compared", 1 and 3 for the FMASK the FMASK passes its import checks
11 explicitly unwatched, 8 samples FMASK Unwatched refused at the import
  • Other cases:
    • DccRefillTests mode 6, a metadata fill in forced comparison mode, used to expect requires watched guest memory. It now expects the fill to clear the target.
    • DccFastClearTests mode 4 (an explicit Unwatch over the DCC metadata) is unchanged. It refuses on both trees.
  • Red/green on lavapipe (cloud Linux, ANYPS5_REQUIRE_VULKAN=1 GALLIUM_OVERRIDE_CPU_CAPS=avx):
    • Red, main's product files with the new tests:
      • compared_import_2, _4 and _8 fail with the title's text.
      • msaa_dcc_clear_4 fails with multisampled DCC target reuse requires watched guest memory (the refill case).
    • Green: _4 and clear_4 pass, 20/20 each with --repeat until-fail:20. The 2- and 8-sample tests skip, because lavapipe renders color only at 1 and 4 samples.
    • The FMASK commit:
      • Without the FMASK commit, _8 fails with native FMASK contents require watched guest memory.
      • With the commit, modes 7-10 pass the FMASK import checks before the device limit, and mode 11 is refused.
      • A mutant without ComparedHostImportCovers in the FMASK check fails mode 11.
  • Not run on lavapipe:
    • eight-sample color, so the FMASK reuse check and the mode 9 and 10 refusals;
    • #7948's agc_driver_native_fmask, which skips for the same reason.
  • ctest -R 'msaa|dcc|fmask|multisample': 38/38, 6 skipped for sample counts.
  • GitHub's runners:
    • This head (run): on Linux, red 3/3 with main's product files (compared_import_2, _4 and _8 fail), and green ×10 (13 tests; 5 skip on lavapipe for their sample counts). The libc and libkernel suites pass on Linux. On Windows it builds and passes ×10, and its Vulkan tests skip.
    • On Windows, the libkernel suite's guest_raise_in_system_call failed on both arms, with and without this PR. It also timed out twice on main's own Windows Build today (run, run). This PR changes nothing in libkernel.
    • The libc and libkernel suites ran with APS5_SKIP_TIMING_TESTS=1, which relaxes precise_wait's median bounds on GitHub's hosted runners.
    • An earlier run of the first commit alone (run): Linux red 3/3 on main, green ×10, suites pass; Windows builds, its Vulkan tests skip, suites pass.
  • Validation layer:
    • This head (run): llvmpipe (LLVM 20.1.2) with agc_driver_msaa_dcc_compared_import_4 and _8, agc_driver_msaa_dcc_clear_4, agc_driver_sample_multisample_target and agc_driver_native_fmask, one run on each tree. With the change, agc_driver_msaa_dcc_compared_import_4, agc_driver_msaa_dcc_clear_4 and agc_driver_sample_multisample_target pass, and agc_driver_msaa_dcc_compared_import_8 and agc_driver_native_fmask skip on llvmpipe. main's tree has three of the five: agc_driver_msaa_dcc_clear_4 and agc_driver_sample_multisample_target pass and agc_driver_native_fmask skips. None fail. The layer loaded 3 times on main and 5 with the change. Both logs report only VUID-VkDeviceCreateInfo-pNext-pNext, so the change adds no VUID- message.
    • The first commit's run (run) reports only VUID-VkDeviceCreateInfo-pNext-pNext, on both arms.
  • Title runs in Linux comparison mode (babyhuey, comment): lavapipe (Mesa 25.2.8) under Xvfb, 45 s per title, on main 895f47f4ee and on that main with this head merged. Both arms log imported ranges are compared.
    • Rush 2 Recompiled (PPSA69423) and Wave Race 64 Recompiled (PPSA69424) stop with initial multisampled DCC contents require watched guest memory on main.
    • With this PR both get past it, to the device cannot render color with the target's sample count. That is lavapipe's limit: it renders color only at 1 and 4 samples.
  • Windows, by @klosixgaming-arch (comment): NVIDIA GeForce RTX 5090 (617.42), Windows 11 24H2, MinGW-w64 GCC 15.2.0.
    • The probe there keeps imports watched: [write-watch] host imports of write-watched memory keep the write watch: yes.
    • agc_driver_msaa_dcc_state and agc_driver_msaa_dcc_clear_2, _4 and _8 pass.
    • agc_driver_msaa_dcc_compared_import_2, _4 and _8 skip with their Linux-only message, as this PR intends on Windows.
  • AMD Radeon 860M on Linux (RADV, Mesa 26.2.5), by @Lander0606 (comment): 0c1f6b5571 against main eb8dcfebaa, ctest -R 'msaa|dcc|fmask|multisample', three runs without and three with the Khronos validation layer (1.4.341). The probe picks comparison mode there, with pages reported written at the import and after a GPU read.
    • main: 35 of 35 pass in every run. 0c1f6b5571: 35 of 38, with agc_driver_msaa_dcc_compared_import_2, _4 and _8 failing in every run, in mode 5 alone, with writes to a resident multisampled DCC target or its metadata are not implemented. With mode 5 skipped in a local edit, all three pass at 2, 4 and 8 samples, so the compared-import path holds on RADV.
    • The layer loaded in every run, and no run logs a VUID- line.
    • The third commit skips mode 5 on such a device.
  • The third commit, 54e2b57a66 (now 0045c937eb) (run): on GitHub's Linux runner (lavapipe) the probe reports no page written at the import or after a read, so mode 5 still runs. Of the msaa|dcc|fmask|multisample set's 38 tests, 32 pass 10 runs in a row and 6 skip for sample counts (agc_driver_msaa_dcc_compared_import_4 passes; _2 and _8 skip); none fail. On Windows, 5 pass 10 runs in a row and 33 skip without a Vulkan device. The libc and libkernel suites pass on both, run with APS5_SKIP_TIMING_TESTS=1, which relaxes precise_wait's median bounds on GitHub's hosted runners. GitHub's runners can't show the red: it needs a device whose probe reports those writes, as the 860M's does.
  • The 860M again, at 4df08139c0, by @Lander0606 (comment), same setup: 38 of 38 pass in all six runs, three with and three without the layer, none skipped. agc_driver_msaa_dcc_compared_import_2, _4 and _8 print the control-case skip line and then pass, with all five FMASK cases at 8 samples. On lavapipe on the same machine (Mesa 26.2.5), _4 and _8 pass without that line, so mode 5 still runs there, and _2 skips for the sample count. The layer loaded in every run, and no run logs a VUID- line.
  • Windows on real GPUs, by @BKlaasWerkman (comment): 4df08139c0 merged into main 15e71dbe11 (clean) and compared with that main on the same machine; Windows 11 Pro, WinLibs GCC 15.2.0, Release, ANYPS5_REQUIRE_VULKAN=1 ANYPS5_NO_SHADER_CACHE=1, with the Khronos validation layer (1.4.363) loaded; the 1,282 tests tools/select_tests.py picks for this diff.
    • NVIDIA GeForce RTX 3060 Ti (617.42): 1,272 pass, 7 skip, 3 fail. Intel Arc Graphics (Meteor Lake, 101.9150): 1,251 pass, 29 skip, 2 fail. Against main, the only difference on each GPU is the 3 new tests, which skip.
    • On Windows the probe reports that host imports keep the write watch (4,096 of 4,096 scratch pages reported written at the import, none after GPU reads or writes), so agc_driver_msaa_dcc_compared_import_2, _4 and _8 skip on both GPUs with their "Linux comparison mode only" text, as intended.
    • No other test changes result, agc_driver_alpha_to_coverage included, and the validation messages are the same as main's on both GPUs. The failures fail on main too: the agc_driver_sample_order trio on NVIDIA (#9056), and agc_storage_write_back and agc_driver_multisample_retirement on Intel.
  • CI's Linux job mirrored on a cloud Linux machine: 1852/1855. The failures are the machine's three IPv6 socket tests.
  • check_conventions.py: passes with no warning: the fourth commit shortens the multisampled DCC debt entry from 1,585 characters to 970, under the 1,000 limit. No comment lines are added.
  • Linear history on main 672c38f703, after adriadam10's review (review): the four commits were replayed on main with no merge: 27371e9b16 → ff167c39c9, 0c1f6b5571 → 1fc53abf64, 54e2b57a66 → 0045c937eb, 4df08139c0 → e2449e2ddb.
    • ff167c39c9 is a resolved replay, not a plain pick: commit 1 resolves #7948's FMASK-range code in MultisampleTarget.cpp as the earlier merge did. e2449e2ddb's tree is identical to that merge of 4df08139c0 with main 672c38f703, and it merges cleanly with main 00198bfcdf.
    • The debt file keeps main's Multisampled CMASK state and Multisampled DCC CMASK without fast clears entries as they are. This PR changes only the Native multisampled DCC fast clears entry (970 characters) and the Compressed FMASK reads entry (watched or compared planes). python3 tools/check_conventions.py --base origin/main passes against main 00198bfcdf.
    • On GitHub's runners, ^agc_driver_msaa_dcc_ with agc_driver_native_fmask, agc_driver_sample_multisample_target, agc_driver_sample_order, agc_driver_multisample_retirement and agc_storage_write_back, ×10 on that tree (run): Linux: 12 run, 7 pass, 5 skip (agc_driver_native_fmask and the 2- and 8-sample cases, for lavapipe's sample counts), 0 fail. Windows: 12 run, 1 pass (agc_driver_msaa_dcc_state), 11 skip (no Vulkan device), 0 fail. The libc and libkernel suites pass on both, run with APS5_SKIP_TIMING_TESTS=1, which relaxes precise_wait's median bounds on GitHub's hosted runners.
    • Each of the first three commits passes the same set ×3 at that commit, with the same counts on both runners (run, run, run). The fourth commit is docs only.

Overlap:

  • #9941 (ours, the Windows case): it touches the same check in initialDccClear and the FMASK checks. They compose with the settle first: a pending Windows settle returns the range to the watch, and anything still compared takes this path. test/9724-both-main (6a9d64819f) is that resolution, and its import|settle|dcc|msaa|alpha_to_coverage|fmask|multisample set passes 77/77. Merge order: this PR first.
  • #8527: its one tests/Recorder.cpp conflict is with main. This PR doesn't touch that file.
  • #8429 and main caa089fd73: clean.
  • 438a4438c3, a merge of main acbfd7c7fe (run). main now has #9941, which reads the initial multisampled DCC ranges and the native FMASK through WatchedAfterSettle, settling a pending Windows import first. This PR's compared-import checks now ask WatchedAfterSettle before falling back to a compared host import: Linux keeps the compared copies (the settle is Windows only) and Windows keeps #9941's settle (there are no compared imports there). The debt entry keeps both sentences. The DCC, FMASK, import-settle and host-import tests ran 10 times in a row. Linux: 15 run, 9 pass, 6 skip (the 2- and 8-sample cases, as lavapipe has no 2- or 8-sample colour, and agc_driver_native_fmask and agc_import_settle_initial_dcc, which skip on that runner as in earlier runs), 0 fail; the before arm fails the 4-sample compared-import and clear cases. Windows: 24 run, 1 pass, 23 skip (no Vulkan device), 0 fail. Suites: libc and libkernel pass on Linux (144 and 207) and on Windows (171 and 223). The suites ran with APS5_SKIP_TIMING_TESTS=1, which relaxes precise_wait's median bounds on GitHub's hosted runners.

Checklist

  • Based on current main; no other open PR implements the same functions
  • One topic per PR; follow-ups go in a new PR
  • No comments in code except technical debt
  • Unimplemented paths throw (NotImplemented_nid_no_patch); silent stubs are listed under Silent stubs in their library's technical debt file
  • No notes, investigation .md files or images added to the repository (attach them to this PR)
  • New third-party code is a submodule built from source
  • Generic behaviour, not specific to one title
  • Depends on: none (merge order: before #9941)
  • Fixes: none (related: #9724, #9781)
  • Unblocks: Rush 2 Recompiled (PPSA69423) and Wave Race 64 Recompiled (PPSA69424) in Linux comparison mode, past initial multisampled DCC contents require watched guest memory (babyhuey's lavapipe runs; their next stop there is lavapipe's sample-count limit)
  • GPUs tested: Mesa llvmpipe, Ubuntu 24.04, on a cloud Linux machine and GitHub's Linux runner; NVIDIA GeForce RTX 5090 (617.42), Windows 11, in klosixgaming-arch's run; AMD Radeon 860M (RADV, Mesa 26.2.5), Linux, in Lander0606's run; NVIDIA GeForce RTX 3060 Ti (617.42) and Intel Arc Graphics (Meteor Lake, 101.9150), Windows 11, with the validation layer (BKlaasWerkman)
  • AI-assisted: yes
<!-- greyfinch-sync:boykopovar/AnyPS5:issue:4975245264 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/9940). Originally posted by [EagleBearerYS](https://github.com/EagleBearerYS) on 2026-10-22T22:57:06Z. --- ### What Rush 2 Recompiled (PPSA69423) and Wave Race 64 Recompiled (PPSA69424) stop at their first multisampled DCC target with `AGC graphics: initial multisampled DCC contents require watched guest memory` (#9724). On Linux, babyhuey saw it with lavapipe on `main` 8b3a6ba88: Rush 2 at 6.4 s, Wave Race 64 at 1.5 s ([comment](https://github.com/boykopovar/AnyPS5/issues/9724#issuecomment-6340976890)). **Why Linux refuses.** Linux has no deferred settle. When the write-watch probe finds that host imports lose their write protection, it compares every import instead of watching it. The probe then logs `[write-watch] host imports resolve write protection: yes (…); imported ranges are compared`. - lavapipe does this. - So does RADV: janzezno's RX 7900 GRE (RADV NAVI31) logs the same line ([#9781](https://github.com/boykopovar/AnyPS5/issues/9781#issuecomment-6348638652)). - `initialDccClear` takes a write generation of the color, DCC and CMASK ranges and requires each one to be watched. So a target in such an import is refused at its first use. MarcZX10 asked to keep the reproductions split by that probe result ([comment](https://github.com/boykopovar/AnyPS5/issues/9724#issuecomment-6345204139)). This PR is his case (2), Linux comparison mode. The Windows case (1), a watched import whose deferred settle is still pending, is #9941. **The change:** - **`ComparedHostImportCovers(context, address, bytes)`:** true when a live host import marked unwatched covers the whole range. It returns false on Windows, so nothing changes there. - **`initialDccClear`:** a range that isn't watched but lies in such an import is read once and kept as a copy, with `NewestStamp` taken after the read. Watched ranges take their generation as before. - **`checkDccCurrent` on reuse:** a compared range is current while its `NewestStamp` is unchanged and its bytes equal the copy (`EqualsCommittedUnsynced`). - The compare runs at most once per collect epoch. It uses the same memo as the storage-texture compare: the epoch and `ForgetSerial` of the last equal compare. - Otherwise the range gets a watched range's refusals: `writes to a resident multisampled DCC target or its metadata are not implemented`, and the pending-write refusal. - **`absorbDccFill`:** compared metadata takes the landed key bytes of a whole fill as its new copy. - **FMASK (second commit):** #7948's FMASK range of an eight-sample target gets the same path, at its import check and at reuse. Four-sample targets such as Rush 2's never take an FMASK range (`use.samples == 8u`), so this commit doesn't change them. - **Still refused:** - a range that is unwatched without such an import, such as an explicit `GuestMemory::Unwatch`; - partial imports, misalignment and overlapping planes. **What a compared range can't see:** a guest CPU store of the bytes already there. That is comparison mode's general limit, and the storage-texture compare has it too. A driver or GPU store into the range's 64 KiB blocks counts as a change through `NewestStamp`, same-value stores included. The debt entry says both. **Cost.** Each use of a resident target with compared ranges takes one `NewestStamp` per compared range and at most one memcmp per range per collect epoch. That replaces a refusal at the first draw. memcmp on a cloud Xeon at 2.80 GHz: | Range | Compare | |---|---| | 0xc4000 bytes (Rush 2's import) | 40-44 µs | | 1 MiB | 65-72 µs | | 8 MiB | 0.7-0.87 ms | | 1920x1080 RGBA8 at 4 samples (33 MB) | 6-7 ms | The memory cost is one copy of each compared range. A cheaper current check, such as a hash per 64 KiB block, would be follow-up work. **Commits:** 1. `fix(agc): accept a compared host import for an initial multisampled DCC import`. It is on a `main` that has #7948, so `Recreate` keeps both resets, and the end of `initialDccClear` keeps #7948's FMASK check. 2. `fix(agc): accept a compared host import for a multisampled target's FMASK range`. 3. `test(agc): skip the watched-import control case where imports report pages written` (test only). Mode 5 forces the planes' imports to stay watched, as a control. On a device whose probe reports watched pages written at the import or after a GPU read, the watched planes see those writes and the reuse check refuses, so mode 5 now runs only where the probe reports neither, the condition #10138 uses for the forced-watch shadow tests. 4. `docs(debt): shorten the native multisampled DCC fast clear entry` (docs only): the entry is under the 1,000-character limit, with the same cases. ### Tested - **`agc_driver_msaa_dcc_compared_import_{2,4,8}`** (new, `DccComparedImportTests` in `tests/execution/AlphaToCoverage.cpp`). - The test requires the probe's own choice of comparison mode, and that each plane's import reports unwatched. A device that keeps imports watched, or has no host imports, skips with a device-limit message. - Each mode states its write-watch mode: | Mode | Write-watch mode | Case | Expected | |---|---|---|---| | 0 | comparison | color, DCC and CMASK each in a compared import | draw, resolve to the DCC clear plus the drawn sample; a reuse draw resolves the same | | 1 | comparison | CPU store of a new byte into the color plane | next draw refused (color range) | | 2 | comparison | CPU store of a new DCC key | refused (DCC range) | | 3 | comparison | same-value driver store into CMASK | refused (CMASK range), through `NewestStamp` | | 4 | explicitly unwatched | color `Unwatch`ed, nothing imported | refused at the import, as on `main` | | 5 | watched (control) | imports forced to stay watched | right clear on both trees; skipped where the probe reports watched pages written at the import or after a GPU read | | 6 | comparison | only the DCC plane imported | refused on `main`, passes | | 7-10 | comparison, 8 samples | modes 0, "only the FMASK compared", 1 and 3 for the FMASK | the FMASK passes its import checks | | 11 | explicitly unwatched, 8 samples | FMASK `Unwatch`ed | refused at the import | - **Other cases:** - `DccRefillTests` mode 6, a metadata fill in forced comparison mode, used to expect `requires watched guest memory`. It now expects the fill to clear the target. - `DccFastClearTests` mode 4 (an explicit `Unwatch` over the DCC metadata) is unchanged. It refuses on both trees. - **Red/green on lavapipe** (cloud Linux, `ANYPS5_REQUIRE_VULKAN=1 GALLIUM_OVERRIDE_CPU_CAPS=avx`): - **Red, `main`'s product files with the new tests:** - `compared_import_2`, `_4` and `_8` fail with the title's text. - `msaa_dcc_clear_4` fails with `multisampled DCC target reuse requires watched guest memory` (the refill case). - **Green:** `_4` and `clear_4` pass, 20/20 each with `--repeat until-fail:20`. The 2- and 8-sample tests skip, because lavapipe renders color only at 1 and 4 samples. - **The FMASK commit:** - Without the FMASK commit, `_8` fails with `native FMASK contents require watched guest memory`. - With the commit, modes 7-10 pass the FMASK import checks before the device limit, and mode 11 is refused. - A mutant without `ComparedHostImportCovers` in the FMASK check fails mode 11. - **Not run on lavapipe:** - eight-sample color, so the FMASK reuse check and the mode 9 and 10 refusals; - #7948's `agc_driver_native_fmask`, which skips for the same reason. - **`ctest -R 'msaa|dcc|fmask|multisample'`:** 38/38, 6 skipped for sample counts. - **GitHub's runners:** - This head ([run](https://github.com/EagleBearerYS/AnyPS5/actions/runs/39867584705)): on Linux, red 3/3 with `main`'s product files (`compared_import_2`, `_4` and `_8` fail), and green ×10 (13 tests; 5 skip on lavapipe for their sample counts). The libc and libkernel suites pass on Linux. On Windows it builds and passes ×10, and its Vulkan tests skip. - On Windows, the libkernel suite's `guest_raise_in_system_call` failed on both arms, with and without this PR. It also timed out twice on `main`'s own Windows Build today ([run](https://github.com/boykopovar/AnyPS5/actions/runs/39859731775), [run](https://github.com/boykopovar/AnyPS5/actions/runs/39861406807)). This PR changes nothing in libkernel. - The libc and libkernel suites ran with `APS5_SKIP_TIMING_TESTS=1`, which relaxes `precise_wait`'s median bounds on GitHub's hosted runners. - An earlier run of the first commit alone ([run](https://github.com/EagleBearerYS/AnyPS5/actions/runs/39818674066)): Linux red 3/3 on `main`, green ×10, suites pass; Windows builds, its Vulkan tests skip, suites pass. - **Validation layer:** - This head ([run](https://github.com/EagleBearerYS/AnyPS5/actions/runs/39867674373)): llvmpipe (LLVM 20.1.2) with `agc_driver_msaa_dcc_compared_import_4` and `_8`, `agc_driver_msaa_dcc_clear_4`, `agc_driver_sample_multisample_target` and `agc_driver_native_fmask`, one run on each tree. With the change, `agc_driver_msaa_dcc_compared_import_4`, `agc_driver_msaa_dcc_clear_4` and `agc_driver_sample_multisample_target` pass, and `agc_driver_msaa_dcc_compared_import_8` and `agc_driver_native_fmask` skip on llvmpipe. `main`'s tree has three of the five: `agc_driver_msaa_dcc_clear_4` and `agc_driver_sample_multisample_target` pass and `agc_driver_native_fmask` skips. None fail. The layer loaded 3 times on `main` and 5 with the change. Both logs report only `VUID-VkDeviceCreateInfo-pNext-pNext`, so the change adds no `VUID-` message. - The first commit's run ([run](https://github.com/EagleBearerYS/AnyPS5/actions/runs/39818777148)) reports only `VUID-VkDeviceCreateInfo-pNext-pNext`, on both arms. - **Title runs in Linux comparison mode** (babyhuey, [comment](https://github.com/boykopovar/AnyPS5/pull/9940#issuecomment-6353880538)): lavapipe (Mesa 25.2.8) under Xvfb, 45 s per title, on `main` 895f47f4ee and on that `main` with this head merged. Both arms log `imported ranges are compared`. - Rush 2 Recompiled (PPSA69423) and Wave Race 64 Recompiled (PPSA69424) stop with `initial multisampled DCC contents require watched guest memory` on `main`. - With this PR both get past it, to `the device cannot render color with the target's sample count`. That is lavapipe's limit: it renders color only at 1 and 4 samples. - **Windows, by @klosixgaming-arch** ([comment](https://github.com/boykopovar/AnyPS5/pull/9940#issuecomment-6354888466)): NVIDIA GeForce RTX 5090 (617.42), Windows 11 24H2, MinGW-w64 GCC 15.2.0. - The probe there keeps imports watched: `[write-watch] host imports of write-watched memory keep the write watch: yes`. - `agc_driver_msaa_dcc_state` and `agc_driver_msaa_dcc_clear_2`, `_4` and `_8` pass. - `agc_driver_msaa_dcc_compared_import_2`, `_4` and `_8` skip with their Linux-only message, as this PR intends on Windows. - **AMD Radeon 860M on Linux (RADV, Mesa 26.2.5), by @Lander0606** ([comment](https://github.com/boykopovar/AnyPS5/pull/9940#issuecomment-6365348186)): 0c1f6b5571 against `main` eb8dcfebaa, `ctest -R 'msaa|dcc|fmask|multisample'`, three runs without and three with the Khronos validation layer (1.4.341). The probe picks comparison mode there, with pages reported written at the import and after a GPU read. - `main`: 35 of 35 pass in every run. 0c1f6b5571: 35 of 38, with `agc_driver_msaa_dcc_compared_import_2`, `_4` and `_8` failing in every run, in mode 5 alone, with `writes to a resident multisampled DCC target or its metadata are not implemented`. With mode 5 skipped in a local edit, all three pass at 2, 4 and 8 samples, so the compared-import path holds on RADV. - The layer loaded in every run, and no run logs a `VUID-` line. - The third commit skips mode 5 on such a device. - **The third commit, 54e2b57a66 (now 0045c937eb)** ([run](https://github.com/EagleBearerYS/AnyPS5/actions/runs/39958551225)): on GitHub's Linux runner (lavapipe) the probe reports no page written at the import or after a read, so mode 5 still runs. Of the `msaa|dcc|fmask|multisample` set's 38 tests, 32 pass 10 runs in a row and 6 skip for sample counts (`agc_driver_msaa_dcc_compared_import_4` passes; `_2` and `_8` skip); none fail. On Windows, 5 pass 10 runs in a row and 33 skip without a Vulkan device. The libc and libkernel suites pass on both, run with `APS5_SKIP_TIMING_TESTS=1`, which relaxes `precise_wait`'s median bounds on GitHub's hosted runners. GitHub's runners can't show the red: it needs a device whose probe reports those writes, as the 860M's does. - **The 860M again, at 4df08139c0, by @Lander0606** ([comment](https://github.com/boykopovar/AnyPS5/pull/9940#issuecomment-6367674696)), same setup: 38 of 38 pass in all six runs, three with and three without the layer, none skipped. `agc_driver_msaa_dcc_compared_import_2`, `_4` and `_8` print the control-case skip line and then pass, with all five FMASK cases at 8 samples. On lavapipe on the same machine (Mesa 26.2.5), `_4` and `_8` pass without that line, so mode 5 still runs there, and `_2` skips for the sample count. The layer loaded in every run, and no run logs a `VUID-` line. - **Windows on real GPUs, by @BKlaasWerkman** ([comment](https://github.com/boykopovar/AnyPS5/pull/9940#issuecomment-6371596518)): 4df08139c0 merged into `main` 15e71dbe11 (clean) and compared with that `main` on the same machine; Windows 11 Pro, WinLibs GCC 15.2.0, Release, `ANYPS5_REQUIRE_VULKAN=1 ANYPS5_NO_SHADER_CACHE=1`, with the Khronos validation layer (1.4.363) loaded; the 1,282 tests `tools/select_tests.py` picks for this diff. - **NVIDIA GeForce RTX 3060 Ti (617.42):** 1,272 pass, 7 skip, 3 fail. **Intel Arc Graphics (Meteor Lake, 101.9150):** 1,251 pass, 29 skip, 2 fail. Against `main`, the only difference on each GPU is the 3 new tests, which skip. - On Windows the probe reports that host imports keep the write watch (4,096 of 4,096 scratch pages reported written at the import, none after GPU reads or writes), so `agc_driver_msaa_dcc_compared_import_2`, `_4` and `_8` skip on both GPUs with their "Linux comparison mode only" text, as intended. - No other test changes result, `agc_driver_alpha_to_coverage` included, and the validation messages are the same as `main`'s on both GPUs. The failures fail on `main` too: the `agc_driver_sample_order` trio on NVIDIA (#9056), and `agc_storage_write_back` and `agc_driver_multisample_retirement` on Intel. - **CI's Linux job mirrored** on a cloud Linux machine: 1852/1855. The failures are the machine's three IPv6 socket tests. - **`check_conventions.py`:** passes with no warning: the fourth commit shortens the multisampled DCC debt entry from 1,585 characters to 970, under the 1,000 limit. No comment lines are added. - **Linear history on `main` 672c38f703, after adriadam10's review** ([review](https://github.com/boykopovar/AnyPS5/pull/9940#pullrequestreview-5637884183)): the four commits were replayed on `main` with no merge: 27371e9b16 → ff167c39c9, 0c1f6b5571 → 1fc53abf64, 54e2b57a66 → 0045c937eb, 4df08139c0 → e2449e2ddb. - ff167c39c9 is a resolved replay, not a plain pick: commit 1 resolves #7948's FMASK-range code in `MultisampleTarget.cpp` as the earlier merge did. e2449e2ddb's tree is identical to that merge of 4df08139c0 with `main` 672c38f703, and it merges cleanly with `main` 00198bfcdf. - The debt file keeps `main`'s `Multisampled CMASK state` and `Multisampled DCC CMASK without fast clears` entries as they are. This PR changes only the `Native multisampled DCC fast clears` entry (970 characters) and the `Compressed FMASK reads` entry (watched or compared planes). `python3 tools/check_conventions.py --base origin/main` passes against `main` 00198bfcdf. - **On GitHub's runners**, `^agc_driver_msaa_dcc_` with `agc_driver_native_fmask`, `agc_driver_sample_multisample_target`, `agc_driver_sample_order`, `agc_driver_multisample_retirement` and `agc_storage_write_back`, ×10 on that tree ([run](https://github.com/EagleBearerYS/AnyPS5/actions/runs/40084165069)): Linux: 12 run, 7 pass, 5 skip (`agc_driver_native_fmask` and the 2- and 8-sample cases, for lavapipe's sample counts), 0 fail. Windows: 12 run, 1 pass (`agc_driver_msaa_dcc_state`), 11 skip (no Vulkan device), 0 fail. The libc and libkernel suites pass on both, run with `APS5_SKIP_TIMING_TESTS=1`, which relaxes `precise_wait`'s median bounds on GitHub's hosted runners. - Each of the first three commits passes the same set ×3 at that commit, with the same counts on both runners ([run](https://github.com/EagleBearerYS/AnyPS5/actions/runs/40085834182), [run](https://github.com/EagleBearerYS/AnyPS5/actions/runs/40085864708), [run](https://github.com/EagleBearerYS/AnyPS5/actions/runs/40085902457)). The fourth commit is docs only. **Overlap:** - **#9941 (ours, the Windows case):** it touches the same check in `initialDccClear` and the FMASK checks. They compose with the settle first: a pending Windows settle returns the range to the watch, and anything still compared takes this path. [`test/9724-both-main`](https://github.com/EagleBearerYS/AnyPS5/tree/test/9724-both-main) (6a9d64819f) is that resolution, and its `import|settle|dcc|msaa|alpha_to_coverage|fmask|multisample` set passes 77/77. Merge order: this PR first. - **#8527:** its one `tests/Recorder.cpp` conflict is with `main`. This PR doesn't touch that file. - **#8429 and `main` caa089fd73:** clean. - **438a4438c3, a merge of `main` acbfd7c7fe** ([run](https://github.com/EagleBearerYS/AnyPS5/actions/runs/40183189841)). `main` now has #9941, which reads the initial multisampled DCC ranges and the native FMASK through `WatchedAfterSettle`, settling a pending Windows import first. This PR's compared-import checks now ask `WatchedAfterSettle` before falling back to a compared host import: Linux keeps the compared copies (the settle is Windows only) and Windows keeps #9941's settle (there are no compared imports there). The debt entry keeps both sentences. The DCC, FMASK, import-settle and host-import tests ran 10 times in a row. Linux: 15 run, 9 pass, 6 skip (the 2- and 8-sample cases, as lavapipe has no 2- or 8-sample colour, and `agc_driver_native_fmask` and `agc_import_settle_initial_dcc`, which skip on that runner as in earlier runs), 0 fail; the before arm fails the 4-sample compared-import and clear cases. Windows: 24 run, 1 pass, 23 skip (no Vulkan device), 0 fail. Suites: libc and libkernel pass on Linux (144 and 207) and on Windows (171 and 223). The suites ran with `APS5_SKIP_TIMING_TESTS=1`, which relaxes `precise_wait`'s median bounds on GitHub's hosted runners. ### Checklist <!-- Rules behind each item: https://github.com/boykopovar/AnyPS5/blob/main/CONTRIBUTING.md --> - [x] Based on current `main`; no other open PR implements the same functions - [x] One topic per PR; follow-ups go in a new PR - [x] No comments in code except [technical debt](https://github.com/boykopovar/AnyPS5/blob/main/docs/dev/CONVENTIONS.md) - [x] Unimplemented paths throw (`NotImplemented_nid_no_patch`); silent stubs are listed under Silent stubs in their library's [technical debt](https://github.com/boykopovar/AnyPS5/tree/main/docs/dev/debt) file - [x] No notes, investigation `.md` files or images added to the repository (attach them to this PR) - [x] New third-party code is a submodule built from source - [x] Generic behaviour, not specific to one title - [x] Depends on: none (merge order: before #9941) - [x] Fixes: none (related: #9724, #9781) - [x] Unblocks: Rush 2 Recompiled (PPSA69423) and Wave Race 64 Recompiled (PPSA69424) in Linux comparison mode, past `initial multisampled DCC contents require watched guest memory` (babyhuey's lavapipe runs; their next stop there is lavapipe's sample-count limit) - [x] GPUs tested: Mesa llvmpipe, Ubuntu 24.04, on a cloud Linux machine and GitHub's Linux runner; NVIDIA GeForce RTX 5090 (617.42), Windows 11, in klosixgaming-arch's run; AMD Radeon 860M (RADV, Mesa 26.2.5), Linux, in Lander0606's run; NVIDIA GeForce RTX 3060 Ti (617.42) and Intel Arc Graphics (Meteor Lake, 101.9150), Windows 11, with the validation layer (BKlaasWerkman) - [x] AI-assisted: yes
MarcZX10 commented 2026-10-23 11:37:34 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-23T11:37:34Z.

Review: DISMISSED


The Linux compared-import approach is distinct from #9941’s pending-Windows-settle path, and the branch declares the intended order (this PR before #9941). Its reported lavapipe title runs and test comparison are useful for that older tree.

I cannot approve the current integration yet. The merge base is eb8dcfebaa; this head is 618 commits behind current main 777bdbb4f8 (3 commits ahead). Since that base, current main has changed the same AGC integration paths: 511 lines in GuestBufferMemory.cpp, 119 in the AGC CMake registrations, and 18 in GuestBufferMemory.hpp, along with the debt index. Please rebase and preserve the declared ordering before #9941, then rerun the focused comparison-mode/MSAA DCC tests on current main and the refreshed head and recheck the combined tree. The current PR’s product jobs are skipped by policy, so I am relying only on the test runs actually reported in its description for the old base.

One convention warning also remains: the multisampled DCC debt entry is 1,585 characters (the prior main entry was 1,232). Please trim it to the unresolved behavior and assumptions so the refreshed conventions check no longer reports the debt-length warning.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5627682299 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/9940#pullrequestreview-5627682299). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-10-23T11:37:34Z. **Review:** DISMISSED --- The Linux compared-import approach is distinct from #9941’s pending-Windows-settle path, and the branch declares the intended order (this PR before #9941). Its reported lavapipe title runs and test comparison are useful for that older tree. I cannot approve the current integration yet. The merge base is `eb8dcfebaa`; this head is 618 commits behind current `main` `777bdbb4f8` (3 commits ahead). Since that base, current `main` has changed the same AGC integration paths: 511 lines in `GuestBufferMemory.cpp`, 119 in the AGC CMake registrations, and 18 in `GuestBufferMemory.hpp`, along with the debt index. Please rebase and preserve the declared ordering before #9941, then rerun the focused comparison-mode/MSAA DCC tests on current `main` and the refreshed head and recheck the combined tree. The current PR’s product jobs are skipped by policy, so I am relying only on the test runs actually reported in its description for the old base. One convention warning also remains: the multisampled DCC debt entry is 1,585 characters (the prior main entry was 1,232). Please trim it to the unresolved behavior and assumptions so the refreshed conventions check no longer reports the debt-length warning.
adriadam10 commented 2026-10-24 10:13:50 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by adriadam10 on 2026-10-24T10:13:50Z.

Review: CHANGES_REQUESTED


main moved and this PR now conflicts with it, only in docs/dev/debt/libSceAgcDriver.md. The code in MultisampleTarget.cpp, GuestBufferMemory.* and the CMake merges cleanly, but replaying the commits one by one stops in MultisampleTarget.cpp (the #7948 merge commit is now part of main), so please update the branch against main yourself, with a single linear history.

Resolution for the debt file:

  • keep main's Multisampled CMASK state entry as it is (it now lists the 0xcccccccc/0xdddddddd/0xeeeeeeee/0xffffffff patterns; this PR doesn't touch it);
  • keep main's new Multisampled DCC CMASK without fast clears entry;
  • keep this PR's Compressed FMASK reads entry (watched or compared planes).

Then re-run python3 tools/check_conventions.py --base origin/main (the DCC entry must stay under 1,000 characters) and the focused tests on the rebased tree.

@MarcZX10 your three requests on 0c1f6b5571 look addressed at 4df08139c0 (debt entry 970 characters, RADV 860M 38/38, Windows RTX 3060 Ti / Arc against main). Could you re-review once the author pushes the rebased branch?

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5637884183 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/9940#pullrequestreview-5637884183). Originally posted by [adriadam10](https://github.com/adriadam10) on 2026-10-24T10:13:50Z. **Review:** CHANGES_REQUESTED --- `main` moved and this PR now conflicts with it, only in `docs/dev/debt/libSceAgcDriver.md`. The code in `MultisampleTarget.cpp`, `GuestBufferMemory.*` and the CMake merges cleanly, but replaying the commits one by one stops in `MultisampleTarget.cpp` (the #7948 merge commit is now part of `main`), so please update the branch against `main` yourself, with a single linear history. Resolution for the debt file: - keep `main`'s `Multisampled CMASK state` entry as it is (it now lists the 0xcccccccc/0xdddddddd/0xeeeeeeee/0xffffffff patterns; this PR doesn't touch it); - keep `main`'s new `Multisampled DCC CMASK without fast clears` entry; - keep this PR's `Compressed FMASK reads` entry (watched or compared planes). Then re-run `python3 tools/check_conventions.py --base origin/main` (the DCC entry must stay under 1,000 characters) and the focused tests on the rebased tree. @MarcZX10 your three requests on `0c1f6b5571` look addressed at `4df08139c0` (debt entry 970 characters, RADV 860M 38/38, Windows RTX 3060 Ti / Arc against `main`). Could you re-review once the author pushes the rebased branch?
ahmadmuj commented 2026-10-25 17:22:37 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by ahmadmuj on 2026-10-25T17:22:37Z.

Review: APPROVED


Reviewed head 438a4438c3 merged onto main b4d8e8bb3b (clean merge). Main is now 7e4f6e0440; that also merges clean, and its only AGC change since (#10369) is behind #ifdef __APPLE__, so Linux behaves the same. Linux x86_64 (WSL2), GCC 13.3, Release, lavapipe (llvmpipe, LLVM 20.1.2). The probe here logs imported ranges are compared, so this machine takes the new path.

What I ran:

  • ctest -R 'msaa|dcc|fmask|multisample|import_settle|host_import' with ANYPS5_REQUIRE_VULKAN=1 ANYPS5_NO_SHADER_CACHE=1: 50/50 pass, 8 of them skip (the 2- and 8-sample cases, agc_driver_native_fmask, agc_import_settle_initial_dcc, agc_host_import_sparse, agc_driver_multisample_centered_lines). Same with VK_LAYER_KHRONOS_validation; the only VUID is VUID-VkDeviceCreateInfo-pNext-pNext at device creation.
  • -R msaa_dcc --repeat until-fail:10: 7/7.
  • Red, same tree with main's MultisampleTarget.cpp and GuestBufferMemory.{cpp,hpp}: compared_import_2, _4 and _8 fail with initial multisampled DCC contents require watched guest memory, and clear_4 fails with multisampled DCC target reuse requires watched guest memory. Back to the PR: all pass.
  • Titles, 45 s each under Xvfb, relinked with --to-intel. Release ZIPs from the homebrew catalog, sha256 matched against its records: Rush 2 Recompiled (PPSA69423, 00.003.000) and Wave Race 64 Recompiled (PPSA69424, 00.001.000).
Title main's AGC files this PR
PPSA69423 14.2 s: initial multisampled DCC contents require watched guest memory 22.0 s: the device cannot render color with the target's sample count
PPSA69424 11.7 s: same 20.9 s: same as above

So babyhuey's result holds on this head and current main; the next stop is lavapipe's sample-count limit.

  • tools/check_conventions.py --base b4d8e8bb3b: pass.

Code walk of the #9941 merge:

  • All three WatchedAfterSettle calls from #9941 still run before the compared check: initial ranges, initial FMASK, FMASK reuse. On Windows ComparedHostImportCovers returns false, so each one is main's settle-then-require-watched. On Linux WatchedAfterSettle is just GuestMemory::Watched, so the compared paths are the same as at e2449e2ddb.
  • checkDccCurrent and absorbDccFill keep plain Watched for the color and metadata, as main does.
  • ComparedHostImportCovers needs one import that covers the whole range (peekImport) with unwatched set, and unwatched is only set when the import succeeded.
  • The first copyCurrent after the import always runs the full compare (checked starts empty), so a store between the read and the NewestStamp is still caught.

Not checked: 2- and 8-sample color (lavapipe has 1 and 4), so the FMASK reuse and modes 9 and 10 didn't run here. No Windows, no real GPU, and nothing past the titles' sample-count stop.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5644330764 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/9940#pullrequestreview-5644330764). Originally posted by [ahmadmuj](https://github.com/ahmadmuj) on 2026-10-25T17:22:37Z. **Review:** APPROVED --- Reviewed head `438a4438c3` merged onto main `b4d8e8bb3b` (clean merge). Main is now `7e4f6e0440`; that also merges clean, and its only AGC change since (#10369) is behind `#ifdef __APPLE__`, so Linux behaves the same. Linux x86_64 (WSL2), GCC 13.3, Release, lavapipe (llvmpipe, LLVM 20.1.2). The probe here logs `imported ranges are compared`, so this machine takes the new path. What I ran: - `ctest -R 'msaa|dcc|fmask|multisample|import_settle|host_import'` with `ANYPS5_REQUIRE_VULKAN=1 ANYPS5_NO_SHADER_CACHE=1`: 50/50 pass, 8 of them skip (the 2- and 8-sample cases, `agc_driver_native_fmask`, `agc_import_settle_initial_dcc`, `agc_host_import_sparse`, `agc_driver_multisample_centered_lines`). Same with `VK_LAYER_KHRONOS_validation`; the only VUID is `VUID-VkDeviceCreateInfo-pNext-pNext` at device creation. - `-R msaa_dcc --repeat until-fail:10`: 7/7. - Red, same tree with main's `MultisampleTarget.cpp` and `GuestBufferMemory.{cpp,hpp}`: `compared_import_2`, `_4` and `_8` fail with `initial multisampled DCC contents require watched guest memory`, and `clear_4` fails with `multisampled DCC target reuse requires watched guest memory`. Back to the PR: all pass. - Titles, 45 s each under Xvfb, relinked with `--to-intel`. Release ZIPs from the homebrew catalog, sha256 matched against its records: Rush 2 Recompiled (PPSA69423, 00.003.000) and Wave Race 64 Recompiled (PPSA69424, 00.001.000). | Title | main's AGC files | this PR | |---|---|---| | PPSA69423 | 14.2 s: `initial multisampled DCC contents require watched guest memory` | 22.0 s: `the device cannot render color with the target's sample count` | | PPSA69424 | 11.7 s: same | 20.9 s: same as above | So babyhuey's result holds on this head and current main; the next stop is lavapipe's sample-count limit. - `tools/check_conventions.py --base b4d8e8bb3b`: pass. Code walk of the #9941 merge: - All three `WatchedAfterSettle` calls from #9941 still run before the compared check: initial ranges, initial FMASK, FMASK reuse. On Windows `ComparedHostImportCovers` returns false, so each one is main's settle-then-require-watched. On Linux `WatchedAfterSettle` is just `GuestMemory::Watched`, so the compared paths are the same as at `e2449e2ddb`. - `checkDccCurrent` and `absorbDccFill` keep plain `Watched` for the color and metadata, as main does. - `ComparedHostImportCovers` needs one import that covers the whole range (`peekImport`) with `unwatched` set, and `unwatched` is only set when the import succeeded. - The first `copyCurrent` after the import always runs the full compare (`checked` starts empty), so a store between the read and the `NewestStamp` is still caught. Not checked: 2- and 8-sample color (lavapipe has 1 and 4), so the FMASK reuse and modes 9 and 10 didn't run here. No Windows, no real GPU, and nothing past the titles' sample-count stop.
Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
boykopovar/AnyPS5!9940
No description provided.