fix(agc): emulate two-sample DB_ALPHA_TO_MASK 0xe701 dithered alpha-to-coverage #10515

Merged
JJenkx merged 1 commit from upstream-pr/10515 into main 2026-10-27 03:52:03 +00:00
JJenkx commented 2026-10-24 07:10:47 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by JJenkx on 2026-10-24T07:10:47Z.


What

Bugsnax (PPSA01503) stops 14 s in, before its first frame:

terminate called after throwing an instance of 'std::runtime_error'
  what():  dithered or rounded alpha-to-coverage is unsupported (register 0x2dc = 0x0000e701)

The rejected draw has dithered alpha-to-coverage on a two-sample target (state in #9900):

  • DB_ALPHA_TO_MASK 0xe701: quad offsets 3, 1, 2, 3, no OFFSET_ROUND.
  • DB_SHADER_CONTROL 0x50: ALPHA_TO_MASK_DISABLE is clear, so alpha-to-coverage is in effect.
  • PA_SC_AA_CONFIG 0x108001 and DB_EQAA 0x101001: two samples.
  • PA_SC_AA_SAMPLE_LOCS_PIXEL_*_0 0xc44c: the locations (-4, 4), (4, -4).
  • MRT0 export: FP16_ABGR.

#4451 added the eight-sample default dither (0x18701) from a table measured on gfx1036. This value is a different offset set at a different sample count, so it cannot share that table.

This PR adds a two-sample table for 0xe701:

  • ditheredAlphaSamples (8 or 2) goes from the decoded state through the pixel context to StoreDitheredAlphaCoverage.
  • StoreDitheredAlphaCoverage picks the eight-level table at two samples. It indexes the table with floor(clamp(alpha, 0, 7/8) * 8) and the pixel's position in the 2x2 quad, as the 64-level table does.
  • The request keeps its byte layout. The existing dither byte now holds 0 (none), 1 (0x18701) or 2 (0xe701), and the serialization version goes from 45 to 46. A version 45 request with 2, or any request with a value above the version's maximum, is rejected.

0xe701 is accepted only in the measured state:

  • two matched raster and DB_EQAA samples with one pixel iteration;
  • the location pair (4, 4), (-4, -4) or (-4, 4), (4, -4) in every pixel;
  • an FP16_ABGR or 32_ABGR export.

Anything else throws with its own message. ALPHA_TO_MASK_DISABLE turns it off, as it does 0x18701.

Measurement

The table was measured natively on a Radeon RX 6650 XT (gfx1032), with RADV 26.2.4 built from source with a local patch. The patch lets an environment variable replace the offsets and OFFSET_ROUND that RADV programs into DB_ALPHA_TO_MASK; it is not part of this PR. A standalone Vulkan probe draws one 4x4 tile per alpha with alphaToCoverageEnable and RADV_DEBUG=novrsflatshading, then reads every sample back with texelFetch from a compute shader.

The sweep has 1163 alphas:

  • k/1024 for k = 0..1024;
  • the floats on each side of every k/64;
  • ±0, ±min denormal, ±inf, ±NaN, 2.0, -1 and the max finite value.

Each is drawn into RGBA16F and RGBA32F targets.

run result
control: RADV's own 0x18701, eight samples matches this repository's 64-level table, 1163/1163, FP32 and FP16
0xe701, two samples, RADV's locations (4, 4), (-4, -4) eight levels at exactly k/8; the model below matches 1163/1163, FP32 and FP16; a repeat is byte-identical
0xe701, two samples, the title's locations (-4, 4), (4, -4) through VK_EXT_sample_locations byte-identical to the previous row, two repeats each for FP32 and FP16

Masks per level, in pixel order X0Y0, X1Y0, X0Y1, X1Y1:

level 0 1 2 3 4 5 6 7
masks 0 0 0 0 2 0 0 2 1 0 2 1 1 2 2 1 1 2 1 1 3 2 1 3 3 1 3 3 3 3 3 3

NaN, negative values and -0 give level 0; values at or above 7/8, including +inf, give level 7.

The probe, the RADV patch, the raw outputs and the register capture are in 20261023-a2c-e701-two-sample.tar.gz.

Tested

Current Linux refresh: 2ff14f34e36610e8a02585b247c7c9240a5f1e5a is one linear commit on main c8d34aa8f4d8058d57169cc1e423ba6db00faaf0. Only the additive debt context conflicted; all 16 production/test added-and-removed-line sequences match original head bb2e64983cf97fd13cb19bc44d32aba44eb60a56 exactly. Main's adjacent single-sample/depth debt update is retained. Fresh full libs/relinker and focused-fixture builds pass on both arms.

The same focused set is 10 tests on plain main and 11 on the change (the extra two-sample case): all pass three repeats, no skips, zero VUIDs, with ANYPS5_REQUIRE_VULKAN=1, ANYPS5_NO_SHADER_CACHE=1, VK_INSTANCE_LAYERS=VK_LAYER_KHRONOS_validation, MESA_SHADER_CACHE_DISABLE=true and ctest -V. The actual Khronos layer loads on every repeat of five physical tests on main and six on the change; mock state, shader-IR and serializer checks are CPU-only. A fresh private negative control forcing the eight-sample table fails the two-sample pixel comparison three times without a validation error. Restoring the exact clean source and rebuilding makes both dither modes pass three repeats each, again with zero VUIDs.

Fresh native PPSA01503 checks reuse the four existing bundled modules, including root FMOD modules through --module-dir ., with independent writable seeds/caches and the same scheduled input route (main aborts before its first pulse). Plain main aborts with exit 134 at about 13s on unsupported 0xe701, before a frame was verified. The change renders the title/foliage, reaches New Game/save-slot selection, and is in the rainy first-person opening at 305s; ordinary window close at 310.6s gives exit 0. Both runs actually load the validation layer and have zero VUIDs. Configuration/saves and three copied seed files are restored, the five shared raw ELF inputs hash unchanged, and no game PID remains. No kernel GPU-fault/reset entries appear in the bounded test window. The run does not establish later tutorial/bridge completion, audio, movement verification, an FPS comparison or a new furthest point beyond earlier reports. #10581 and other local fixes are not included.

Conventions against current main have zero errors and one warning for the touched long alpha debt entry; origin/main comparison has zero errors and seven debt-length warnings. Whitespace and current-main merge checks pass. Per-arm builds, complete focused logs/JUnit, negative control, native reports/reviews, selected screenshots and patch (SHA-256 34fe21fd4ab1ddc6066d92f50120490c4ff341c1bac49875334726adaa85a4d3). No title executable, module, assets, saves, raw SDK bytes or binary CPU profile is included.

The measurement and validation below are historical on their stated earlier heads. The hardware table's measurement was not repeated, and neither the full 2,014-test run nor Windows was rerun for this refresh.

Linux 7.2.9, Ryzen 9 7950X, Radeon RX 6650 XT, RADV Mesa 26.2.4, Release.

New tests:

  • TwoSampleDitheredAlphaToCoverageTests, in agc_driver_alpha_to_coverage_state. It covers acceptance for both location pairs and for MASK_EXPORT_NUM_SAMPLES 0 and 1. It also covers refusal of:
    • unmatched DB_EQAA fields, including ALPHA_TO_MASK_EQAA_DISABLE;
    • other locations, and locations that vary by pixel;
    • FP32_AR, UNORM16 and SNORM16 exports;
    • eight samples.
  • agc_driver_two_sample_dithered_alpha_to_coverage, a GPU test. It draws 56 measured cases (FP32 and FP16 exports at each k/8 and its neighbours, plus the special values) into a real two-sample target and checks every resolved pixel. The eight-sample test now uses the same code.
  • Request serializer cases: values 1 and 2 round-trip, and 2 under version 45 or 3 under version 46 is rejected.

The focused set (alpha_to_coverage, agc_shader_memory, request_serializer, agc_driver_msaa_dcc; 11 tests) was run with ctest -V --repeat until-fail:3, VK_INSTANCE_LAYERS=VK_LAYER_KHRONOS_validation, ANYPS5_REQUIRE_VULKAN=1 and ANYPS5_NO_SHADER_CACHE=1. All 11 pass 3/3, with no VUID- lines and no missing-layer line.

Negative control. With StoreDitheredAlphaCoverage forced to the eight-sample table, agc_driver_two_sample_dithered_alpha_to_coverage fails 3/3:

dithered coverage export 9 alpha 0x3dffffff pixel (0,0): resolved 0.25, expected 0.75 for mask0x00

With the change restored, it passes.

Full ctest -j8. Run on main 924b18f59c and on this change (f179568345, on the same base), in the same environment. Results:

  • 2013 tests on main and 2014 with the change.
  • The same single failure, agc_driver_tessellation (segfault, the Mesa 26.2 issue in #5444).
  • The same 30 skips.
  • Identical VUID- sets and counts:
VUID Count
VkWriteDescriptorSet-descriptorType-00337 32
VkPipelineColorBlendStateCreateInfo-pAttachments-00605 26

The focused set also passes 3/3 on f179568345. An earlier comparison on main c4d105021e with 6c18620c3c matched in the same way: 1992 and 1993 tests, the same four failures, 27 skips and the same VUID- counts.

PPSA01503, natively, content version 02.000.000. Run with APS5_PLAYGO_UNLISTED_CHUNKS=installed, because the dump has no PlayGo files.

Build Result
main ea695358ee with a local register print stops at about 10 s with the error above, in 2 of 2 runs
this change (6c18620c3c, on c4d105021e) reaches the title screen ("Press ✕ to Start") with its foliage and runs until the scheduled close at 293 s, exit 0, 20-33 FPS; no GPU fault in the kernel log

Scripted Cross presses did not leave the title screen. That is not investigated here.

Overlap

Current-main overlap scan: #6973/#6987/#6989/#6995/#7002 share the DCC recreation test dispatch/registration; #9020/#9193/#9748 change request-format fields/versions and fixtures. These are independent features, not prerequisites; whichever lands second must preserve both test paths and use the next canonical serialization version. Of 116 shared/conflict-incomplete patch captures, the two-sample symbols/word occur in this PR and its dependent #10581; this PR is not dependent on that follow-up. Combined application with those other open branches was not tested.

#8424 rewrites the opening of the same debt entry. The two changes touch different sentences, but whichever lands second has to rebase that line. No open PR implements 0xe701 or a two-sample dither. Open PRs that change the request serialization version conflict on the version number; whichever lands second takes the next one.

Not verified

  • the console's behaviour; the measurement is on gfx1032, not gfx1013;
  • other sample counts or offsets with 0xe701;
  • MASK_EXPORT_NUM_SAMPLES 0, which the title programs; the measurement used 1, and no sample mask is exported.

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
  • Fixes: none
  • Unblocks: PPSA01503 (#9900)
  • GPUs tested: AMD Radeon RX 6650 XT, RADV Mesa 26.2.4, Linux 7.2.9-arch1-1
  • AI-assisted: yes

Contributor-reported Windows follow-up: @ycbuzi tested head 2ff14f34e3 merged onto main 7903201bb4, Windows 11 Home 10.0.26200, WinLibs GCC 15.2.0 r7, Release. The 65 selected groups ran twice on each of RTX 4070 SUPER and GTX 1650 SUPER (NVIDIA 616.92) and AMD RDNA2 iGPU 1002:164e (32.0.21030.2001): 62 passed and three compared-import groups skipped per device/run. No negative control or validation-layer proof is supplied; the reported request-serializer warning also occurs in their main-only compile. These are contributor results, preserving the known skips and warning rather than a full Windows/validation qualification. Original report.

<!-- greyfinch-sync:boykopovar/AnyPS5:issue:4993389244 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/10515). Originally posted by [JJenkx](https://github.com/JJenkx) on 2026-10-24T07:10:47Z. --- ### What Bugsnax (PPSA01503) stops 14 s in, before its first frame: ``` terminate called after throwing an instance of 'std::runtime_error' what(): dithered or rounded alpha-to-coverage is unsupported (register 0x2dc = 0x0000e701) ``` The rejected draw has dithered alpha-to-coverage on a two-sample target ([state in #9900](https://github.com/boykopovar/AnyPS5/discussions/9900#discussioncomment-19153986)): - **`DB_ALPHA_TO_MASK` `0xe701`:** quad offsets 3, 1, 2, 3, no `OFFSET_ROUND`. - **`DB_SHADER_CONTROL` `0x50`:** `ALPHA_TO_MASK_DISABLE` is clear, so alpha-to-coverage is in effect. - **`PA_SC_AA_CONFIG` `0x108001` and `DB_EQAA` `0x101001`:** two samples. - **`PA_SC_AA_SAMPLE_LOCS_PIXEL_*_0` `0xc44c`:** the locations (-4, 4), (4, -4). - **MRT0 export:** FP16_ABGR. #4451 added the eight-sample default dither (`0x18701`) from a table measured on gfx1036. This value is a different offset set at a different sample count, so it cannot share that table. This PR adds a two-sample table for `0xe701`: - `ditheredAlphaSamples` (8 or 2) goes from the decoded state through the pixel context to `StoreDitheredAlphaCoverage`. - `StoreDitheredAlphaCoverage` picks the eight-level table at two samples. It indexes the table with `floor(clamp(alpha, 0, 7/8) * 8)` and the pixel's position in the 2x2 quad, as the 64-level table does. - The request keeps its byte layout. The existing dither byte now holds 0 (none), 1 (`0x18701`) or 2 (`0xe701`), and the serialization version goes from 45 to 46. A version 45 request with 2, or any request with a value above the version's maximum, is rejected. `0xe701` is accepted only in the measured state: - two matched raster and DB_EQAA samples with one pixel iteration; - the location pair (4, 4), (-4, -4) or (-4, 4), (4, -4) in every pixel; - an FP16_ABGR or 32_ABGR export. Anything else throws with its own message. `ALPHA_TO_MASK_DISABLE` turns it off, as it does `0x18701`. ### Measurement The table was measured natively on a Radeon RX 6650 XT (gfx1032), with RADV 26.2.4 built from source with a local patch. The patch lets an environment variable replace the offsets and `OFFSET_ROUND` that RADV programs into `DB_ALPHA_TO_MASK`; it is not part of this PR. A standalone Vulkan probe draws one 4x4 tile per alpha with `alphaToCoverageEnable` and `RADV_DEBUG=novrsflatshading`, then reads every sample back with `texelFetch` from a compute shader. The sweep has 1163 alphas: - k/1024 for k = 0..1024; - the floats on each side of every k/64; - ±0, ±min denormal, ±inf, ±NaN, 2.0, -1 and the max finite value. Each is drawn into RGBA16F and RGBA32F targets. | run | result | |---|---| | control: RADV's own `0x18701`, eight samples | matches this repository's 64-level table, 1163/1163, FP32 and FP16 | | `0xe701`, two samples, RADV's locations (4, 4), (-4, -4) | eight levels at exactly k/8; the model below matches 1163/1163, FP32 and FP16; a repeat is byte-identical | | `0xe701`, two samples, the title's locations (-4, 4), (4, -4) through `VK_EXT_sample_locations` | byte-identical to the previous row, two repeats each for FP32 and FP16 | Masks per level, in pixel order X0Y0, X1Y0, X0Y1, X1Y1: | level | 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | |---|---|---|---|---|---|---|---|---| | masks | 0 0 0 0 | 2 0 0 2 | 1 0 2 1 | 1 2 2 1 | 1 2 1 1 | 3 2 1 3 | 3 1 3 3 | 3 3 3 3 | NaN, negative values and -0 give level 0; values at or above 7/8, including +inf, give level 7. The probe, the RADV patch, the raw outputs and the register capture are in [20261023-a2c-e701-two-sample.tar.gz](https://github.com/JJenkx/AnyPS5/releases/download/game-library-checks-20261016/20261023-a2c-e701-two-sample.tar.gz). ### Tested Current Linux refresh: `2ff14f34e36610e8a02585b247c7c9240a5f1e5a` is one linear commit on main `c8d34aa8f4d8058d57169cc1e423ba6db00faaf0`. Only the additive debt context conflicted; all 16 production/test added-and-removed-line sequences match original head `bb2e64983cf97fd13cb19bc44d32aba44eb60a56` exactly. Main's adjacent single-sample/depth debt update is retained. Fresh full `libs`/relinker and focused-fixture builds pass on both arms. The same focused set is 10 tests on plain main and 11 on the change (the extra two-sample case): **all pass three repeats**, no skips, zero VUIDs, with `ANYPS5_REQUIRE_VULKAN=1`, `ANYPS5_NO_SHADER_CACHE=1`, `VK_INSTANCE_LAYERS=VK_LAYER_KHRONOS_validation`, `MESA_SHADER_CACHE_DISABLE=true` and `ctest -V`. The actual Khronos layer loads on every repeat of five physical tests on main and six on the change; mock state, shader-IR and serializer checks are CPU-only. A fresh private negative control forcing the eight-sample table fails the two-sample pixel comparison three times without a validation error. Restoring the exact clean source and rebuilding makes both dither modes pass three repeats each, again with zero VUIDs. Fresh native PPSA01503 checks reuse the four existing bundled modules, including root FMOD modules through `--module-dir .`, with independent writable seeds/caches and the same scheduled input route (main aborts before its first pulse). Plain main aborts with exit 134 at about 13s on unsupported `0xe701`, before a frame was verified. The change renders the title/foliage, reaches New Game/save-slot selection, and is in the rainy first-person opening at 305s; ordinary window close at 310.6s gives exit 0. Both runs actually load the validation layer and have zero VUIDs. Configuration/saves and three copied seed files are restored, the five shared raw ELF inputs hash unchanged, and no game PID remains. No kernel GPU-fault/reset entries appear in the bounded test window. The run does **not** establish later tutorial/bridge completion, audio, movement verification, an FPS comparison or a new furthest point beyond earlier reports. #10581 and other local fixes are not included. Conventions against current main have zero errors and one warning for the touched long alpha debt entry; origin/main comparison has zero errors and seven debt-length warnings. Whitespace and current-main merge checks pass. [Per-arm builds, complete focused logs/JUnit, negative control, native reports/reviews, selected screenshots and patch](https://github.com/JJenkx/AnyPS5/releases/download/linux-validation-20261023/pr10515-head2ff14f34-mainc8d34aa8-linux-validation-20261024.tar.gz) (SHA-256 `34fe21fd4ab1ddc6066d92f50120490c4ff341c1bac49875334726adaa85a4d3`). No title executable, module, assets, saves, raw SDK bytes or binary CPU profile is included. The measurement and validation below are **historical** on their stated earlier heads. The hardware table's measurement was not repeated, and neither the full 2,014-test run nor Windows was rerun for this refresh. Linux 7.2.9, Ryzen 9 7950X, Radeon RX 6650 XT, RADV Mesa 26.2.4, Release. **New tests:** - `TwoSampleDitheredAlphaToCoverageTests`, in `agc_driver_alpha_to_coverage_state`. It covers acceptance for both location pairs and for `MASK_EXPORT_NUM_SAMPLES` 0 and 1. It also covers refusal of: - unmatched DB_EQAA fields, including `ALPHA_TO_MASK_EQAA_DISABLE`; - other locations, and locations that vary by pixel; - FP32_AR, UNORM16 and SNORM16 exports; - eight samples. - `agc_driver_two_sample_dithered_alpha_to_coverage`, a GPU test. It draws 56 measured cases (FP32 and FP16 exports at each k/8 and its neighbours, plus the special values) into a real two-sample target and checks every resolved pixel. The eight-sample test now uses the same code. - Request serializer cases: values 1 and 2 round-trip, and 2 under version 45 or 3 under version 46 is rejected. The focused set (`alpha_to_coverage`, `agc_shader_memory`, `request_serializer`, `agc_driver_msaa_dcc`; 11 tests) was run with `ctest -V --repeat until-fail:3`, `VK_INSTANCE_LAYERS=VK_LAYER_KHRONOS_validation`, `ANYPS5_REQUIRE_VULKAN=1` and `ANYPS5_NO_SHADER_CACHE=1`. All 11 pass 3/3, with no `VUID-` lines and no missing-layer line. **Negative control.** With `StoreDitheredAlphaCoverage` forced to the eight-sample table, `agc_driver_two_sample_dithered_alpha_to_coverage` fails 3/3: ``` dithered coverage export 9 alpha 0x3dffffff pixel (0,0): resolved 0.25, expected 0.75 for mask0x00 ``` With the change restored, it passes. **Full `ctest -j8`.** Run on `main` `924b18f59c` and on this change (`f179568345`, on the same base), in the same environment. Results: - 2013 tests on main and 2014 with the change. - The same single failure, `agc_driver_tessellation` (segfault, the Mesa 26.2 issue in #5444). - The same 30 skips. - Identical `VUID-` sets and counts: | VUID | Count | |---|---| | `VkWriteDescriptorSet-descriptorType-00337` | 32 | | `VkPipelineColorBlendStateCreateInfo-pAttachments-00605` | 26 | The focused set also passes 3/3 on `f179568345`. An earlier comparison on main `c4d105021e` with `6c18620c3c` matched in the same way: 1992 and 1993 tests, the same four failures, 27 skips and the same `VUID-` counts. **PPSA01503, natively**, content version 02.000.000. Run with `APS5_PLAYGO_UNLISTED_CHUNKS=installed`, because the dump has no PlayGo files. | Build | Result | |---|---| | `main` `ea695358ee` with a local register print | stops at about 10 s with the error above, in 2 of 2 runs | | this change (`6c18620c3c`, on `c4d105021e`) | reaches the title screen ("Press ✕ to Start") with its foliage and runs until the scheduled close at 293 s, exit 0, 20-33 FPS; no GPU fault in the kernel log | Scripted Cross presses did not leave the title screen. That is not investigated here. ### Overlap Current-main overlap scan: #6973/#6987/#6989/#6995/#7002 share the DCC recreation test dispatch/registration; #9020/#9193/#9748 change request-format fields/versions and fixtures. These are independent features, not prerequisites; whichever lands second must preserve both test paths and use the next canonical serialization version. Of 116 shared/conflict-incomplete patch captures, the two-sample symbols/word occur in this PR and its dependent #10581; this PR is not dependent on that follow-up. Combined application with those other open branches was not tested. #8424 rewrites the opening of the same debt entry. The two changes touch different sentences, but whichever lands second has to rebase that line. No open PR implements `0xe701` or a two-sample dither. Open PRs that change the request serialization version conflict on the version number; whichever lands second takes the next one. ### Not verified - the console's behaviour; the measurement is on gfx1032, not gfx1013; - other sample counts or offsets with `0xe701`; - `MASK_EXPORT_NUM_SAMPLES` 0, which the title programs; the measurement used 1, and no sample mask is exported. ### 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 - [x] Fixes: none - [x] Unblocks: PPSA01503 (#9900) - [x] GPUs tested: AMD Radeon RX 6650 XT, RADV Mesa 26.2.4, Linux 7.2.9-arch1-1 - [x] AI-assisted: yes <!-- codex-contributor-note-20261027-pr10515 --> Contributor-reported Windows follow-up: @ycbuzi tested head `2ff14f34e3` merged onto main `7903201bb4`, Windows 11 Home 10.0.26200, WinLibs GCC 15.2.0 r7, Release. The 65 selected groups ran twice on each of RTX 4070 SUPER and GTX 1650 SUPER (NVIDIA 616.92) and AMD RDNA2 iGPU `1002:164e` (32.0.21030.2001): 62 passed and three compared-import groups skipped per device/run. No negative control or validation-layer proof is supplied; the reported request-serializer warning also occurs in their main-only compile. These are contributor results, preserving the known skips and warning rather than a full Windows/validation qualification. [Original report](https://github.com/boykopovar/AnyPS5/pull/10515#issuecomment-6419379863).
MarcZX10 commented 2026-10-24 11:13:47 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-24T11:13:47Z.

Review: APPROVED


Reviewed the state decode, shader request propagation/cache key, serializer version bump, and the two/eight-sample coverage tables and regression cases. The new path is constrained to the measured 0xe701 register word, matched two-sample state, supported sample locations and floating export formats; the existing eight-sample path remains separately selected. The reported test matrix includes state rejection tests, request serialization, focused GPU validation with repeats, a negative control, and a title boot. I cannot run the Vulkan tests locally (no Vulkan/GPU test setup here), and the hosted jobs for this PR are non-product checks only; the hardware results remain the author-reported measurements on gfx1032, not PS5 confirmation.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5638043549 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/10515#pullrequestreview-5638043549). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-10-24T11:13:47Z. **Review:** APPROVED --- Reviewed the state decode, shader request propagation/cache key, serializer version bump, and the two/eight-sample coverage tables and regression cases. The new path is constrained to the measured 0xe701 register word, matched two-sample state, supported sample locations and floating export formats; the existing eight-sample path remains separately selected. The reported test matrix includes state rejection tests, request serialization, focused GPU validation with repeats, a negative control, and a title boot. I cannot run the Vulkan tests locally (no Vulkan/GPU test setup here), and the hosted jobs for this PR are non-product checks only; the hardware results remain the author-reported measurements on gfx1032, not PS5 confirmation.
MarcZX10 commented 2026-10-24 12:27:15 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-24T12:27:15Z.

Review: APPROVED


Reviewed current head bb2e64983cf97fd13cb19bc44d32aba44eb60a56. The two-sample mode remains separately gated by the 0xe701 word, matched two-sample raster/DB_EQAA state, one pixel iteration, measured locations, and supported float exports; its sample-count tag is propagated through the draw key and request serializer. The existing eight-sample path remains distinct. The author-reported focused GPU/serializer matrix is pinned to earlier head f179568345cd, so I did not treat it as a rerun of bb2e. The dependent #10581 report provides additional author-reported Windows/Vulkan validation of the stacked behavior on base fa515def85. Hosted eligibility, conventions, labels, and report pass; all product test jobs are skipped, and I could not run the GPU tests locally.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5638233254 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/10515#pullrequestreview-5638233254). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-10-24T12:27:15Z. **Review:** APPROVED --- Reviewed current head bb2e64983cf97fd13cb19bc44d32aba44eb60a56. The two-sample mode remains separately gated by the 0xe701 word, matched two-sample raster/DB_EQAA state, one pixel iteration, measured locations, and supported float exports; its sample-count tag is propagated through the draw key and request serializer. The existing eight-sample path remains distinct. The author-reported focused GPU/serializer matrix is pinned to earlier head f179568345cd, so I did not treat it as a rerun of bb2e. The dependent #10581 report provides additional author-reported Windows/Vulkan validation of the stacked behavior on base fa515def85. Hosted eligibility, conventions, labels, and report pass; all product test jobs are skipped, and I could not run the GPU tests locally.
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!10515
No description provided.