fix(recompiler): match image-table T# halves offset before and after readfirstlane #8991

Merged
Tamalero merged 2 commits from upstream-pr/8991 into main 2026-10-21 19:53:27 +00:00
Tamalero commented 2026-10-21 08:50:25 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by Tamalero on 2026-10-21T08:50:25Z.


What

Marvel's Guardians of the Galaxy (PPSA01748) stops about 4.5 minutes into boot, after the opening menus, on compute shader 0x3b91c3e00 (#7362):

GetImageResource dword 0 is not a valid runtime value; chain: LoadAddressU32@pc=0x00004380(GetAddressResource(ReadConst(GetSrtResource, Immediate), ReadConst(GetSrtResource, Immediate)), ShiftLeftLogical32(ReadFirstLane(SelectU32(...)), Immediate), ...)

Cause: the key's range is not what blocks this shader, as #7362 assumed. The shader runs a waterfall loop and loads its 8-dword T# from a table behind a 64-bit pointer, in two s_load_dwordx4 halves:

v_lshl_add_u32     v5, v32, 5, 16
v_readfirstlane_b32 vcc_lo, v32
v_readfirstlane_b32 vcc_hi, v5
s_lshl_b32         vcc_lo, vcc_lo, 5
s_load_dwordx4     s[28:31], s[56:57], vcc_lo   // record = rfl(key) << 5
s_load_dwordx4     s[32:35], s[56:57], vcc_hi   // same record + 16, offset formed per lane
image_sample       v38, v8, s[28:35], s[8:11]

The first half's offset is ReadFirstLane(key, exec) << 5. The second half's offset is ReadFirstLane(Select(exec, (key << 5) + 16, old), exec): its +16 is added before the lane read. TryMakeTableColumn splits immediate addends only at the top of the offset, so the second half got a different base and a zero addend. The column was refused, and GetHandle threw. The key bound (#7388) and the select condition validation were not involved.

Fix: when the existing base comparison fails, TryMakeTableColumn compares both offsets in one first-lane form: (lane value, mask, shift, addend). v_readfirstlane commutes with a left shift and an immediate add, and it reads the active arm of a select whose condition the mask implies. The select is peeled with Detail::ActiveMaskImplies, the same rule the SRT walker uses since #7388. Two offsets match only when the lane value, mask and shift are equivalent. The parsed addend replaces the zero one, so the existing check offset + addend == first + 4 * dword still decides whether the words form one record. The column's key stays dword 0's real offset; nothing else in the plan changes.

The column has no key domain, so it binds the snapshot domain (up to 65536 records), as unkeyed pointer tables already do. The assumption about inactive lanes is the one #7388 documented, and I extended that entry in docs/dev/debt/shader.md: with no active lane the hardware reads lane 0 of the inactive arm, and the table still binds the whole record.

Tested

Linux (CachyOS, kernel 7.2.9), GCC 16.2.1, Release, BUILD_TESTING=ON, RTX 4090 (NVIDIA 615.78.08).

  • New verifySplitWaterfallImageTable in tests/ShaderMemory.cpp, run by agc_shader_memory and agc_shader_bindless. A waterfall loop loads one T# as two s_load_dwordx4 halves, the second offset formed per lane with v_lshl_add_u32 key, 5, 16. The test checks that the T# is planned as one pointer-table column (stride 32, 8 words, the second half's addend folded) and that record 0's snapshot holds the stored T#. With +32 (the next record) or +8 (a misaligned half) instead of +16, the column must still be refused.
  • Negative check: with ResourceTracker.cpp restored to main, both agc_shader_memory and agc_shader_bindless fail with the title's message (GetImageResource dword 0 is not a valid runtime value).
  • ctest -R '^agc_shader': 31 of 31 pass. ctest -R '^agc_': 849 of 849 pass (1 skipped, agc_driver_stencil_ref_export).
  • python3 tools/check_conventions.py --base origin/main and tools/check_test_registration.py: pass.
  • PPSA01748 (content 01.006.000), same route (language, brightness, adjustments → Start Game). Both builds are on main 6830c9164 with no other changes:
Build Result
main 6830c9164 stops about 4.5 min in, compute 0x3b91c3e00, LoadAddressU32@pc=0x4380
main + this change 0x3b91c3e00 dispatches; the photosensitivity warning, the autosave notice and the title screen and main menu render. New Game then loads into the first level.

The shader is large (1,722,971 SPIR-V words), and its first pipeline build holds the warning screen at about 0.3 FPS for a few minutes on a cold cache. The run then stops later, in the first level, on a separate AGC graphics: CB metadata pass over part of a color target. That is not part of this change; I'll report it separately.

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: #7362
  • Unblocks: PPSA01748 (boot to the main menu and into the first level)
  • GPUs tested: NVIDIA GeForce RTX 4090, driver 615.78.08, Linux (CachyOS, kernel 7.2.9)
  • AI-assisted: yes

Tested and written by Claude (AI assistant) on a contributor's machine.

image image image
<!-- greyfinch-sync:boykopovar/AnyPS5:issue:4948930762 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/8991). Originally posted by [Tamalero](https://github.com/Tamalero) on 2026-10-21T08:50:25Z. --- ### What Marvel's Guardians of the Galaxy (PPSA01748) stops about 4.5 minutes into boot, after the opening menus, on compute shader 0x3b91c3e00 (#7362): ``` GetImageResource dword 0 is not a valid runtime value; chain: LoadAddressU32@pc=0x00004380(GetAddressResource(ReadConst(GetSrtResource, Immediate), ReadConst(GetSrtResource, Immediate)), ShiftLeftLogical32(ReadFirstLane(SelectU32(...)), Immediate), ...) ``` **Cause:** the key's range is not what blocks this shader, as #7362 assumed. The shader runs a waterfall loop and loads its 8-dword T# from a table behind a 64-bit pointer, in two `s_load_dwordx4` halves: ``` v_lshl_add_u32 v5, v32, 5, 16 v_readfirstlane_b32 vcc_lo, v32 v_readfirstlane_b32 vcc_hi, v5 s_lshl_b32 vcc_lo, vcc_lo, 5 s_load_dwordx4 s[28:31], s[56:57], vcc_lo // record = rfl(key) << 5 s_load_dwordx4 s[32:35], s[56:57], vcc_hi // same record + 16, offset formed per lane image_sample v38, v8, s[28:35], s[8:11] ``` The first half's offset is `ReadFirstLane(key, exec) << 5`. The second half's offset is `ReadFirstLane(Select(exec, (key << 5) + 16, old), exec)`: its +16 is added before the lane read. `TryMakeTableColumn` splits immediate addends only at the top of the offset, so the second half got a different base and a zero addend. The column was refused, and `GetHandle` threw. The key bound (#7388) and the select condition validation were not involved. **Fix:** when the existing base comparison fails, `TryMakeTableColumn` compares both offsets in one first-lane form: (lane value, mask, shift, addend). `v_readfirstlane` commutes with a left shift and an immediate add, and it reads the active arm of a select whose condition the mask implies. The select is peeled with `Detail::ActiveMaskImplies`, the same rule the SRT walker uses since #7388. Two offsets match only when the lane value, mask and shift are equivalent. The parsed addend replaces the zero one, so the existing check `offset + addend == first + 4 * dword` still decides whether the words form one record. The column's key stays dword 0's real offset; nothing else in the plan changes. The column has no key domain, so it binds the snapshot domain (up to 65536 records), as unkeyed pointer tables already do. The assumption about inactive lanes is the one #7388 documented, and I extended that entry in `docs/dev/debt/shader.md`: with no active lane the hardware reads lane 0 of the inactive arm, and the table still binds the whole record. ### Tested Linux (CachyOS, kernel 7.2.9), GCC 16.2.1, Release, `BUILD_TESTING=ON`, RTX 4090 (NVIDIA 615.78.08). - New `verifySplitWaterfallImageTable` in `tests/ShaderMemory.cpp`, run by `agc_shader_memory` and `agc_shader_bindless`. A waterfall loop loads one T# as two `s_load_dwordx4` halves, the second offset formed per lane with `v_lshl_add_u32 key, 5, 16`. The test checks that the T# is planned as one pointer-table column (stride 32, 8 words, the second half's addend folded) and that record 0's snapshot holds the stored T#. With +32 (the next record) or +8 (a misaligned half) instead of +16, the column must still be refused. - **Negative check:** with `ResourceTracker.cpp` restored to `main`, both `agc_shader_memory` and `agc_shader_bindless` fail with the title's message (`GetImageResource dword 0 is not a valid runtime value`). - `ctest -R '^agc_shader'`: 31 of 31 pass. `ctest -R '^agc_'`: 849 of 849 pass (1 skipped, `agc_driver_stencil_ref_export`). - `python3 tools/check_conventions.py --base origin/main` and `tools/check_test_registration.py`: pass. - PPSA01748 (content 01.006.000), same route (language, brightness, adjustments → Start Game). Both builds are on `main` 6830c9164 with no other changes: | Build | Result | |---|---| | `main` 6830c9164 | stops about 4.5 min in, compute 0x3b91c3e00, `LoadAddressU32@pc=0x4380` | | `main` + this change | 0x3b91c3e00 dispatches; the photosensitivity warning, the autosave notice and the **title screen and main menu** render. New Game then loads into the first level. | The shader is large (1,722,971 SPIR-V words), and its first pipeline build holds the warning screen at about 0.3 FPS for a few minutes on a cold cache. The run then stops later, in the first level, on a separate `AGC graphics: CB metadata pass over part of a color target`. That is not part of this change; I'll report it separately. ### 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 (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: #7362 - [x] Unblocks: PPSA01748 (boot to the main menu and into the first level) - [x] GPUs tested: NVIDIA GeForce RTX 4090, driver 615.78.08, Linux (CachyOS, kernel 7.2.9) - [x] AI-assisted: yes *Tested and written by Claude (AI assistant) on a contributor's machine.* <img width="1856" height="1072" alt="image" src="https://github.com/user-attachments/assets/0b50179c-ad11-43ff-93f6-4bffab434386" /> <img width="1858" height="1072" alt="image" src="https://github.com/user-attachments/assets/3985c04e-79da-4be2-a0cc-4371be4536cb" /> <img width="1861" height="1074" alt="image" src="https://github.com/user-attachments/assets/8368d1ec-5611-42b8-afc1-c9ece8563064" />
clairtonmichel commented 2026-10-21 09:05:56 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by clairtonmichel on 2026-10-21T09:05:56Z.


Tested on AMD Ryzen 7 9800X3D and AMD Radeon RX 7900 XTX (Fedora Linux, Mesa 26.2.5):

  • Built cleanly with zero errors.
  • Ran the image table and recompiler-related test suite (agc_driver_image_table, cache, reuse, etc.): 100% passed successfully (6/6 tests green in 0.42s).
  • Image-table T# halves offset matching before and after readfirstlane works flawlessly on host. Great fix!
<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6312240928 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/8991#issuecomment-6312240928). Originally posted by [clairtonmichel](https://github.com/clairtonmichel) on 2026-10-21T09:05:56Z. --- Tested on AMD Ryzen 7 9800X3D and AMD Radeon RX 7900 XTX (Fedora Linux, Mesa 26.2.5): - Built cleanly with zero errors. - Ran the image table and recompiler-related test suite (`agc_driver_image_table`, `cache`, `reuse`, etc.): **100% passed successfully** (6/6 tests green in 0.42s). - Image-table T# halves offset matching before and after `readfirstlane` works flawlessly on host. Great fix!
github-actions[bot] commented 2026-10-21 09:35:59 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-21T09:35:59Z.


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
PR 7223 core/shader/recompiler/Optimization/src/ResourceTracker.cpp L579-582
PR 7395 core/shader/recompiler/Optimization/src/ResourceTracker.cpp L579-582
PR 8939 core/shader/recompiler/Optimization/src/ResourceTracker.cpp L579-582

Some comparisons could not be completed because a pull request conflicts with the base branch. Review these shared files manually before concluding that there is no overlap.

Pull request Shared files not compared
PR 5021 docs/dev/debt/shader.md
PR 5371 core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp
docs/dev/debt/shader.md
PR 6235 core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp
docs/dev/debt/shader.md
PR 6280 core/shader/recompiler/Optimization/src/ResourceTracker.cpp
docs/dev/debt/shader.md
PR 6290 core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp
PR 6412 core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp
docs/dev/debt/shader.md
PR 6488 core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp
core/shader/recompiler/Optimization/src/ResourceTracker.cpp
docs/dev/debt/shader.md
PR 6645 core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp
PR 6879 docs/dev/debt/shader.md
PR 6924 docs/dev/debt/shader.md
PR 6947 core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp
PR 7085 core/shader/recompiler/Optimization/src/ResourceTracker.cpp
docs/dev/debt/shader.md
PR 7484 docs/dev/debt/shader.md
PR 7550 core/shader/recompiler/Optimization/src/ResourceTracker.cpp
PR 7642 core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp
core/shader/recompiler/Optimization/src/ResourceTracker.cpp
PR 7684 core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp
core/shader/recompiler/Optimization/src/ResourceTracker.cpp
docs/dev/debt/shader.md
PR 7922 docs/dev/debt/shader.md
PR 8004 core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp
docs/dev/debt/shader.md
PR 8077 core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp
core/shader/recompiler/Optimization/src/ResourceTracker.cpp
docs/dev/debt/shader.md
PR 8625 docs/dev/debt/shader.md
<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6312793717 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/8991#issuecomment-6312793717). Originally posted by [github-actions[bot]](https://github.com/apps/github-actions) on 2026-10-21T09:35:59Z. --- <!-- 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 | |---|---|---|---| | [PR 7223](https://www.github.com/boykopovar/AnyPS5/pull/7223) | `core/shader/recompiler/Optimization/src/ResourceTracker.cpp` [L579-582](https://github.com/boykopovar/AnyPS5/blob/3594eee9f3a2a6e41c06f827fe1443c0f58aa5ac/core/shader/recompiler/Optimization/src/ResourceTracker.cpp#L579-L582) | | | | [PR 7395](https://www.github.com/boykopovar/AnyPS5/pull/7395) | `core/shader/recompiler/Optimization/src/ResourceTracker.cpp` [L579-582](https://github.com/boykopovar/AnyPS5/blob/3594eee9f3a2a6e41c06f827fe1443c0f58aa5ac/core/shader/recompiler/Optimization/src/ResourceTracker.cpp#L579-L582) | | | | [PR 8939](https://www.github.com/boykopovar/AnyPS5/pull/8939) | `core/shader/recompiler/Optimization/src/ResourceTracker.cpp` [L579-582](https://github.com/boykopovar/AnyPS5/blob/3594eee9f3a2a6e41c06f827fe1443c0f58aa5ac/core/shader/recompiler/Optimization/src/ResourceTracker.cpp#L579-L582) | | | Some comparisons could not be completed because a pull request conflicts with the base branch. Review these shared files manually before concluding that there is no overlap. | Pull request | Shared files not compared | |---|---| | [PR 5021](https://www.github.com/boykopovar/AnyPS5/pull/5021) | `docs/dev/debt/shader.md` | | [PR 5371](https://www.github.com/boykopovar/AnyPS5/pull/5371) | `core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp`<br>`docs/dev/debt/shader.md` | | [PR 6235](https://www.github.com/boykopovar/AnyPS5/pull/6235) | `core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp`<br>`docs/dev/debt/shader.md` | | [PR 6280](https://www.github.com/boykopovar/AnyPS5/pull/6280) | `core/shader/recompiler/Optimization/src/ResourceTracker.cpp`<br>`docs/dev/debt/shader.md` | | [PR 6290](https://www.github.com/boykopovar/AnyPS5/pull/6290) | `core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp` | | [PR 6412](https://www.github.com/boykopovar/AnyPS5/pull/6412) | `core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp`<br>`docs/dev/debt/shader.md` | | [PR 6488](https://www.github.com/boykopovar/AnyPS5/pull/6488) | `core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp`<br>`core/shader/recompiler/Optimization/src/ResourceTracker.cpp`<br>`docs/dev/debt/shader.md` | | [PR 6645](https://www.github.com/boykopovar/AnyPS5/pull/6645) | `core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp` | | [PR 6879](https://www.github.com/boykopovar/AnyPS5/pull/6879) | `docs/dev/debt/shader.md` | | [PR 6924](https://www.github.com/boykopovar/AnyPS5/pull/6924) | `docs/dev/debt/shader.md` | | [PR 6947](https://www.github.com/boykopovar/AnyPS5/pull/6947) | `core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp` | | [PR 7085](https://www.github.com/boykopovar/AnyPS5/pull/7085) | `core/shader/recompiler/Optimization/src/ResourceTracker.cpp`<br>`docs/dev/debt/shader.md` | | [PR 7484](https://www.github.com/boykopovar/AnyPS5/pull/7484) | `docs/dev/debt/shader.md` | | [PR 7550](https://www.github.com/boykopovar/AnyPS5/pull/7550) | `core/shader/recompiler/Optimization/src/ResourceTracker.cpp` | | [PR 7642](https://www.github.com/boykopovar/AnyPS5/pull/7642) | `core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp`<br>`core/shader/recompiler/Optimization/src/ResourceTracker.cpp` | | [PR 7684](https://www.github.com/boykopovar/AnyPS5/pull/7684) | `core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp`<br>`core/shader/recompiler/Optimization/src/ResourceTracker.cpp`<br>`docs/dev/debt/shader.md` | | [PR 7922](https://www.github.com/boykopovar/AnyPS5/pull/7922) | `docs/dev/debt/shader.md` | | [PR 8004](https://www.github.com/boykopovar/AnyPS5/pull/8004) | `core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp`<br>`docs/dev/debt/shader.md` | | [PR 8077](https://www.github.com/boykopovar/AnyPS5/pull/8077) | `core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp`<br>`core/shader/recompiler/Optimization/src/ResourceTracker.cpp`<br>`docs/dev/debt/shader.md` | | [PR 8625](https://www.github.com/boykopovar/AnyPS5/pull/8625) | `docs/dev/debt/shader.md` |
Tamalero commented 2026-10-21 19:20:57 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by Tamalero on 2026-10-21T19:20:57Z.


AMD result for this PR: Marvel's Guardians of the Galaxy (PPSA01748) on a Radeon Pro V620 (RADV, Mesa 25.2.8, Ubuntu 24.04, kernel 6.8), built from this PR's head 2c77b0f56 with GCC 13.

  • The refusal this PR fixes is gone on AMD as well: the opening menus render, START GAME goes through, and the MARVEL logo intro plays. There is no GetImageResource dword 0 refusal on 0x3b91c3e00.

  • About 10 minutes after START GAME the process gets SIGSEGV inside libvulkan_radeon.so. The core puts it in Graphics::Pipeline::Pipeline → LinkPipelineFromLibraries for a later draw. With APS5_NO_GPL=1 it dies at the same instruction in the driver. So I think it's a separate RADV problem, not part of this change:

    • Offline, agc_shader_replay --materialize of 0x3b91c3e00's captured dispatch completes on the same machine.
    • All nine compute pipelines over 150k SPIR-V words that the run created replay without error through agc_compute_pipeline_replay (1 to 9 s each).

    I haven't narrowed down which RADV function or which pipeline it is yet. I'll open a separate issue once I have that.

Tested and written by Claude (AI assistant) on a contributor's machine.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6324531076 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/8991#issuecomment-6324531076). Originally posted by [Tamalero](https://github.com/Tamalero) on 2026-10-21T19:20:57Z. --- AMD result for this PR: Marvel's Guardians of the Galaxy (PPSA01748) on a Radeon Pro V620 (RADV, Mesa 25.2.8, Ubuntu 24.04, kernel 6.8), built from this PR's head 2c77b0f56 with GCC 13. - The refusal this PR fixes is gone on AMD as well: the opening menus render, START GAME goes through, and the MARVEL logo intro plays. There is no `GetImageResource dword 0` refusal on 0x3b91c3e00. - About 10 minutes after START GAME the process gets SIGSEGV inside `libvulkan_radeon.so`. The core puts it in `Graphics::Pipeline::Pipeline` → `LinkPipelineFromLibraries` for a later draw. With `APS5_NO_GPL=1` it dies at the same instruction in the driver. So I think it's a separate RADV problem, not part of this change: - Offline, `agc_shader_replay --materialize` of 0x3b91c3e00's captured dispatch completes on the same machine. - All nine compute pipelines over 150k SPIR-V words that the run created replay without error through `agc_compute_pipeline_replay` (1 to 9 s each). I haven't narrowed down which RADV function or which pipeline it is yet. I'll open a separate issue once I have that. *Tested and written by Claude (AI assistant) on a contributor's machine.*
adriadam10 commented 2026-10-21 19:55:26 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by adriadam10 on 2026-10-21T19:55:26Z.


Checked the diff: ParseFirstLaneOffset only matches two offsets when lane value, mask and shift are equivalent, the select is peeled with the same ActiveMaskImplies rule as #7388, and the existing offset + addend == first + 4 * dword check still decides the record. The new test pins the +16 column and keeps +32/+8 refused, and it fails on main (the plan throws). Debt entry updated.

Added on top: removed the three code comments from verifySplitWaterfallImageTable (no comments in code). Rebased onto current main; merged.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6325193707 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/8991#issuecomment-6325193707). Originally posted by [adriadam10](https://github.com/adriadam10) on 2026-10-21T19:55:26Z. --- Checked the diff: `ParseFirstLaneOffset` only matches two offsets when lane value, mask and shift are equivalent, the select is peeled with the same `ActiveMaskImplies` rule as #7388, and the existing `offset + addend == first + 4 * dword` check still decides the record. The new test pins the +16 column and keeps +32/+8 refused, and it fails on `main` (the plan throws). Debt entry updated. Added on top: removed the three code comments from `verifySplitWaterfallImageTable` (no comments in code). Rebased onto current `main`; merged.
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!8991
No description provided.