fix(agc): stop treating a memory-backed multisampled copy as a host-only alias #25869

Merged
birdmarty merged 2 commits from upstream-pr/25869 into main 2026-11-23 08:28:03 +00:00
birdmarty commented 2026-11-22 19:38:27 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by birdmarty on 2026-11-22T19:38:27Z.


What

When a multisampled texture is read and no target owns its memory, MultisampleTargetTexture builds a host copy from memory (createFilled). That copy is not host-only: memory holds its bytes. Two paths still treated it as if its samples existed only on the host.

  • The claim kept it. A depth or stencil target bound over its memory only marked it claimed, so it stayed registered with its old contents.
  • The depth checks counted it as an alias. The native multisample depth checks treated it as an aliased color target with a known value (or an unknown one). Once the depth target's stencil or clear no longer matched, every use threw native multisample stencil plane aliases a multisampled colour target whose samples are only on the host, or its depth twin native multisample depth or HTILE aliases a multisampled colour target whose samples are only on the host.

Claiming the memory now retires such copies, since a later read rebuilds them from memory. The alias lookup used by the depth checks (MultisampleColorTargetsOver) reports only targets whose samples are host-only. Host-only targets keep the existing claim handling, one-fragment FMASK guards are left alone, and a memory-backed copy over memory that changes is still retired at its next guarded access.

Changes

  • core/libs/prx/libSceAgcDriver/Graphics/src/MultisampleTarget.cpp: ClaimMultisampleTargetMemory retires the claimed range's color targets that are not host-only; MultisampleColorTargetsOver skips them.
  • core/libs/prx/libSceAgcDriver/tests/execution/SampleMultisampleTarget.cpp (in CheckClaimedTargets, test agc_driver_sample_multisample_target): zeroed memory read as a 2x R8 texture leaves a copy that is guarded but not reported as an alias. A native 2x D32S8 target bound with its stencil plane over that memory drops it, and the stencil plane then reads the zeros in memory.

Tested

Windows 11 Pro (build 26300), Intel Core i9-9900K, AMD Radeon RX 6800 (AMD driver 26.10.1, Windows driver 32.0.21045.16010, Vulkan 1.4.315), MinGW-w64 GCC 15.3.0, Release, main 66668ebb8b.

Focused set (agc_driver_graphics, agc_shader_memory, agc_driver_sample_multisample_target, agc_driver_recorder, agc_driver_cached_image_multisample_guard, agc_driver_cmask_fast_clear, agc_driver_pipelined_metadata_pass*, agc_driver_native_*, agc_driver_fmask_*, agc_driver_msaa_*, agc_driver_multisample*, agc_driver_sampled_cache*, image_msaa*, agc_driver_depth*, agc_driver_htile*, agc_driver_stencil*) with ANYPS5_REQUIRE_VULKAN=1, ANYPS5_NO_SHADER_CACHE=1, VK_INSTANCE_LAYERS=VK_LAYER_KHRONOS_validation (1.4.363) and VK_LOADER_DEBUG=layer:

main 66668ebb8b this change
Passed / failed 149 / 0 149 / 0
Validation layer inserted 189 189
VUID- lines 0 0

Without the fix (main's MultisampleTarget.cpp with this branch's test), agc_driver_sample_multisample_target fails with a memory-backed 2x copy was reported as a colour target whose samples are only on the host.

Forza Horizon 5 (PPSA22327 01.685.672), local stack of open PRs:

  • Without this change:
    • The stencil-plane refusal stopped 6 of 6 runs that reached it, each with native multisample stencil plane 0x3f002d0000+0x1fe0000 aliases multisampled colour target 0x3f002d0000+0x1fe0000 (vk format 13, 4 samples), newest clear 0x00.
    • With only the claim half, the depth twin stopped 5 of 5 runs, each with native multisample depth 0x3ef8350000+0x7f80000 aliases multisampled colour target 0x3ef8350000+0x7f80000 (vk format 100, 4 samples), newest unknown. A diagnostic showed that copy built by a 4x R32 read (access=sampling written=0) after the depth target's last bind, during its whole-HTILE clear.
  • With this change: 11 runs with the claim half alone showed no stencil-plane refusal, and 13 runs with the whole change showed neither refusal.

py -3 tools/check_conventions.py --base origin/main and py -3 tools/debt_fold.py --check pass. py -3 tools/pr_overlap.py --branch fix/agc-claim-retires-memory-backed-msaa-copy (2,361 open PRs) found no overlap among mergeable PRs. Eleven PRs that conflict with main were searched by hand; none changes the claim code or hostOnly.

Not tested: the stencil value mismatch itself in a unit test (the test shows the copy reported as an alias, which causes it), other GPUs, Linux, console behaviour.

Rebased onto main f220c22162 (394 commits, none touching the files this PR changes, no conflicts). On the rebased commit check_conventions and debt_fold --check pass. All eight PRs merged together on f220c22162, the focused tests of all eight with the same environment: main 182 passed / 0 failed, validation layer inserted 242 times, 0 VUID- lines; the eight together 188 passed / 0 failed (the six new tests added), inserted 250 times, 0 VUID- lines.

Part of the Forza Horizon 5 (PPSA22327) bring-up, #25152. The game hits these stops one after another, so these PRs were found and tested together on one stack: the other open PRs the game needs (#24960, #24994, #25151, #23688, #23545, #21479, #11825, #23778, #21155, #22306, #21199) plus the PRs below. Each one stands alone: it applies to main by itself, needs none of the others to build or pass its tests, and merges cleanly with every other one.

  • #25867 fix/agc-materialize-cold-native-fmask: cold native FMASK pages read as stored after a first touch
  • #25868 fix/agc-multisample-read-single-sample-depth: multisampled read over a single-sample depth surface
  • #25870 fix/agc-skip-no-op-htile-hiz-patch: HTILE Hi-Z patch dispatch that writes nothing
  • #25871 fix/agc-sample-htile-stencil-after-expand: stencil kept in HTILE read without metadata after an expand
  • #25872 fix/agc-expanded-after-whole-depth-publication: a whole native depth publication taken as an expand
  • #25873 fix/agc-htile-clear-supersedes-plane-writes: plane writes before a whole HTILE clear
  • #25874 fix/agc-read-unwritten-htile-stencil-from-memory: stencil plane read from memory for an unwritten native target

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 and the licence notice of code adapted from upstream (see AGENTS.md)
  • 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
  • Fixes: none
  • Unblocks: PPSA22327 #25152
  • GPUs tested: AMD Radeon RX 6800 (vendor=0x1002, device=0x73bf), AMD proprietary driver 26.10.1 (Windows driver 32.0.21045.16010, Vulkan 1.4.315), Windows 11 Pro (build 26300); Khronos validation layer 1.4.363.0 on main and this change, 0 VUIDs
  • AI-assisted: yes

🤖 Generated with Claude Code

<!-- greyfinch-sync:boykopovar/AnyPS5:issue:5442603232 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/25869). Originally posted by [birdmarty](https://github.com/birdmarty) on 2026-11-22T19:38:27Z. --- ### What When a multisampled texture is read and no target owns its memory, `MultisampleTargetTexture` builds a host copy from memory (`createFilled`). That copy is not host-only: memory holds its bytes. Two paths still treated it as if its samples existed only on the host. - **The claim kept it.** A depth or stencil target bound over its memory only marked it claimed, so it stayed registered with its old contents. - **The depth checks counted it as an alias.** The native multisample depth checks treated it as an aliased color target with a known value (or an unknown one). Once the depth target's stencil or clear no longer matched, every use threw `native multisample stencil plane aliases a multisampled colour target whose samples are only on the host`, or its depth twin `native multisample depth or HTILE aliases a multisampled colour target whose samples are only on the host`. Claiming the memory now retires such copies, since a later read rebuilds them from memory. The alias lookup used by the depth checks (`MultisampleColorTargetsOver`) reports only targets whose samples are host-only. Host-only targets keep the existing claim handling, one-fragment FMASK guards are left alone, and a memory-backed copy over memory that changes is still retired at its next guarded access. #### Changes - `core/libs/prx/libSceAgcDriver/Graphics/src/MultisampleTarget.cpp`: `ClaimMultisampleTargetMemory` retires the claimed range's color targets that are not host-only; `MultisampleColorTargetsOver` skips them. - `core/libs/prx/libSceAgcDriver/tests/execution/SampleMultisampleTarget.cpp` (in `CheckClaimedTargets`, test `agc_driver_sample_multisample_target`): zeroed memory read as a 2x R8 texture leaves a copy that is guarded but not reported as an alias. A native 2x D32S8 target bound with its stencil plane over that memory drops it, and the stencil plane then reads the zeros in memory. ### Tested Windows 11 Pro (build 26300), Intel Core i9-9900K, AMD Radeon RX 6800 (AMD driver 26.10.1, Windows driver 32.0.21045.16010, Vulkan 1.4.315), MinGW-w64 GCC 15.3.0, Release, `main` 66668ebb8b. Focused set (`agc_driver_graphics`, `agc_shader_memory`, `agc_driver_sample_multisample_target`, `agc_driver_recorder`, `agc_driver_cached_image_multisample_guard`, `agc_driver_cmask_fast_clear`, `agc_driver_pipelined_metadata_pass*`, `agc_driver_native_*`, `agc_driver_fmask_*`, `agc_driver_msaa_*`, `agc_driver_multisample*`, `agc_driver_sampled_cache*`, `image_msaa*`, `agc_driver_depth*`, `agc_driver_htile*`, `agc_driver_stencil*`) with `ANYPS5_REQUIRE_VULKAN=1`, `ANYPS5_NO_SHADER_CACHE=1`, `VK_INSTANCE_LAYERS=VK_LAYER_KHRONOS_validation` (1.4.363) and `VK_LOADER_DEBUG=layer`: | | `main` 66668ebb8b | this change | |---|---|---| | Passed / failed | 149 / 0 | 149 / 0 | | Validation layer inserted | 189 | 189 | | `VUID-` lines | 0 | 0 | Without the fix (`main`'s `MultisampleTarget.cpp` with this branch's test), `agc_driver_sample_multisample_target` fails with `a memory-backed 2x copy was reported as a colour target whose samples are only on the host`. Forza Horizon 5 (PPSA22327 01.685.672), local stack of open PRs: - **Without this change:** - The stencil-plane refusal stopped 6 of 6 runs that reached it, each with `native multisample stencil plane 0x3f002d0000+0x1fe0000 aliases multisampled colour target 0x3f002d0000+0x1fe0000 (vk format 13, 4 samples), newest clear 0x00`. - With only the claim half, the depth twin stopped 5 of 5 runs, each with `native multisample depth 0x3ef8350000+0x7f80000 aliases multisampled colour target 0x3ef8350000+0x7f80000 (vk format 100, 4 samples), newest unknown`. A diagnostic showed that copy built by a 4x R32 read (`access=sampling written=0`) after the depth target's last bind, during its whole-HTILE clear. - **With this change:** 11 runs with the claim half alone showed no stencil-plane refusal, and 13 runs with the whole change showed neither refusal. `py -3 tools/check_conventions.py --base origin/main` and `py -3 tools/debt_fold.py --check` pass. `py -3 tools/pr_overlap.py --branch fix/agc-claim-retires-memory-backed-msaa-copy` (2,361 open PRs) found no overlap among mergeable PRs. Eleven PRs that conflict with `main` were searched by hand; none changes the claim code or `hostOnly`. Not tested: the stencil value mismatch itself in a unit test (the test shows the copy reported as an alias, which causes it), other GPUs, Linux, console behaviour. Rebased onto `main` f220c22162 (394 commits, none touching the files this PR changes, no conflicts). On the rebased commit `check_conventions` and `debt_fold --check` pass. All eight PRs merged together on f220c22162, the focused tests of all eight with the same environment: `main` 182 passed / 0 failed, validation layer inserted 242 times, 0 `VUID-` lines; the eight together 188 passed / 0 failed (the six new tests added), inserted 250 times, 0 `VUID-` lines. ### Related Part of the Forza Horizon 5 (PPSA22327) bring-up, #25152. The game hits these stops one after another, so these PRs were found and tested together on one stack: the other open PRs the game needs (#24960, #24994, #25151, #23688, #23545, #21479, #11825, #23778, #21155, #22306, #21199) plus the PRs below. Each one stands alone: it applies to `main` by itself, needs none of the others to build or pass its tests, and merges cleanly with every other one. - #25867 `fix/agc-materialize-cold-native-fmask`: cold native FMASK pages read as stored after a first touch - #25868 `fix/agc-multisample-read-single-sample-depth`: multisampled read over a single-sample depth surface - #25870 `fix/agc-skip-no-op-htile-hiz-patch`: HTILE Hi-Z patch dispatch that writes nothing - #25871 `fix/agc-sample-htile-stencil-after-expand`: stencil kept in HTILE read without metadata after an expand - #25872 `fix/agc-expanded-after-whole-depth-publication`: a whole native depth publication taken as an expand - #25873 `fix/agc-htile-clear-supersedes-plane-writes`: plane writes before a whole HTILE clear - #25874 `fix/agc-read-unwritten-htile-stencil-from-memory`: stencil plane read from memory for an unwritten native target ### 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) and the licence notice of code adapted from upstream (see AGENTS.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 - [x] Fixes: none - [x] Unblocks: PPSA22327 #25152 - [x] GPUs tested: AMD Radeon RX 6800 (vendor=0x1002, device=0x73bf), AMD proprietary driver 26.10.1 (Windows driver 32.0.21045.16010, Vulkan 1.4.315), Windows 11 Pro (build 26300); Khronos validation layer 1.4.363.0 on `main` and this change, 0 VUIDs - [x] AI-assisted: yes 🤖 Generated with [Claude Code](https://claude.com/claude-code)
MarcZX10 commented 2026-11-22 20:01:45 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-22T20:01:45Z.

Review: COMMENTED


Reviewed — no blocking findings

The change at head 89f7fea6bc570179ad26a3252b5b49e1b2514b3d appears consistent with its stated goal; I did not run tests or other checks, so a formal approval is not justified.

What I ran

  • Read the prepared review bundle and changed source at the pinned head. No shell commands or tests were run.

Results

Check Result Note
Source review passed Both changed files and all added lines read
Tests and other checks not run Author-reported results were not independently run

Findings

Blocking

None.

Non-blocking

None.

Not verified

  • The author's reported tests, convention checks, and game runs were not independently verified.
  • No negative control was run. The description reports a failing test without the fix.
  • No files were excluded; both changed files were included and read. Repository behavior outside the targeted source context was not reviewed.

To get this to a good state

Nothing is required.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:6014207854 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/25869#pullrequestreview-6014207854). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-11-22T20:01:45Z. **Review:** COMMENTED --- # Reviewed — no blocking findings The change at head `89f7fea6bc570179ad26a3252b5b49e1b2514b3d` appears consistent with its stated goal; I did not run tests or other checks, so a formal approval is not justified. ## What I ran - Read the prepared review bundle and changed source at the pinned head. No shell commands or tests were run. ## Results | Check | Result | Note | |---|---|---| | Source review | passed | Both changed files and all added lines read | | Tests and other checks | not run | Author-reported results were not independently run | ## Findings ### Blocking None. ### Non-blocking None. ## Not verified - The author's reported tests, convention checks, and game runs were not independently verified. - No negative control was run. The description reports a failing test without the fix. - No files were excluded; both changed files were included and read. Repository behavior outside the targeted source context was not reviewed. ## To get this to a good state Nothing is required.
mihiii1337 commented 2026-11-22 20:42:14 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by mihiii1337 on 2026-11-22T20:42:14Z.

Review: CHANGES_REQUESTED


The end-to-end stencil case passes on the RTX, but the checked-in fixture does not independently cover the new ClaimMultisampleTargetMemory retirement hunk.

On exact head 89f7fea6bc570179ad26a3252b5b49e1b2514b3d, agc_driver_sample_multisample_target reached the full new 2x-stencil success marker in 3/3 runs. With both production hunks reverted and the head fixture retained, it failed 3/3 at the expected host-only-alias precondition. However, with only the Claim retirement hunk reverted while retaining the alias filter, the unchanged test still reached the full success marker in 3/3 runs.

The alternate path is visible in the source: after the claim, the alias-filtered depth/stencil setup reads the guest stencil memory. That guarded read can retire the memory-backed range through RequireNoMultisampleColorTarget before the fixture records kept; !hostOnly is already sufficient in that read guard. The final Require(!kept) can therefore pass even when the eager Claim retirement hunk is absent.

I confirmed this with a separate local probe, using one byte-identical augmented test executable against the frozen head and Claim-reverted PRXs. Immediately after ClaimMultisampleTargetMemory(plane.Address(), plane.bytes), before any further guest read or depth/stencil bind:

Arm Immediate overlap Result
exact head false, 3/3 pass
Claim hunk reverted true, 3/3 fails at direct claim left the memory-backed 2x copy registered

Across the original three-arm matrix and this direct probe, all 15 invocations selected the RTX 4070 Laptop (10de:2860, NVIDIA 621.01), reported pipeline libraries enabled and write watch retained, and inserted Khronos Validation 1.4.369. There were no skips, missing-layer messages, device losses, VUIDs, or synchronization diagnostics. The augmented executable and fixture were byte-identical between its two arms; only the frozen PRX differed.

If eager retirement in ClaimMultisampleTargetMemory is intentional, please add direct coverage before any guest read can retire the range, and use a fresh memory-backed copy for the existing end-to-end stencil-bind check. Otherwise, consider dropping that hunk. This keeps the current alias-filter coverage while checking the alias precondition and eager retirement separately.

AI-assisted: yes.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:6014433025 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/25869#pullrequestreview-6014433025). Originally posted by [mihiii1337](https://github.com/mihiii1337) on 2026-11-22T20:42:14Z. **Review:** CHANGES_REQUESTED --- The end-to-end stencil case passes on the RTX, but the checked-in fixture does not independently cover the new `ClaimMultisampleTargetMemory` retirement hunk. On exact head `89f7fea6bc570179ad26a3252b5b49e1b2514b3d`, `agc_driver_sample_multisample_target` reached the full new 2x-stencil success marker in 3/3 runs. With both production hunks reverted and the head fixture retained, it failed 3/3 at the expected host-only-alias precondition. However, with only the Claim retirement hunk reverted while retaining the alias filter, the unchanged test still reached the full success marker in 3/3 runs. The alternate path is visible in the source: after the claim, the alias-filtered depth/stencil setup reads the guest stencil memory. That guarded read can retire the memory-backed range through `RequireNoMultisampleColorTarget` before the fixture records `kept`; `!hostOnly` is already sufficient in that read guard. The final `Require(!kept)` can therefore pass even when the eager Claim retirement hunk is absent. I confirmed this with a separate local probe, using one byte-identical augmented test executable against the frozen head and Claim-reverted PRXs. Immediately after `ClaimMultisampleTargetMemory(plane.Address(), plane.bytes)`, before any further guest read or depth/stencil bind: | Arm | Immediate overlap | Result | |---|---:|---:| | exact head | false, 3/3 | pass | | Claim hunk reverted | true, 3/3 | fails at `direct claim left the memory-backed 2x copy registered` | Across the original three-arm matrix and this direct probe, all 15 invocations selected the RTX 4070 Laptop (`10de:2860`, NVIDIA 621.01), reported pipeline libraries enabled and write watch retained, and inserted Khronos Validation 1.4.369. There were no skips, missing-layer messages, device losses, VUIDs, or synchronization diagnostics. The augmented executable and fixture were byte-identical between its two arms; only the frozen PRX differed. If eager retirement in `ClaimMultisampleTargetMemory` is intentional, please add direct coverage before any guest read can retire the range, and use a fresh memory-backed copy for the existing end-to-end stencil-bind check. Otherwise, consider dropping that hunk. This keeps the current alias-filter coverage while checking the alias precondition and eager retirement separately. AI-assisted: yes.
mihiii1337 commented 2026-11-22 21:12:10 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by mihiii1337 on 2026-11-22T21:12:10Z.

Review: APPROVED


The requested direct coverage is resolved on exact head 4b26cc6f3e62557fa74232d73a2c0c3dd91bb4cc.

I rebuilt the checked-in fixture and ran it against three production configurations on the RTX 4070 Laptop:

  • Exact head: 3/3 pass. The new final marker confirms both the immediate direct-claim retirement and the separate fresh-copy D32S8 stencil-bind path.
  • Claim retirement reverted, alias filter retained: 0/3 with a direct claim left the memory-backed 2x copy registered.
  • Alias filter reverted, Claim retirement retained: 0/1 with a memory-backed 2x copy was reported as a colour target whose samples are only on the host; the earlier direct-claim check passed before this later assertion.

All arms used the byte-identical new test executable and fixture with distinct, hash-verified PRXs. All seven invocations selected the RTX 4070 Laptop (10de:2860, NVIDIA 621.01), reported pipeline libraries enabled and write watch retained, and inserted Khronos Validation 1.4.369. There were no skips, missing-layer messages, device losses, VUIDs, or synchronization diagnostics. Runtime hashes remained stable.

This now checks the alias precondition and eager Claim retirement independently.

AI-assisted: yes.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:6014556265 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/25869#pullrequestreview-6014556265). Originally posted by [mihiii1337](https://github.com/mihiii1337) on 2026-11-22T21:12:10Z. **Review:** APPROVED --- The requested direct coverage is resolved on exact head `4b26cc6f3e62557fa74232d73a2c0c3dd91bb4cc`. I rebuilt the checked-in fixture and ran it against three production configurations on the RTX 4070 Laptop: - Exact head: 3/3 pass. The new final marker confirms both the immediate direct-claim retirement and the separate fresh-copy D32S8 stencil-bind path. - Claim retirement reverted, alias filter retained: 0/3 with `a direct claim left the memory-backed 2x copy registered`. - Alias filter reverted, Claim retirement retained: 0/1 with `a memory-backed 2x copy was reported as a colour target whose samples are only on the host`; the earlier direct-claim check passed before this later assertion. All arms used the byte-identical new test executable and fixture with distinct, hash-verified PRXs. All seven invocations selected the RTX 4070 Laptop (`10de:2860`, NVIDIA 621.01), reported pipeline libraries enabled and write watch retained, and inserted Khronos Validation 1.4.369. There were no skips, missing-layer messages, device losses, VUIDs, or synchronization diagnostics. Runtime hashes remained stable. This now checks the alias precondition and eager Claim retirement independently. AI-assisted: yes.
MarcZX10 commented 2026-11-22 21:23:20 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-22T21:23:20Z.

Review: APPROVED


Reviewed — looks good

Nothing blocks this change; the points below are optional.

What I ran

Reviewed head 4b26cc6f3e62557fa74232d73a2c0c3dd91bb4cc using repo_read.py to inspect the prepared diff and the changed code with relevant callers. No tests were run in this review.

Results

Check Result Note
Changed code review passed Both changed files read
Tests not run Author-reported results only

Findings

Blocking

None.

Non-blocking

None.

Not verified

Tests, console behavior, other GPUs, and Linux were not verified in this review. The author reports focused test results and describes additional untested scenarios in description.md.

Files read: description.md, commits.md, manifest.json, diff.patch, and all 15 added lines in MultisampleTarget.cpp and 44 added lines in SampleMultisampleTarget.cpp; targeted surrounding code and callers in MultisampleTarget.cpp, DepthSurface.cpp, Draw.cpp, and SampleMultisampleTarget.cpp were also read. No changed files were excluded.

To get this to a good state

Nothing is required.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:6014599344 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/25869#pullrequestreview-6014599344). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-11-22T21:23:20Z. **Review:** APPROVED --- # Reviewed — looks good Nothing blocks this change; the points below are optional. ## What I ran Reviewed head `4b26cc6f3e62557fa74232d73a2c0c3dd91bb4cc` using `repo_read.py` to inspect the prepared diff and the changed code with relevant callers. No tests were run in this review. ## Results | Check | Result | Note | |---|---|---| | Changed code review | passed | Both changed files read | | Tests | not run | Author-reported results only | ## Findings ### Blocking None. ### Non-blocking None. ## Not verified Tests, console behavior, other GPUs, and Linux were not verified in this review. The author reports focused test results and describes additional untested scenarios in `description.md`. Files read: `description.md`, `commits.md`, `manifest.json`, `diff.patch`, and all 15 added lines in `MultisampleTarget.cpp` and 44 added lines in `SampleMultisampleTarget.cpp`; targeted surrounding code and callers in `MultisampleTarget.cpp`, `DepthSurface.cpp`, `Draw.cpp`, and `SampleMultisampleTarget.cpp` were also read. No changed files were excluded. ## To get this to a good state Nothing is required.
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!25869
No description provided.