Repository navigation
fix(agc): handle FMASK decompress on MSAA targets - #4767
Conversation
|
Hello maintainers, Could you please trigger the Linux/Windows CI build and run the regression tests ( Thank you! |
|
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 00d5ed1 merged into It builds. Two tests fail on both GPUs in every run (with
Separately, the change removes the Written with AI assistance. |
|
Has this been built and run? kr4y4's run of 00d5ed1 had
A run of PPSA68091 past the stop in #4685 would settle the rest. |
|
Built and ran the current head
Ubuntu 24.04, Linux 7.0, GCC 13.3, Release, Ninja, 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. |
dabcf40 to
fe14efe
Compare
|
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
AI-assisted: yes (Claude Code) |
db3737e to
02b4058
Compare
|
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 ( 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! |
|
Validation of the current head
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) |
|
@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. |
|
Checked on the PR merged onto main: the scoped build and the Added as our own commit on your branch: the Not verified: Ruffle's Flash player path from #4685; merging once the full Build is green. |
02b4058 to
3deff40
Compare
|
Rebased onto current main: the only conflict was adjacency in |
3deff40 to
a15f163
Compare
|
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.
|
|
Thanks again for rebasing the PR and adding the debt documentation commit! I checked the latest Build workflow run for head Could you please trigger the Build workflow for PR Once the full build completes, we can review the results and proceed accordingly. Thanks! |
What
Fixes #4685. Recognize AGC
CB_COLOR_CONTROLMode 5 (FMASK decompress) for multisampled color targets.Tested
git diff --check— passed.python tools/check_conventions.py --base upstream/main— passed locally.3548a7e34:conventions: passed (success).eligibility: passed (success).report: passed (success).linux,windows,write-watch,relinker,register-context) were skipped (full PR runs require manual collaborator dispatch).dabcf4056, before the rebase and DCC follow-up commit. Those prior results are not presented as tests of the current head (3548a7e34).Checklist
main; no other open PR implements the same functionsNotImplemented_nid_no_patch); silent stubs are listed under Silent stubs in their library's technical debt file.mdfiles or images added to the repository