fix(agc): render to COLOR_16_16 targets with SWAP_ALT #15670

Merged
B-Howell merged 3 commits from upstream-pr/15670 into main 2026-11-07 23:00:14 +00:00
B-Howell commented 2026-11-04 02:05:43 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by B-Howell on 2026-11-04T02:05:43Z.


What

A two-channel colour target with CB_COLOR0_INFO.COMP_SWAP 1 (SWAP_ALT) stores the X and W exports in its two channels. DecodeColorFormatRaw already decodes COLOR_8_8 that way, but COLOR_16_16 (CB format 5) accepted only COMP_SWAP 0 and threw:

AGC graphics: unsupported color format 5 number type 7 component swap 1

The rule does not depend on the channel width. Mesa's ac_translate_colorswap (src/amd/common/ac_formats.c, mesa eead8dcf02) picks the swap from the channel count alone; for two channels:

else if (HAS_SWIZZLE(0, X) && HAS_SWIZZLE(3, Y))
   return V_028C70_SWAP_ALT; /* X__Y */

So COLOR_16_16 with SWAP_ALT now decodes to the same R16G16 format as with swap 0 (UNORM, SNORM, UINT, FLOAT), with export mapping 0xec (X to the first channel, W to the second) in place of 0xe4:

case 5: {
    if (swap > 1) return fail();
    const auto mapping = static_cast<std::uint8_t>(alternate ? 0xecu : 0xe4u);

The existing SWAP_ALT blend handling then covers it: a separate alpha blend is split across the two channels, and destination-alpha and constant-colour factors are rejected. Those messages now say "two-channel color target" instead of "8_8". Swaps 2 and 3 still throw. The debt entry for the SWAP_ALT blend split now names 8_8 and 16_16.

Tested

Windows 11, RTX 4080 SUPER, NVIDIA 621.01, WinLibs GCC 15.2.0-r7, Release. Commit 0ce86e70ad on main 1c8c0efc8c.

  • Tests added. agc_driver_graphics decodes 16_16 with swaps 0 and 1 for all four number types and checks the split alpha decision. agc_driver_swap_alt_blend now draws into a real 16_16 FLOAT SWAP_ALT target as well as the 8_8 one, and compares every texel.
  • Windows, x3. agc_driver_graphics, agc_driver_swap_alt_blend, agc_driver_reversed_order_blend, agc_driver_dual_source_blend, agc_driver_uint_color_target, agc_driver_unclamped_normalized_blend and agc_driver_color_logic_op passed 7/7 in each of 3 runs. The run used ANYPS5_REQUIRE_VULKAN=1 ANYPS5_NO_SHADER_CACHE=1 VK_INSTANCE_LAYERS=VK_LAYER_KHRONOS_validation, LunarG layer 1.4.363.1 through VK_ADD_LAYER_PATH, and VK_LOADER_DEBUG=layer. The log of each of the six Vulkan tests shows Insert instance layer "VK_LAYER_KHRONOS_validation" in every run. agc_driver_graphics creates no Vulkan instance.
  • Control on main. The same tests ran with State.cpp and Pipeline.cpp from 1c8c0efc8c and the new tests kept. agc_driver_swap_alt_blend fails 3/3 with unsupported color format 5 number type 7 component swap 1. agc_driver_graphics fails 3/3 with unsupported color format 5 number type 0 component swap 1. The other five pass.
  • Validation. Both arms have 0 VUID- lines and 0 SYNC-HAZARD lines, so the change adds no validation errors. Neither log has was not found but was requested by env var VK_INSTANCE_LAYERS.
  • Linux. WSL Ubuntu 22.04, GCC 11.4, x3: agc_driver_graphics passes. The six Vulkan tests skip, because WSL has no Vulkan device.
  • God of War Ragnarök (PPSA08329), Windows. Same GPU, a local integration build plus this fix, one 1800 s run with pad-file input.
    • Without the fix, a 1500 s run aborted at log 1404 s on unsupported color format 5 number type 7 component swap 1, with 154 presents, all black.
    • With the fix, that error does not occur, and the title runs past that point to log 1435 s.
    • First non-black frames on this machine. Flips 157 to 172 (from log 1276 s) are the "20th Anniversary Free Gift: Dark Odyssey" notice with Kratos. In 16 of 173 present-time readbacks the RGB is non-zero, and the matching 16 GPU frame dumps are not the black dump.
    • That run then stopped on a separate failure that this PR does not address: std::bad_alloc while building an oversized sampled view.

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: PPSA08329 #12128
  • GPUs tested: NVIDIA GeForce RTX 4080 SUPER, driver 621.01, Windows 11
  • AI-assisted: yes

🤖 Generated with Claude Code

Description corrected for d5c9839460: the rejection-only assertions were removed; the production guards remain. The test results above retain their original source pins.

AI-assisted update: Codex.

<!-- greyfinch-sync:boykopovar/AnyPS5:issue:5147595552 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/15670). Originally posted by [B-Howell](https://github.com/B-Howell) on 2026-11-04T02:05:43Z. --- ### What A two-channel colour target with `CB_COLOR0_INFO.COMP_SWAP` 1 (SWAP_ALT) stores the X and W exports in its two channels. `DecodeColorFormatRaw` already decodes COLOR_8_8 that way, but COLOR_16_16 (CB format 5) accepted only `COMP_SWAP` 0 and threw: ``` AGC graphics: unsupported color format 5 number type 7 component swap 1 ``` The rule does not depend on the channel width. Mesa's `ac_translate_colorswap` (`src/amd/common/ac_formats.c`, mesa `eead8dcf02`) picks the swap from the channel count alone; for two channels: ```c else if (HAS_SWIZZLE(0, X) && HAS_SWIZZLE(3, Y)) return V_028C70_SWAP_ALT; /* X__Y */ ``` So COLOR_16_16 with SWAP_ALT now decodes to the same R16G16 format as with swap 0 (UNORM, SNORM, UINT, FLOAT), with export mapping `0xec` (X to the first channel, W to the second) in place of `0xe4`: ```cpp case 5: { if (swap > 1) return fail(); const auto mapping = static_cast<std::uint8_t>(alternate ? 0xecu : 0xe4u); ``` The existing SWAP_ALT blend handling then covers it: a separate alpha blend is split across the two channels, and destination-alpha and constant-colour factors are rejected. Those messages now say "two-channel color target" instead of "8_8". Swaps 2 and 3 still throw. The debt entry for the SWAP_ALT blend split now names 8_8 and 16_16. ### Tested <!-- OS, title or homebrew, what was checked. "Not tested" is a valid answer. A performance change: the summary lines of main and of this PR from the same machine and scene, with the traces attached, captured as the Performance report issue form describes. --> Windows 11, RTX 4080 SUPER, NVIDIA 621.01, WinLibs GCC 15.2.0-r7, Release. Commit `0ce86e70ad` on main `1c8c0efc8c`. - **Tests added.** `agc_driver_graphics` decodes 16_16 with swaps 0 and 1 for all four number types and checks the split alpha decision. `agc_driver_swap_alt_blend` now draws into a real 16_16 FLOAT SWAP_ALT target as well as the 8_8 one, and compares every texel. - **Windows, x3.** `agc_driver_graphics`, `agc_driver_swap_alt_blend`, `agc_driver_reversed_order_blend`, `agc_driver_dual_source_blend`, `agc_driver_uint_color_target`, `agc_driver_unclamped_normalized_blend` and `agc_driver_color_logic_op` passed 7/7 in each of 3 runs. The run used `ANYPS5_REQUIRE_VULKAN=1 ANYPS5_NO_SHADER_CACHE=1 VK_INSTANCE_LAYERS=VK_LAYER_KHRONOS_validation`, LunarG layer 1.4.363.1 through `VK_ADD_LAYER_PATH`, and `VK_LOADER_DEBUG=layer`. The log of each of the six Vulkan tests shows `Insert instance layer "VK_LAYER_KHRONOS_validation"` in every run. `agc_driver_graphics` creates no Vulkan instance. - **Control on main.** The same tests ran with `State.cpp` and `Pipeline.cpp` from `1c8c0efc8c` and the new tests kept. `agc_driver_swap_alt_blend` fails 3/3 with `unsupported color format 5 number type 7 component swap 1`. `agc_driver_graphics` fails 3/3 with `unsupported color format 5 number type 0 component swap 1`. The other five pass. - **Validation.** Both arms have 0 `VUID-` lines and 0 `SYNC-HAZARD` lines, so the change adds no validation errors. Neither log has `was not found but was requested by env var VK_INSTANCE_LAYERS`. - **Linux.** WSL Ubuntu 22.04, GCC 11.4, x3: `agc_driver_graphics` passes. The six Vulkan tests skip, because WSL has no Vulkan device. - **God of War Ragnarök (PPSA08329), Windows.** Same GPU, a local integration build plus this fix, one 1800 s run with pad-file input. - Without the fix, a 1500 s run aborted at log 1404 s on `unsupported color format 5 number type 7 component swap 1`, with 154 presents, all black. - With the fix, that error does not occur, and the title runs past that point to log 1435 s. - **First non-black frames on this machine.** Flips 157 to 172 (from log 1276 s) are the "20th Anniversary Free Gift: Dark Odyssey" notice with Kratos. In 16 of 173 present-time readbacks the RGB is non-zero, and the matching 16 GPU frame dumps are not the black dump. - That run then stopped on a separate failure that this PR does not address: `std::bad_alloc` while building an oversized sampled view. ### 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: PPSA08329 #12128 - [x] GPUs tested: NVIDIA GeForce RTX 4080 SUPER, driver 621.01, Windows 11 - [x] AI-assisted: yes 🤖 Generated with [Claude Code](https://claude.com/claude-code) Description corrected for `d5c9839460`: the rejection-only assertions were removed; the production guards remain. The test results above retain their original source pins. AI-assisted update: Codex.
BunnyFl commented 2026-11-04 13:41:09 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by BunnyFl on 2026-11-04T13:41:09Z.

Review: APPROVED


@B-Howell thanks. Treating COLOR_16_16 like COLOR_8_8 here looks right to me. Swap 1 gets the same 0xec mapping 8_8 already uses, and swaps 2 and 3 still fail. The SWAP_ALT handling applies with no format-specific change, because the split decision in Pipeline.cpp and the destination-alpha and constant-colour rejections in State.cpp key on componentMapping == 0xec.

What I ran: head d5c9839460 merged onto main b11c7bf84f, Windows 11, WinLibs GCC, Release, AMD Radeon RX 9070 XT, driver 32.0.32015.12012, with ANYPS5_REQUIRE_VULKAN=1, ANYPS5_NO_SHADER_CACHE=1 and VK_INSTANCE_LAYERS=VK_LAYER_KHRONOS_validation:

  • agc_driver_graphics, agc_driver_swap_alt_blend, agc_driver_reversed_order_blend, agc_driver_dual_source_blend, agc_driver_uint_color_target and agc_driver_color_logic_op pass (6 of 6). I didn't find where agc_driver_unclamped_normalized_blend is registered, so that one isn't in my set;
  • negative control, State.cpp and Pipeline.cpp taken from main with the new tests kept: agc_driver_swap_alt_blend and agc_driver_graphics fail, the other four pass, the same split as yours;
  • validation comparison (ctest -V, the same six tests on main and on the merge): no VUID- and no SYNC-HAZARD IDs on either side, and neither log has was not found but was requested by env var VK_INSTANCE_LAYERS;
  • tools/check_conventions.py --base upstream/main on the head: all checks passed;
  • tools/pr_overlap.py --branch: no open PR shares lines. Of the 14 it couldn't compare, the four that touch State.cpp or Pipeline.cpp (#13928, #13929, #15059, #15548) don't change the 16_16 decode or the SWAP_ALT blend code.

These are AMD results; your description has the NVIDIA ones. Approving.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5769301150 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/15670#pullrequestreview-5769301150). Originally posted by [BunnyFl](https://github.com/BunnyFl) on 2026-11-04T13:41:09Z. **Review:** APPROVED --- @B-Howell thanks. Treating COLOR_16_16 like COLOR_8_8 here looks right to me. Swap 1 gets the same `0xec` mapping 8_8 already uses, and swaps 2 and 3 still fail. The SWAP_ALT handling applies with no format-specific change, because the split decision in `Pipeline.cpp` and the destination-alpha and constant-colour rejections in `State.cpp` key on `componentMapping == 0xec`. **What I ran:** head `d5c9839460` merged onto `main` `b11c7bf84f`, Windows 11, WinLibs GCC, Release, AMD Radeon RX 9070 XT, driver 32.0.32015.12012, with `ANYPS5_REQUIRE_VULKAN=1`, `ANYPS5_NO_SHADER_CACHE=1` and `VK_INSTANCE_LAYERS=VK_LAYER_KHRONOS_validation`: - `agc_driver_graphics`, `agc_driver_swap_alt_blend`, `agc_driver_reversed_order_blend`, `agc_driver_dual_source_blend`, `agc_driver_uint_color_target` and `agc_driver_color_logic_op` pass (6 of 6). I didn't find where `agc_driver_unclamped_normalized_blend` is registered, so that one isn't in my set; - negative control, `State.cpp` and `Pipeline.cpp` taken from `main` with the new tests kept: `agc_driver_swap_alt_blend` and `agc_driver_graphics` fail, the other four pass, the same split as yours; - validation comparison (`ctest -V`, the same six tests on `main` and on the merge): no `VUID-` and no `SYNC-HAZARD` IDs on either side, and neither log has `was not found but was requested by env var VK_INSTANCE_LAYERS`; - `tools/check_conventions.py --base upstream/main` on the head: all checks passed; - `tools/pr_overlap.py --branch`: no open PR shares lines. Of the 14 it couldn't compare, the four that touch `State.cpp` or `Pipeline.cpp` (#13928, #13929, #15059, #15548) don't change the 16_16 decode or the SWAP_ALT blend code. These are AMD results; your description has the NVIDIA ones. Approving.
Superseabas commented 2026-11-05 09:51:19 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by Superseabas on 2026-11-05T09:51:19Z.

Review: APPROVED


Head d5c9839460 merged onto main 6d173c1a19 (clean merge, local only): code read, red/green check and a run on AMD's Windows driver, which the description doesn't cover yet, with an NVIDIA Blackwell run alongside.

Windows 11 Home 10.0.26200, WinLibs GCC 16.2.0 (x86_64-ucrt-posix-seh, r3), Release, BUILD_TESTING=ON. ANYPS5_REQUIRE_VULKAN=1 ANYPS5_NO_SHADER_CACHE=1 VK_INSTANCE_LAYERS=VK_LAYER_KHRONOS_validation, the description's seven tests (agc_driver_graphics, agc_driver_swap_alt_blend, agc_driver_reversed_order_blend, agc_driver_dual_source_blend, agc_driver_uint_color_target, agc_driver_unclamped_normalized_blend, agc_driver_color_logic_op), ANYPS5_GPU selecting the device (confirmed by Selected GPU):

GPU Driver main merged, 3 runs
NVIDIA GeForce RTX 5070 Ti (10de:2c05) 621.01 7 of 7 7 of 7 each run
AMD Radeon Graphics, Ryzen 7 7700X iGPU (1002:164e) AMD 26.10.2 7 of 7 7 of 7 each run
  • No VUID- lines and no missing-layer line in any run. agc_driver_swap_alt_blend prints 8_8 and 16_16 SWAP_ALT blend tests passed on both GPUs, so the new 16_16 FLOAT target is drawn and compared on AMD's driver too.
  • Red check: the merged tree with this PR's State.cpp and Pipeline.cpp changes reversed fails on both GPUs. agc_driver_graphics stops with unsupported color format 5 number type 0 component swap 1, and agc_driver_swap_alt_blend with ... number type 7 component swap 1. That matches the control in the description.
  • check_conventions.py --base main passes on the merge.

Read through the change:

  • COLOR_16_16 now takes COMP_SWAP 0 and 1, with mapping 0xe4 or 0xec, for the same four number types as before, the way COLOR_8_8 already does. Swaps 2 and 3 still fail().
  • The existing 0xec checks in DecodeState and the split in Pipeline.cpp key on the mapping, not the format, so they cover 16_16 without other changes. Only the messages and the debt entry change from "8_8" to "two-channel" / "8_8 and 16_16".
  • Since d5c9839460 the tests no longer require swaps 2 and 3, or the memory-writing split draw, to throw, as requested.

One small thing: the description's Tested section still says agc_driver_graphics "checks that swaps 2 and 3 are rejected". That check was removed in d5c9839460, so that line could go. No code change needed.

AI-assisted: yes (Claude Code)

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5782944229 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/15670#pullrequestreview-5782944229). Originally posted by [Superseabas](https://github.com/Superseabas) on 2026-11-05T09:51:19Z. **Review:** APPROVED --- Head `d5c9839460` merged onto `main` `6d173c1a19` (clean merge, local only): code read, red/green check and a run on AMD's Windows driver, which the description doesn't cover yet, with an NVIDIA Blackwell run alongside. Windows 11 Home 10.0.26200, WinLibs GCC 16.2.0 (`x86_64-ucrt-posix-seh`, r3), Release, `BUILD_TESTING=ON`. `ANYPS5_REQUIRE_VULKAN=1 ANYPS5_NO_SHADER_CACHE=1 VK_INSTANCE_LAYERS=VK_LAYER_KHRONOS_validation`, the description's seven tests (`agc_driver_graphics`, `agc_driver_swap_alt_blend`, `agc_driver_reversed_order_blend`, `agc_driver_dual_source_blend`, `agc_driver_uint_color_target`, `agc_driver_unclamped_normalized_blend`, `agc_driver_color_logic_op`), `ANYPS5_GPU` selecting the device (confirmed by `Selected GPU`): | GPU | Driver | `main` | merged, 3 runs | |---|---|---|---| | NVIDIA GeForce RTX 5070 Ti (`10de:2c05`) | 621.01 | 7 of 7 | 7 of 7 each run | | AMD Radeon Graphics, Ryzen 7 7700X iGPU (`1002:164e`) | AMD 26.10.2 | 7 of 7 | 7 of 7 each run | - No `VUID-` lines and no missing-layer line in any run. `agc_driver_swap_alt_blend` prints `8_8 and 16_16 SWAP_ALT blend tests passed` on both GPUs, so the new 16_16 FLOAT target is drawn and compared on AMD's driver too. - Red check: the merged tree with this PR's `State.cpp` and `Pipeline.cpp` changes reversed fails on both GPUs. `agc_driver_graphics` stops with `unsupported color format 5 number type 0 component swap 1`, and `agc_driver_swap_alt_blend` with `... number type 7 component swap 1`. That matches the control in the description. - `check_conventions.py --base main` passes on the merge. Read through the change: - COLOR_16_16 now takes `COMP_SWAP` 0 and 1, with mapping `0xe4` or `0xec`, for the same four number types as before, the way COLOR_8_8 already does. Swaps 2 and 3 still `fail()`. - The existing `0xec` checks in `DecodeState` and the split in `Pipeline.cpp` key on the mapping, not the format, so they cover 16_16 without other changes. Only the messages and the debt entry change from "8_8" to "two-channel" / "8_8 and 16_16". - Since `d5c9839460` the tests no longer require swaps 2 and 3, or the memory-writing split draw, to throw, as requested. One small thing: the description's Tested section still says `agc_driver_graphics` "checks that swaps 2 and 3 are rejected". That check was removed in `d5c9839460`, so that line could go. No code change needed. AI-assisted: yes (Claude Code)
BunnyFl commented 2026-11-06 18:34:38 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by BunnyFl on 2026-11-06T18:34:38Z.

Review: APPROVED


@B-Howell re-checked at 696430d1f4, and my approval stands.

696430d1f4 is a merge of main (6bf3a19b81) onto d5c9839460, the head I approved. The PR's own +/- lines are identical at both heads in every file it changes: Graphics/src/Pipeline.cpp, Graphics/src/State.cpp, tests/Graphics.cpp, tests/execution/SwapAltBlend.cpp and the debt entry.

What I ran

Windows 11 Pro 10.0.26300, WinLibs GCC 15.2.0, Release, this head merged onto current main (merge 318e0146e3). The GPU is an AMD Radeon RX 9070 XT (0x1002:0x7550, Vulkan API 0x404167, as the test logs report it). Windows reports driver 32.0.32015.12012, read right after the runs; the logs don't print it. ANYPS5_REQUIRE_VULKAN=1 ANYPS5_NO_SHADER_CACHE=1 VK_INSTANCE_LAYERS=VK_LAYER_KHRONOS_validation, ctest -V, with the same six tests as at my approval:

  • PR: agc_driver_color_logic_op, agc_driver_dual_source_blend, agc_driver_graphics, agc_driver_reversed_order_blend, agc_driver_swap_alt_blend and agc_driver_uint_color_target: 6 of 6 pass.
  • Negative control: the same tree with main's Graphics/src/Pipeline.cpp and Graphics/src/State.cpp. agc_driver_swap_alt_blend and agc_driver_graphics fail; 4 of 6 pass.
  • Neither log reports was not found but was requested by env var VK_INSTANCE_LAYERS. Both have no VUID- and no SYNC-HAZARD IDs.
  • tools/check_conventions.py --base upstream/main --head on this head: all checks pass.
  • tools/pr_overlap.py --branch: no confirmed line overlap with another open PR. The tool couldn't compare the PRs that conflict with main.

AI-assisted: yes (Claude Code)

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5805097947 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/15670#pullrequestreview-5805097947). Originally posted by [BunnyFl](https://github.com/BunnyFl) on 2026-11-06T18:34:38Z. **Review:** APPROVED --- @B-Howell re-checked at `696430d1f4`, and my approval stands. `696430d1f4` is a merge of `main` (`6bf3a19b81`) onto `d5c9839460`, the head I approved. The PR's own +/- lines are identical at both heads in every file it changes: `Graphics/src/Pipeline.cpp`, `Graphics/src/State.cpp`, `tests/Graphics.cpp`, `tests/execution/SwapAltBlend.cpp` and the debt entry. ## What I ran Windows 11 Pro 10.0.26300, WinLibs GCC 15.2.0, Release, this head merged onto current `main` (merge `318e0146e3`). The GPU is an AMD Radeon RX 9070 XT (`0x1002:0x7550`, Vulkan API `0x404167`, as the test logs report it). Windows reports driver 32.0.32015.12012, read right after the runs; the logs don't print it. `ANYPS5_REQUIRE_VULKAN=1 ANYPS5_NO_SHADER_CACHE=1 VK_INSTANCE_LAYERS=VK_LAYER_KHRONOS_validation`, `ctest -V`, with the same six tests as at my approval: - PR: `agc_driver_color_logic_op`, `agc_driver_dual_source_blend`, `agc_driver_graphics`, `agc_driver_reversed_order_blend`, `agc_driver_swap_alt_blend` and `agc_driver_uint_color_target`: 6 of 6 pass. - Negative control: the same tree with `main`'s `Graphics/src/Pipeline.cpp` and `Graphics/src/State.cpp`. `agc_driver_swap_alt_blend` and `agc_driver_graphics` fail; 4 of 6 pass. - Neither log reports `was not found but was requested by env var VK_INSTANCE_LAYERS`. Both have no `VUID-` and no `SYNC-HAZARD` IDs. - `tools/check_conventions.py --base upstream/main --head` on this head: all checks pass. - `tools/pr_overlap.py --branch`: no confirmed line overlap with another open PR. The tool couldn't compare the PRs that conflict with `main`. AI-assisted: yes (Claude Code)
mashingaan commented 2026-11-08 10:47:48 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by mashingaan on 2026-11-08T10:47:48Z.

Review: APPROVED


The swap>1 rejection and the 0xe4/0xec mapping for swap 0/1 match the other two-channel formats, and the tests cover both targets plus the separate-alpha-blend split. No findings.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5817582491 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/15670#pullrequestreview-5817582491). Originally posted by [mashingaan](https://github.com/mashingaan) on 2026-11-08T10:47:48Z. **Review:** APPROVED --- The swap>1 rejection and the 0xe4/0xec mapping for swap 0/1 match the other two-channel formats, and the tests cover both targets plus the separate-alpha-blend split. No findings.
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!15670
No description provided.