fix(agc): handle FMASK decompress on MSAA targets #4767

Merged
Swastik-51 merged 4 commits from upstream-pr/4767 into main 2026-10-14 18:31:08 +00:00
Swastik-51 commented 2026-10-12 21:16:50 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by Swastik-51 on 2026-10-12T21:16:50Z.


What

Fixes #4685. Recognize AGC CB_COLOR_CONTROL Mode 5 (FMASK decompress) for multisampled color targets.

  • Materialize pending CMASK fast clears onto the host multisampled Vulkan image before subsequent use.
  • Keep the FMASK decompress path separate from the existing single-sample DCC decompression path.
  • Restrict support to multisampled targets with a valid CMASK address and preserve validation for unsupported configurations.
  • Add decoder validation tests and a GPU-backed regression test covering fast-clear materialization, resolve, and repeated use.

Tested

  • git diff --check — passed.
  • python tools/check_conventions.py --base upstream/main — passed locally.
  • Latest GitHub Actions CI workflows for commit 3548a7e34:
    • conventions: passed (success).
    • eligibility: passed (success).
    • report: passed (success).
    • Build jobs (linux, windows, write-watch, relinker, register-context) were skipped (full PR runs require manual collaborator dispatch).
  • Native C++ build and runtime tests have not been run locally (required build toolchain is unavailable in the local environment).
  • The earlier Linux regression-test report was for commit dabcf4056, before the rebase and DCC follow-up commit. Those prior results are not presented as tests of the current head (3548a7e34).

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
  • New third-party code is a submodule built from source (not applicable; no third-party code added)
  • Generic behaviour, not specific to one title
  • Depends on: none
  • Unblocks: PPSA68091, issue #4685
  • AI-assisted: yes
<!-- greyfinch-sync:boykopovar/AnyPS5:issue:4835082380 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/4767). Originally posted by [Swastik-51](https://github.com/Swastik-51) on 2026-10-12T21:16:50Z. --- ### What Fixes #4685. Recognize AGC `CB_COLOR_CONTROL` Mode 5 (FMASK decompress) for multisampled color targets. - Materialize pending CMASK fast clears onto the host multisampled Vulkan image before subsequent use. - Keep the FMASK decompress path separate from the existing single-sample DCC decompression path. - Restrict support to multisampled targets with a valid CMASK address and preserve validation for unsupported configurations. - Add decoder validation tests and a GPU-backed regression test covering fast-clear materialization, resolve, and repeated use. ### Tested - `git diff --check` — passed. - `python tools/check_conventions.py --base upstream/main` — passed locally. - Latest GitHub Actions CI workflows for commit `3548a7e34`: - `conventions`: passed (success). - `eligibility`: passed (success). - `report`: passed (success). - Build jobs (`linux`, `windows`, `write-watch`, `relinker`, `register-context`) were skipped (full PR runs require manual collaborator dispatch). - Native C++ build and runtime tests have not been run locally (required build toolchain is unavailable in the local environment). - The earlier Linux regression-test report was for commit `dabcf4056`, before the rebase and DCC follow-up commit. Those prior results are not presented as tests of the current head (`3548a7e34`). ### Checklist - [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 - [x] Unimplemented paths throw (`NotImplemented_nid_no_patch`); silent stubs are listed under Silent stubs in their library's technical debt file - [x] No notes, investigation `.md` files or images added to the repository - [x] New third-party code is a submodule built from source (not applicable; no third-party code added) - [x] Generic behaviour, not specific to one title - [x] Depends on: none - [x] Unblocks: PPSA68091, issue #4685 - [x] AI-assisted: yes
Swastik-51 commented 2026-10-12 21:39:40 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by Swastik-51 on 2026-10-12T21:39:40Z.


Hello maintainers,

Could you please trigger the Linux/Windows CI build and run the regression tests (fmaskDecompressMsaaTests in Recorder.cpp and multisampleTests in Graphics.cpp) for these AGC graphics changes when convenient? Local testing was limited to conventions and whitespace checks due to the absence of the required build toolchain in my local environment.

Thank you!

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6133104119 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/4767#issuecomment-6133104119). Originally posted by [Swastik-51](https://github.com/Swastik-51) on 2026-10-12T21:39:40Z. --- Hello maintainers, Could you please trigger the Linux/Windows CI build and run the regression tests (`fmaskDecompressMsaaTests` in `Recorder.cpp` and `multisampleTests` in `Graphics.cpp`) for these AGC graphics changes when convenient? Local testing was limited to conventions and whitespace checks due to the absence of the required build toolchain in my local environment. Thank you!
kr4y4 commented 2026-10-12 21:47:56 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by kr4y4 on 2026-10-12T21:47:56Z.


First build and hardware run, since the description says the change wasn't compiled or run.

Setup: Windows 11 (26200), WinLibs GCC 15.2.0 r7, Release, CI configure flags, an RTX 4070 Laptop GPU and an Intel Raptor Lake-S iGPU. The head 00d5ed1a6 merged into main 584cc4c57, which passes 1018 of 1018 on both GPUs.

It builds. Two tests fail on both GPUs in every run (with --repeat until-fail:3 and in the full suite), and the other 1016 pass:

  • agc_driver_graphics: unexpected failure: AGC graphics: missing register in context bank at DWORD 0x31f (799).
    • This is the new "without a CMASK address" case in multisampleTests. Its CB_COLOR0_INFO (0x1002e028) has the fast-clear bit (13) set, so DecodeColorBuffer reads CB_COLOR0_CMASK (0x31f), which that queue doesn't set.
    • Decoding stops there, before the new FMASK decompress of a target without a CMASK address check, and expectFailure sees a different message.
    • Reading the code, with 0x31f set to 0 the existing CMASK fast clears without a CMASK address are unsupported check would fire first, also before the new one.
  • agc_multisample_guest_access, the new case in Recorder.cpp: FMASK decompress did not materialize the seeded clear to the host multisampled image.

Separately, the change removes the DCC over a multisampled color target is unsupported check from DecodeColorBuffer. So DCC on a multisampled target is now accepted on every path, not only by the FMASK decompress pass.

Written with AI assistance.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6133219556 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/4767#issuecomment-6133219556). Originally posted by [kr4y4](https://github.com/kr4y4) on 2026-10-12T21:47:56Z. --- First build and hardware run, since the description says the change wasn't compiled or run. Setup: Windows 11 (26200), WinLibs GCC 15.2.0 r7, Release, CI configure flags, an RTX 4070 Laptop GPU and an Intel Raptor Lake-S iGPU. The head 00d5ed1a6 merged into `main` 584cc4c57, which passes 1018 of 1018 on both GPUs. It builds. Two tests fail on both GPUs in every run (with `--repeat until-fail:3` and in the full suite), and the other 1016 pass: - `agc_driver_graphics`: `unexpected failure: AGC graphics: missing register in context bank at DWORD 0x31f (799)`. - This is the new "without a CMASK address" case in `multisampleTests`. Its `CB_COLOR0_INFO` (0x1002e028) has the fast-clear bit (13) set, so `DecodeColorBuffer` reads `CB_COLOR0_CMASK` (0x31f), which that queue doesn't set. - Decoding stops there, before the new `FMASK decompress of a target without a CMASK address` check, and `expectFailure` sees a different message. - Reading the code, with 0x31f set to 0 the existing `CMASK fast clears without a CMASK address are unsupported` check would fire first, also before the new one. - `agc_multisample_guest_access`, the new case in `Recorder.cpp`: `FMASK decompress did not materialize the seeded clear to the host multisampled image`. Separately, the change removes the `DCC over a multisampled color target is unsupported` check from `DecodeColorBuffer`. So DCC on a multisampled target is now accepted on every path, not only by the FMASK decompress pass. Written with AI assistance.
oneandonlydean commented 2026-10-13 02:43:32 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by oneandonlydean on 2026-10-13T02:43:32Z.


Has this been built and run? kr4y4's run of 00d5ed1a6 had agc_driver_graphics and agc_multisample_guest_access failing on both GPUs, and dabcf4056 came after it with no result. Two things before this can go in:

  • a build and a run of both tests on the current head, with the OS and GPU (CONTRIBUTING: run the tests before opening the pull request);
  • DecodeColorBuffer in State.cpp loses the DCC over a multisampled color target is unsupported check on every path, not only for the FMASK decompress pass. Keep it for the other paths, or record in docs/dev/debt/libSceAgcDriver.md what DCC on a multisampled target does now.

A run of PPSA68091 past the stop in #4685 would settle the rest.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6137044709 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/4767#issuecomment-6137044709). Originally posted by [oneandonlydean](https://github.com/oneandonlydean) on 2026-10-13T02:43:32Z. --- Has this been built and run? kr4y4's run of 00d5ed1a6 had `agc_driver_graphics` and `agc_multisample_guest_access` failing on both GPUs, and dabcf4056 came after it with no result. Two things before this can go in: - a build and a run of both tests on the current head, with the OS and GPU (CONTRIBUTING: run the tests before opening the pull request); - `DecodeColorBuffer` in `State.cpp` loses the `DCC over a multisampled color target is unsupported` check on every path, not only for the FMASK decompress pass. Keep it for the other paths, or record in `docs/dev/debt/libSceAgcDriver.md` what DCC on a multisampled target does now. A run of PPSA68091 past the stop in #4685 would settle the rest.
simonbbby commented 2026-10-13 03:08:46 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by simonbbby on 2026-10-13T03:08:46Z.


Built and ran the current head dabcf4056e3d214cad630a5b348de769382b677f on Linux. Both requested tests pass on all three devices:

Device agc_driver_graphics agc_multisample_guest_access
RTX 3090, NVIDIA 595.99.02 pass pass
gfx1036 RDNA2 iGPU, RADV Mesa 25.2.8 pass pass
llvmpipe, Mesa 25.2.8 pass pass

agc_multisample_guest_access invokes agc_driver_recorder_tests --multisample-only; every device log includes FMASK decompress MSAA clear and resolve tests passed. The Vulkan ICD was restricted to the intended device for each run, with ANYPS5_REQUIRE_VULKAN=1 and shader cache disabled. No ctest skipped. Both tests finished below 3 seconds per device. agc_driver_graphics does report its existing guest-arena/write-watch-dependent heap-mirror subchecks as not tested.

Ubuntu 24.04, Linux 7.0, GCC 13.3, Release, Ninja, BUILD_TESTING=ON, ANYPS5_ENABLE_SPIRV_TOOLS=ON, bundled dependencies. XRandR development files were unpacked into an isolated prefix for this build; no system package was installed. Production source and tests were unchanged, and the worktree is clean. This tests the exact PR head rather than a merge onto newer main.

This resolves the missing current-head build/test evidence on these Linux devices. It does not resolve the maintainer's separate concern about accepting MSAA DCC outside the decompress path. PPSA68091 was not launched, no hardware metadata semantics were measured, and the full suite was not run.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6137323882 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/4767#issuecomment-6137323882). Originally posted by [simonbbby](https://github.com/simonbbby) on 2026-10-13T03:08:46Z. --- Built and ran the current head `dabcf4056e3d214cad630a5b348de769382b677f` on Linux. Both requested tests pass on all three devices: | Device | agc_driver_graphics | agc_multisample_guest_access | |---|---|---| | RTX 3090, NVIDIA 595.99.02 | pass | pass | | gfx1036 RDNA2 iGPU, RADV Mesa 25.2.8 | pass | pass | | llvmpipe, Mesa 25.2.8 | pass | pass | `agc_multisample_guest_access` invokes `agc_driver_recorder_tests --multisample-only`; every device log includes `FMASK decompress MSAA clear and resolve tests passed`. The Vulkan ICD was restricted to the intended device for each run, with `ANYPS5_REQUIRE_VULKAN=1` and shader cache disabled. No ctest skipped. Both tests finished below 3 seconds per device. `agc_driver_graphics` does report its existing guest-arena/write-watch-dependent heap-mirror subchecks as not tested. Ubuntu 24.04, Linux 7.0, GCC 13.3, Release, Ninja, `BUILD_TESTING=ON`, `ANYPS5_ENABLE_SPIRV_TOOLS=ON`, bundled dependencies. XRandR development files were unpacked into an isolated prefix for this build; no system package was installed. Production source and tests were unchanged, and the worktree is clean. This tests the exact PR head rather than a merge onto newer main. This resolves the missing current-head build/test evidence on these Linux devices. It does not resolve the maintainer's separate concern about accepting MSAA DCC outside the decompress path. PPSA68091 was not launched, no hardware metadata semantics were measured, and the full suite was not run.
LeandroLP23 commented 2026-10-13 08:15:22 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by LeandroLP23 on 2026-10-13T08:15:22Z.


AMD coverage, since the GPU tests in CI run only on lavapipe: Windows 11 (26300), Radeon 860M (RDNA 3.5, driver 32.0.13058.8001), WinLibs GCC 15.2.0, Release. Head 3548a7e34 merged onto main 9ba9ac1c8.

  • ctest -R '^agc_' -j 1, test shader cache emptied: 460/460, the same as main on this machine.
  • Ruffle (PPSA68091), with #4140 also merged and relinked with --windows-fixed-base 0x400000: runs the full 60 s with and without this PR, at about 43 FPS. An unattended run doesn't start the Flash player, so it never reaches the FMASK decompress from #4685. This only shows the change causes no regression on that path; it doesn't confirm the fix on hardware.

AI-assisted: yes (Claude Code)

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6141300460 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/4767#issuecomment-6141300460). Originally posted by [LeandroLP23](https://github.com/LeandroLP23) on 2026-10-13T08:15:22Z. --- AMD coverage, since the GPU tests in CI run only on lavapipe: Windows 11 (26300), Radeon 860M (RDNA 3.5, driver 32.0.13058.8001), WinLibs GCC 15.2.0, Release. Head `3548a7e34` merged onto `main` `9ba9ac1c8`. - `ctest -R '^agc_' -j 1`, test shader cache emptied: 460/460, the same as `main` on this machine. - **Ruffle (PPSA68091)**, with #4140 also merged and relinked with `--windows-fixed-base 0x400000`: runs the full 60 s with and without this PR, at about 43 FPS. An unattended run doesn't start the Flash player, so it never reaches the FMASK decompress from #4685. This only shows the change causes no regression on that path; it doesn't confirm the fix on hardware. AI-assisted: yes (Claude Code)
Swastik-51 commented 2026-10-13 19:38:06 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by Swastik-51 on 2026-10-13T19:38:06Z.


Thanks for the review feedback. I've updated the implementation to preserve the DCC-over-MSAA rejection outside the explicit FMASK-decompress path, added coverage for missing CMASK handling and clear materialization, and verified that the conventions checks pass on the current head (02b40581a00f1eb5aa63c74d738d4e8417ab77b5).

The full Linux and Windows CI jobs are currently skipped for PRs unless a collaborator dispatches the Build workflow. Could someone with the required permissions please trigger the full Build workflow for PR #4767 so the current head can be validated?

I haven't been able to run the native C++/Vulkan tests locally due to the missing build toolchain and Vulkan runtime. Thanks!

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6153652136 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/4767#issuecomment-6153652136). Originally posted by [Swastik-51](https://github.com/Swastik-51) on 2026-10-13T19:38:06Z. --- Thanks for the review feedback. I've updated the implementation to preserve the DCC-over-MSAA rejection outside the explicit FMASK-decompress path, added coverage for missing CMASK handling and clear materialization, and verified that the conventions checks pass on the current head (`02b40581a00f1eb5aa63c74d738d4e8417ab77b5`). The full Linux and Windows CI jobs are currently skipped for PRs unless a collaborator dispatches the Build workflow. Could someone with the required permissions please trigger the full Build workflow for PR #4767 so the current head can be validated? I haven't been able to run the native C++/Vulkan tests locally due to the missing build toolchain and Vulkan runtime. Thanks!
LeandroLP23 commented 2026-10-13 22:05:08 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by LeandroLP23 on 2026-10-13T22:05:08Z.


Validation of the current head 02b40581a on AMD, following up on my earlier run of 3548a7e34. Setup: Windows 11 (26300), Radeon 860M (RDNA 3.5, driver 32.0.13058.8001), WinLibs GCC 15.2.0, Release, full build. The PR is merged onto main 665ad7da7 without conflicts.

  • ctest -R '^agc_' -j 1, test shader cache emptied: 481 pass, 2 skip, 1 fails. The failure is agc_driver_layered_volume_vertex_no_gpl, which fails on main on this driver too (GPL-off pipelines, #4768). agc_driver_graphics and agc_multisample_guest_access pass.
  • The new fmaskDecompressMsaaTests run only through agc_driver_recorder_tests --multisample-only, which is what agc_multisample_guest_access executes. Run directly 5 times, it exits 0 every time and ends with FMASK decompress MSAA clear and resolve tests passed.
  • The no-argument run of agc_driver_recorder_tests stops early on this machine at a signaled batch's read still refuses. Plain main stops at the same check, so this PR does not cause it. That run is not registered in CTest; #5211 proposes registering it.

Not checked: Ruffle's Flash player path. An unattended run doesn't open it, so it never reaches the FMASK decompress from #4685.

AI-assisted: yes (Claude Code)

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6156169303 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/4767#issuecomment-6156169303). Originally posted by [LeandroLP23](https://github.com/LeandroLP23) on 2026-10-13T22:05:08Z. --- Validation of the current head `02b40581a` on AMD, following up on my earlier run of `3548a7e34`. Setup: Windows 11 (26300), Radeon 860M (RDNA 3.5, driver 32.0.13058.8001), WinLibs GCC 15.2.0, Release, full build. The PR is merged onto `main` `665ad7da7` without conflicts. - `ctest -R '^agc_' -j 1`, test shader cache emptied: 481 pass, 2 skip, 1 fails. The failure is `agc_driver_layered_volume_vertex_no_gpl`, which fails on `main` on this driver too (GPL-off pipelines, #4768). `agc_driver_graphics` and `agc_multisample_guest_access` pass. - The new `fmaskDecompressMsaaTests` run only through `agc_driver_recorder_tests --multisample-only`, which is what `agc_multisample_guest_access` executes. Run directly 5 times, it exits 0 every time and ends with `FMASK decompress MSAA clear and resolve tests passed`. - The no-argument run of `agc_driver_recorder_tests` stops early on this machine at `a signaled batch's read still refuses`. Plain `main` stops at the same check, so this PR does not cause it. That run is not registered in CTest; #5211 proposes registering it. Not checked: Ruffle's Flash player path. An unattended run doesn't open it, so it never reaches the FMASK decompress from #4685. AI-assisted: yes (Claude Code)
Amoenus commented 2026-10-14 16:32:13 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by Amoenus on 2026-10-14T16:32:13Z.


@Swastik-51 Update after #4767 merged first: #5939 head347d11b93 is rebased onto main8f51 and tested with merged #4767/#4820. The earlier merge-order suggestion below is superseded.

Full Windows app/libs/checkers pass. Sixteen groups pass once+5 under NVIDIA/AMD selectors; eight runtime groups, including DCC2/4/8 and native MSAA sampling, verify both actual devices. The two legacy recorder groups select NVIDIA in both Windows runs, so those results are NVIDIA-only. Linux lavapipe builds four executables and five supported groups pass once+5; unsupported2/8 explicitly skip. Main's FMASK clear/reuse fixture executes and passes.

The DCC fixture now materializes supported CMASK cases through Mode5 before drawing and checks that a later Mode5 pass preserves drawn samples despite changed clear registers. FMASK decode retains DCC control so unsupported flags are refused by the importer. #5336 holds unchanged-main state/pixel failure controls, geometry225×5 and original-title evidence with its older pins. This is synthetic merged-path validation, not a fresh title replay.

Earlier coordination request, superseded

@Swastik-51 I opened #5939 for uniform initial DCC fast clears in normal rendering. It builds independently on main e34, with NVIDIA/AMD and lavapipe supported-case regressions; #5336 has the title stop and scoped replay. The shared overlap is DecodeColorBuffer's multisample-DCC validation, while Mode5 FMASK decompression remains your topic. I suggest merging the normal-render support first, then rebasing #4767 onto it. Please let me know if you prefer the other order; I can retest the resulting composition. No claim that the two current heads have been composed/tested together.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6173210705 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/4767#issuecomment-6173210705). Originally posted by [Amoenus](https://github.com/Amoenus) on 2026-10-14T16:32:13Z. --- @Swastik-51 Update after #4767 merged first: [#5939 head347d11b93](https://github.com/Amoenus/AnyPS5/commit/347d11b93e7c897fc2d88046bb060fa3b1d86fd8) is rebased onto main8f51 and tested with merged #4767/#4820. The earlier merge-order suggestion below is superseded. Full Windows app/libs/checkers pass. Sixteen groups pass once+5 under NVIDIA/AMD selectors; eight runtime groups, including DCC2/4/8 and native MSAA sampling, verify both actual devices. The two legacy recorder groups select NVIDIA in both Windows runs, so those results are NVIDIA-only. Linux lavapipe builds four executables and five supported groups pass once+5; unsupported2/8 explicitly skip. Main's FMASK clear/reuse fixture executes and passes. The DCC fixture now materializes supported CMASK cases through Mode5 before drawing and checks that a later Mode5 pass preserves drawn samples despite changed clear registers. FMASK decode retains DCC control so unsupported flags are refused by the importer. [#5336](https://github.com/boykopovar/AnyPS5/issues/5336) holds unchanged-main state/pixel failure controls, geometry225×5 and original-title evidence with its older pins. This is synthetic merged-path validation, not a fresh title replay. <details><summary>Earlier coordination request, superseded</summary> @Swastik-51 I opened #5939 for uniform initial DCC fast clears in normal rendering. It builds independently on main e34, with NVIDIA/AMD and lavapipe supported-case regressions; #5336 has the title stop and scoped replay. The shared overlap is DecodeColorBuffer's multisample-DCC validation, while Mode5 FMASK decompression remains your topic. I suggest merging the normal-render support first, then rebasing #4767 onto it. Please let me know if you prefer the other order; I can retest the resulting composition. No claim that the two current heads have been composed/tested together. </details>
adriadam10 commented 2026-10-14 17:11:25 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by adriadam10 on 2026-10-14T17:11:25Z.


Checked on the PR merged onto main: the scoped build and the libSceAgcDriver ctest (550/551; the one failure is agc_driver_tessellation, a RADV segfault that also shows on unrelated PRs), including agc_driver_graphics and agc_multisample_guest_access. The new tests don't compile without the change, and the Recorder case tells a materialized clear from a re-clear. The DCC-over-MSAA rejection is back on every path except the FMASK decompress pass, as @oneandonlydean asked, and kr4y4's two failures are gone (also covered by simonbbby on NVIDIA/RADV/llvmpipe and LeandroLP23 on AMD).

Added as our own commit on your branch: the Multisampled targets in CB passes line in docs/dev/debt/libSceAgcDriver.md said a DCC pass over a multisampled target throws and only a resolve is modeled; it now describes the FMASK decompress (CMASK fast clear materialized only, DCC/FMASK contents not interpreted).

Not verified: Ruffle's Flash player path from #4685; merging once the full Build is green.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6173969836 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/4767#issuecomment-6173969836). Originally posted by [adriadam10](https://github.com/adriadam10) on 2026-10-14T17:11:25Z. --- Checked on the PR merged onto main: the scoped build and the `libSceAgcDriver` ctest (550/551; the one failure is `agc_driver_tessellation`, a RADV segfault that also shows on unrelated PRs), including `agc_driver_graphics` and `agc_multisample_guest_access`. The new tests don't compile without the change, and the Recorder case tells a materialized clear from a re-clear. The DCC-over-MSAA rejection is back on every path except the FMASK decompress pass, as @oneandonlydean asked, and kr4y4's two failures are gone (also covered by simonbbby on NVIDIA/RADV/llvmpipe and LeandroLP23 on AMD). Added as our own commit on your branch: the `Multisampled targets in CB passes` line in `docs/dev/debt/libSceAgcDriver.md` said a DCC pass over a multisampled target throws and only a resolve is modeled; it now describes the FMASK decompress (CMASK fast clear materialized only, DCC/FMASK contents not interpreted). Not verified: Ruffle's Flash player path from #4685; merging once the full Build is green.
adriadam10 commented 2026-10-14 17:58:37 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by adriadam10 on 2026-10-14T17:58:37Z.


Rebased onto current main: the only conflict was adjacency in MultisampleTarget.hpp/.cpp (MultisampleTargetTexture landed next to MaterializeMultisampleTargetClear); both kept, no logic change. Scoped build and libSceAgcDriver ctest on the rebased tree: everything passes except agc_driver_tessellation, a RADV segfault that also fails on main. Merging once the full Build is green.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6174864554 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/4767#issuecomment-6174864554). Originally posted by [adriadam10](https://github.com/adriadam10) on 2026-10-14T17:58:37Z. --- Rebased onto current main: the only conflict was adjacency in `MultisampleTarget.hpp/.cpp` (`MultisampleTargetTexture` landed next to `MaterializeMultisampleTargetClear`); both kept, no logic change. Scoped build and `libSceAgcDriver` ctest on the rebased tree: everything passes except `agc_driver_tessellation`, a RADV segfault that also fails on main. Merging once the full Build is green.
github-actions[bot] commented 2026-10-14 18:02:19 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-14T18:02:19Z.


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.

Pull request Conflicting files (lines on main) Same exports Same new files
#5200 core/libs/prx/libSceAgcDriver/Graphics/include/State.hpp L144
<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6174933933 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/4767#issuecomment-6174933933). Originally posted by [github-actions[bot]](https://github.com/apps/github-actions) on 2026-10-14T18:02:19Z. --- <!-- pr-overlap --> 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**. | Pull request | Conflicting files (lines on `main`) | Same exports | Same new files | |---|---|---|---| | #5200 | `core/libs/prx/libSceAgcDriver/Graphics/include/State.hpp` [L144](https://github.com/boykopovar/AnyPS5/blob/ea30c9274a73bd439ffdab2293a06ccc9638f3cd/core/libs/prx/libSceAgcDriver/Graphics/include/State.hpp#L144) | | |
Swastik-51 commented 2026-10-14 18:12:35 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by Swastik-51 on 2026-10-14T18:12:35Z.


Thanks again for rebasing the PR and adding the debt documentation commit!

I checked the latest Build workflow run for head a15f16324. The conventions check passed, but the Linux and Windows jobs were skipped because the workflow requires a collaborator-triggered workflow_dispatch for full builds.

Could you please trigger the Build workflow for PR 4767 from main, with the input pr=4767?

Once the full build completes, we can review the results and proceed accordingly. Thanks!

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6175126812 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/4767#issuecomment-6175126812). Originally posted by [Swastik-51](https://github.com/Swastik-51) on 2026-10-14T18:12:35Z. --- Thanks again for rebasing the PR and adding the debt documentation commit! I checked the latest Build workflow run for head `a15f16324`. The conventions check passed, but the Linux and Windows jobs were skipped because the workflow requires a collaborator-triggered `workflow_dispatch` for full builds. Could you please trigger the **Build** workflow for PR `4767` from `main`, with the input `pr=4767`? Once the full build completes, we can review the results and proceed accordingly. Thanks!
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!4767
No description provided.