[BUNDLE] High-yield shader PRs (+295/+520/+153/+117 programs in #1247): #1067 #305 #306 #176, stacked on #1319 #1401

Closed
MamaLeVrai wants to merge 35 commits from upstream-pr/1402 into main
MamaLeVrai commented 2026-11-24 17:46:33 +00:00 (Migrated from github.com)

Imported from Marvisak/VIctory. Originally posted by MamaLeVrai on 2026-11-24T17:46:33Z.


One PR in place of 4. The four open shader PRs that gain the most programs in #1247's offline benchmark on a retail dump (295, 520, 153 and 117 programs; none loses one), merged on top of the bundle #1319 (a descriptor read only as data, 64-bit image atomics, biased image samples with 16-bit coordinates, packed 16-bit pixel inputs). Every head is merged unchanged onto main plus #1319, and the result is built and tested together.

For reviewers and for anyone verifying with an agent (Claude, Codex, a person): this is a [BUNDLE] PR. The re-verification commands are below, so one run covers all of it.

What is inside

PR Author Head Title
#1067 undeadhuman37 6d30fd71c Shaders: a descriptor only read as data takes its kind from its table (+295 programs in #1247)
#305 tarcisioads 78dae8362 Shaders: lower 64-bit image atomics (+520 programs in #1247)
#306 wbkepler e3067aeaa Shader: fix biased 16-bit image samples and DXIL validator failures (+153 programs in #1247)
#176 Yaekai 70278092a Shaders: pair packed fp16 pixel inputs with unlisted signature rows (+117 programs in #1247)

Changes made while bundling

No PR needed a change of its own; four merges needed a hand resolution against the PRs of #1319. Each commit of the bundle is a plain merge of one PR head, with the resolution inside it.

  1. #1067: it restructures descriptor_data (the use-site match moved into a Some((at, first)) branch). #953 (in #1319) adds an s_buffer_load arm to the old match. Resolution: the same arm, unchanged, inside the new match.
  2. #305: both it and #1004 (in #1319) add a test at the end of emit/lower.rs. Both tests are kept.
  3. #306: it reads gradients and the level clamp through its new addr_dword / addr_val(at, k) helpers (a16 packs two components per VGPR); #563 (in #1319) adds cube gradients on the face coordinates (graded) and a _cl clamp read after the coordinates. Resolution: the cube gradient loop runs over graded with addr_dword (gradients are one 32-bit dword each even with a16, as #306's comment says), and the clamp is addr_val(self, at, coords), the same dword as before without a16. There is no test of a16 together with cube gradients; that combination is the part of this resolution to look at.
  4. #176: both it and the bundle add tests at the end of emit/lower.rs. Both are kept.
  5. #306 at its new head (e3067ae, a commit by wrothgaril at 20:36 UTC on Nov 24): two of #306's tests, compute_shader_implicit_sample_uses_valver_1_8_and_validates and row_interp_harmonizes_packed_elements_and_validates, failed with the stock Windows SDK's dxil.dll, which is validator 1.7 (found by alexdeliu on an RX 9070, see #1495). The new head of #306 handles it itself: a Validator::version() query with a skip below validator 1.8, and PSV0 semantic names written per element (its commit message: "write PSV0 semantic names per element; skip valver 1.8 check on old validators"). I have no 1.7 dxil.dll here to confirm it on the stock SDK. An earlier version of this bundle had a commit of mine that did the same thing; it is reverted in the history, just before the merge of the new head, so nothing is duplicated.

Left out, and why

  • #539: gains the same 520 programs as #305 (#1247). One of the two is enough; #305 is the older.
  • #592, #621: gain the same 117 programs as #176 (#1247).
  • #996: gains 52 programs, 36 of them shared with #306, and implements the same a16 biased sample; it conflicts with #306 here.
  • #298: overlaps #1074 (in #1319) on 23 of its 29 programs and conflicts with it.
  • #585: gains 25 programs, a superset of #1084's two (in #1319), and conflicts with it.
  • #453: gains 182 programs but adds six validator errors (#1247).

Verification

Windows 11, RX 6950 XT, Rust 1.98.1 (the pinned toolchain):

Check Result
cargo clippy --workspace --all-targets --locked -- -D warnings clean
cargo clippy --workspace --all-targets --all-features --locked -- -D warnings clean
cargo test --workspace --locked 359 passed, 0 failed, 6 ignored (main: 342 passed, 6 ignored)

The title was not run, so this says nothing about in-game effect. No game data is used or committed.

Re-verify in one go

git fetch https://github.com/MamaLeVrai/VIctory.git bundle/shader-high-yield
git checkout FETCH_HEAD
cargo clippy --workspace --all-targets --locked -- -D warnings
cargo clippy --workspace --all-targets --all-features --locked -- -D warnings
cargo test --workspace --locked

To confirm that no component PR moved since this was built, compare each Head above with gh pr view <n> --repo Marvisak/VIctory --json headRefOid. If one differs, the branch needs a rebuild: merge the new head in the same order.

If this lands

The component heads are in the history unchanged, so each PR's commits and authorship are kept and GitHub should mark them merged. Merging them one by one instead works too, with the exceptions noted above.

AI-assisted (Claude Code); no game data.

🤖 Generated with Claude Code

<!-- greyfinch-sync:Marvisak/VIctory:issue:6587929917 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/pull/1402). Originally posted by [MamaLeVrai](https://github.com/MamaLeVrai) on 2026-11-24T17:46:33Z. --- **One PR in place of 4.** The four open shader PRs that gain the most programs in #1247's offline benchmark on a retail dump (295, 520, 153 and 117 programs; none loses one), merged on top of the bundle #1319 (a descriptor read only as data, 64-bit image atomics, biased image samples with 16-bit coordinates, packed 16-bit pixel inputs). Every head is merged unchanged onto `main` plus #1319, and the result is built and tested together. > For reviewers and for anyone verifying with an agent (Claude, Codex, a person): this is a `[BUNDLE]` PR. The re-verification commands are below, so one run covers all of it. ## What is inside | PR | Author | Head | Title | |---|---|---|---| | #1067 | undeadhuman37 | `6d30fd71c` | Shaders: a descriptor only read as data takes its kind from its table (+295 programs in #1247) | | #305 | tarcisioads | `78dae8362` | Shaders: lower 64-bit image atomics (+520 programs in #1247) | | #306 | wbkepler | `e3067aeaa` | Shader: fix biased 16-bit image samples and DXIL validator failures (+153 programs in #1247) | | #176 | Yaekai | `70278092a` | Shaders: pair packed fp16 pixel inputs with unlisted signature rows (+117 programs in #1247) | ## Changes made while bundling No PR needed a change of its own; four merges needed a hand resolution against the PRs of #1319. Each commit of the bundle is a plain merge of one PR head, with the resolution inside it. 1. **#1067**: it restructures `descriptor_data` (the use-site match moved into a `Some((at, first))` branch). #953 (in #1319) adds an `s_buffer_load` arm to the old match. Resolution: the same arm, unchanged, inside the new match. 2. **#305**: both it and #1004 (in #1319) add a test at the end of `emit/lower.rs`. Both tests are kept. 3. **#306**: it reads gradients and the level clamp through its new `addr_dword` / `addr_val(at, k)` helpers (a16 packs two components per VGPR); #563 (in #1319) adds cube gradients on the face coordinates (`graded`) and a `_cl` clamp read after the coordinates. Resolution: the cube gradient loop runs over `graded` with `addr_dword` (gradients are one 32-bit dword each even with a16, as #306's comment says), and the clamp is `addr_val(self, at, coords)`, the same dword as before without a16. There is no test of a16 together with cube gradients; that combination is the part of this resolution to look at. 4. **#176**: both it and the bundle add tests at the end of `emit/lower.rs`. Both are kept. 5. **#306 at its new head** (`e3067ae`, a commit by wrothgaril at 20:36 UTC on Nov 24): two of #306's tests, `compute_shader_implicit_sample_uses_valver_1_8_and_validates` and `row_interp_harmonizes_packed_elements_and_validates`, failed with the stock Windows SDK's `dxil.dll`, which is validator 1.7 (found by alexdeliu on an RX 9070, see #1495). The new head of #306 handles it itself: a `Validator::version()` query with a skip below validator 1.8, and PSV0 semantic names written per element (its commit message: "write PSV0 semantic names per element; skip valver 1.8 check on old validators"). I have no 1.7 `dxil.dll` here to confirm it on the stock SDK. An earlier version of this bundle had a commit of mine that did the same thing; it is reverted in the history, just before the merge of the new head, so nothing is duplicated. ## Left out, and why - **#539**: gains the same 520 programs as #305 (#1247). One of the two is enough; #305 is the older. - **#592, #621**: gain the same 117 programs as #176 (#1247). - **#996**: gains 52 programs, 36 of them shared with #306, and implements the same a16 biased sample; it conflicts with #306 here. - **#298**: overlaps #1074 (in #1319) on 23 of its 29 programs and conflicts with it. - **#585**: gains 25 programs, a superset of #1084's two (in #1319), and conflicts with it. - **#453**: gains 182 programs but adds six validator errors (#1247). ## Verification Windows 11, RX 6950 XT, Rust 1.98.1 (the pinned toolchain): | Check | Result | |---|---| | `cargo clippy --workspace --all-targets --locked -- -D warnings` | clean | | `cargo clippy --workspace --all-targets --all-features --locked -- -D warnings` | clean | | `cargo test --workspace --locked` | 359 passed, 0 failed, 6 ignored (`main`: 342 passed, 6 ignored) | The title was not run, so this says nothing about in-game effect. No game data is used or committed. ## Re-verify in one go ```powershell git fetch https://github.com/MamaLeVrai/VIctory.git bundle/shader-high-yield git checkout FETCH_HEAD cargo clippy --workspace --all-targets --locked -- -D warnings cargo clippy --workspace --all-targets --all-features --locked -- -D warnings cargo test --workspace --locked ``` To confirm that no component PR moved since this was built, compare each `Head` above with `gh pr view <n> --repo Marvisak/VIctory --json headRefOid`. If one differs, the branch needs a rebuild: merge the new head in the same order. ## If this lands The component heads are in the history unchanged, so each PR's commits and authorship are kept and GitHub should mark them merged. Merging them one by one instead works too, with the exceptions noted above. AI-assisted (Claude Code); no game data. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
copilot-pull-request-reviewer[bot commented 2026-11-24 18:05:16 +00:00 (Migrated from github.com)

Imported from Marvisak/VIctory. Originally posted by copilot-pull-request-reviewer[bot] on 2026-11-24T17:46:46Z.

Review: COMMENTED


Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.

<!-- greyfinch-sync:Marvisak/VIctory:review:6044446361 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/pull/1402#pullrequestreview-6044446361). Originally posted by [copilot-pull-request-reviewer[bot]](https://github.com/copilot-pull-request-reviewer%5Bbot%5D) on 2026-11-24T17:46:46Z. **Review:** COMMENTED --- Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.
sinan-cmyk commented 2026-11-24 19:04:05 +00:00 (Migrated from github.com)

Imported from Marvisak/VIctory. Originally posted by sinan-cmyk on 2026-11-24T18:12:41Z.


Offline measurement on a retail dump, as asked in #1247

Result: +1,688 programs over main, 0 programs lost. The hand-resolved merges did not cost a program on this data.

Method: the same as #1247. I ran victory translate --validate --list on shaders.rpf from a retail dump (1.0.2.1), with dxil.dll 1.8.2502.11 (Windows SDK 10.0.26100). Then I compared the results program by program, 25,889 listed programs. I built each head in its own worktree and target dir, release profile.

Build Validated Change Lost
main ffe310e 21,724
#1319 head 643aef6 22,009 +285 vs main 0
#1402 head 2310409 23,412 +1,403 vs #1319 0

The sum holds, and it is larger. On top of #1319, the four PRs gain 1,403 programs. Measured one by one on main in #1247, they gained 1,085 (295 + 520 + 153 + 117). The difference comes from #1319: it moves 247 programs past the mask and scalar-read failures. These programs then stop at "a descriptor read only as data", and #1067 handles them too. Under that reason, the bundle gains 590 programs here; #1067 alone gained 295.

What the four PRs gain on top of #1319, by the reason each program failed with on #1319:

Failure on #1319 Gained
a descriptor read only as data 590
a 64-bit image atomic 520
a packed input half no element holds 131
validator: signature or interpolation-mode mismatches 118
a biased image sample with 16-bit coordinates 44

The next wall. With this PR, the largest failure is "a descriptor's address or format read as data": 809 programs, against 92 on main and 653 on #1319. Most of these programs moved forward from other reasons. In the main → #1402 comparison:

  • 497 come from "a scalar memory read as data"
  • 104 come from "a 64-bit image atomic"
  • 48 come from "a biased image sample with 16-bit coordinates"

The next-largest failures are the lane-mask reasons (270 and 264), computed barycentrics (207), and SGPR addresses that are no root parameter (195).

Limits. These are counts of programs that translate and pass the validator offline. They do not tell whether the output is correct. I did not render anything or run the PR's tests. Shader names and data are left out per the asset policy.

AI-assisted (Claude Code). Measured on my own machine: Ryzen 7 7800X3D, RTX 4070 SUPER, Windows 11 25H2.

<!-- greyfinch-sync:Marvisak/VIctory:comment:7140318094 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/pull/1402#issuecomment-7140318094). Originally posted by [sinan-cmyk](https://github.com/sinan-cmyk) on 2026-11-24T18:12:41Z. --- ### Offline measurement on a retail dump, as asked in #1247 **Result: +1,688 programs over `main`, 0 programs lost.** The hand-resolved merges did not cost a program on this data. Method: the same as #1247. I ran `victory translate --validate --list` on `shaders.rpf` from a retail dump (1.0.2.1), with dxil.dll 1.8.2502.11 (Windows SDK 10.0.26100). Then I compared the results program by program, 25,889 listed programs. I built each head in its own worktree and target dir, release profile. | Build | Validated | Change | Lost | |---|---|---|---| | `main` ffe310e | 21,724 | | | | #1319 head 643aef6 | 22,009 | +285 vs `main` | 0 | | #1402 head 2310409 | 23,412 | +1,403 vs #1319 | 0 | **The sum holds, and it is larger.** On top of #1319, the four PRs gain 1,403 programs. Measured one by one on `main` in #1247, they gained 1,085 (295 + 520 + 153 + 117). The difference comes from #1319: it moves 247 programs past the mask and scalar-read failures. These programs then stop at "a descriptor read only as data", and #1067 handles them too. Under that reason, the bundle gains 590 programs here; #1067 alone gained 295. What the four PRs gain on top of #1319, by the reason each program failed with on #1319: | Failure on #1319 | Gained | |---|---| | a descriptor read only as data | 590 | | a 64-bit image atomic | 520 | | a packed input half no element holds | 131 | | validator: signature or interpolation-mode mismatches | 118 | | a biased image sample with 16-bit coordinates | 44 | **The next wall.** With this PR, the largest failure is "a descriptor's address or format read as data": 809 programs, against 92 on `main` and 653 on #1319. Most of these programs moved forward from other reasons. In the main → #1402 comparison: - 497 come from "a scalar memory read as data" - 104 come from "a 64-bit image atomic" - 48 come from "a biased image sample with 16-bit coordinates" The next-largest failures are the lane-mask reasons (270 and 264), computed barycentrics (207), and SGPR addresses that are no root parameter (195). **Limits.** These are counts of programs that translate and pass the validator offline. They do not tell whether the output is correct. I did not render anything or run the PR's tests. Shader names and data are left out per the asset policy. AI-assisted (Claude Code). Measured on my own machine: Ryzen 7 7800X3D, RTX 4070 SUPER, Windows 11 25H2.
MamaLeVrai commented 2026-11-24 20:03:08 +00:00 (Migrated from github.com)

Imported from Marvisak/VIctory. Originally posted by MamaLeVrai on 2026-11-24T19:23:17Z.


New head 119b763: one commit on top that skips two of #306's tests when dxil.dll is older than validator 1.8 (they failed with the stock SDK's 1.7, reported by alexdeliu on #1495). See the PR text. The measurement above was on the previous head 2310409; the commit only touches the validator wrapper and those two tests. AI-assisted (Claude Code); no game data.

<!-- greyfinch-sync:Marvisak/VIctory:comment:7142023720 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/pull/1402#issuecomment-7142023720). Originally posted by [MamaLeVrai](https://github.com/MamaLeVrai) on 2026-11-24T19:23:17Z. --- New head `119b763`: one commit on top that skips two of #306's tests when `dxil.dll` is older than validator 1.8 (they failed with the stock SDK's 1.7, reported by alexdeliu on #1495). See the PR text. The measurement above was on the previous head `2310409`; the commit only touches the validator wrapper and those two tests. AI-assisted (Claude Code); no game data.
YaBulochka commented 2026-11-24 20:03:20 +00:00 (Migrated from github.com)

Imported from Marvisak/VIctory. Originally posted by YaBulochka on 2026-11-24T19:51:08Z.


Linux/RADV result from a retail run, measured, not estimated: this bundle plus #1319 removes the pixel-side walls completely, and leaves two compute classes.

Before (base ffe310e + #994 + #491 + #1583):

  • mesh 63083c777948927a: a lane mask read as data is not supported;
  • pixel a402e650d0acbc92, 46395a33fdf2a3fa: the same lane-mask error;
  • pixel a223e485dd8247a3: a packed input half no element holds is not supported.

After #1319 + this bundle on the same tree:

  • mesh 63083c777948927a translates (0 errors) - its draws stop being dropped;
  • pixel errors: 0. Every pixel shader that ran in the intro/menu translates now;
  • the only does not translate lines left are compute: 6 x a structured buffer of unknown stride is not supported (0452fc2d2e2fc4c3, 17af15c4015cb4b6, 1c4b3c0547e3e6fa, 42f717f1b4d18e94, 55679a0547649d0b, 89d08e561897d4e5, 9209777e8face9dd, fdd56d97a806bcca) and 3 x image_gather4_l is not supported (0452fc2d2e2fc4c3, 9f017d9011377efa, fc5e66f8f873d3bb).

So on this title the pixel path is done: what is still black can no longer be blamed on a missing pixel translation. The next two walls are #704/#193 (unknown stride) and #160 (gather4_l); both conflict with #1548 in descriptor/host.rs and with this bundle in gfx10/fields.rs, so I am testing them one at a time.

Setup, for reproduction: Linux, Wine 11.22 in a Proton 11.0 prefix, vkd3d-proton from Proton, RADV from Mesa 26.3.1, RX 7600 XT; VICTORY_PIPELINE_JOURNAL=1.

<!-- greyfinch-sync:Marvisak/VIctory:comment:7142678977 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/pull/1402#issuecomment-7142678977). Originally posted by [YaBulochka](https://github.com/YaBulochka) on 2026-11-24T19:51:08Z. --- Linux/RADV result from a retail run, measured, not estimated: this bundle plus #1319 removes the pixel-side walls completely, and leaves two compute classes. Before (base `ffe310e` + #994 + #491 + #1583): - mesh `63083c777948927a`: `a lane mask read as data is not supported`; - pixel `a402e650d0acbc92`, `46395a33fdf2a3fa`: the same lane-mask error; - pixel `a223e485dd8247a3`: `a packed input half no element holds is not supported`. After #1319 + this bundle on the same tree: - mesh `63083c777948927a` translates (0 errors) - its draws stop being dropped; - **pixel errors: 0**. Every pixel shader that ran in the intro/menu translates now; - the only `does not translate` lines left are compute: 6 x `a structured buffer of unknown stride is not supported` (`0452fc2d2e2fc4c3`, `17af15c4015cb4b6`, `1c4b3c0547e3e6fa`, `42f717f1b4d18e94`, `55679a0547649d0b`, `89d08e561897d4e5`, `9209777e8face9dd`, `fdd56d97a806bcca`) and 3 x `image_gather4_l is not supported` (`0452fc2d2e2fc4c3`, `9f017d9011377efa`, `fc5e66f8f873d3bb`). So on this title the pixel path is done: what is still black can no longer be blamed on a missing pixel translation. The next two walls are #704/#193 (unknown stride) and #160 (gather4_l); both conflict with #1548 in `descriptor/host.rs` and with this bundle in `gfx10/fields.rs`, so I am testing them one at a time. Setup, for reproduction: Linux, Wine 11.22 in a Proton 11.0 prefix, vkd3d-proton from Proton, RADV from Mesa 26.3.1, RX 7600 XT; `VICTORY_PIPELINE_JOURNAL=1`.
MamaLeVrai commented 2026-11-24 21:03:22 +00:00 (Migrated from github.com)

Imported from Marvisak/VIctory. Originally posted by MamaLeVrai on 2026-11-24T20:09:30Z.


Thank you, YaBulochka: that is a very useful reading, pixel path done on this title and two compute walls left. Those two are what I try next on top of the stack: #193 with #704 (unknown stride) and #160 (image_gather4_l), resolving the conflicts you name in gfx10/fields.rs and descriptor/host.rs (and #1548). I will post the branch here and on #1495 when it passes the usual checks. The head of #1402 has since gained one commit (119b763, two of #306's tests skipped below validator 1.8); it touches only the validator wrapper and those tests. AI-assisted (Claude Code); no game data.

<!-- greyfinch-sync:Marvisak/VIctory:comment:7143122064 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/pull/1402#issuecomment-7143122064). Originally posted by [MamaLeVrai](https://github.com/MamaLeVrai) on 2026-11-24T20:09:30Z. --- Thank you, YaBulochka: that is a very useful reading, pixel path done on this title and two compute walls left. Those two are what I try next on top of the stack: #193 with #704 (unknown stride) and #160 (`image_gather4_l`), resolving the conflicts you name in `gfx10/fields.rs` and `descriptor/host.rs` (and #1548). I will post the branch here and on #1495 when it passes the usual checks. The head of #1402 has since gained one commit (`119b763`, two of #306's tests skipped below validator 1.8); it touches only the validator wrapper and those tests. AI-assisted (Claude Code); no game data.
MamaLeVrai commented 2026-11-24 21:03:31 +00:00 (Migrated from github.com)

Imported from Marvisak/VIctory. Originally posted by MamaLeVrai on 2026-11-24T20:30:33Z.


YaBulochka: the unknown-stride wall from your list is now #1644 (branch bundle/stride-stack): #704 on #193, on top of #1511, both heads unchanged. They merge with the stack with no conflict besides the tests at the end of emit/mod.rs (both sets kept) and one field, stride_table, in two test literals. cargo clippy (both runs) and cargo test --workspace pass here: 412 tests, two runs, on WARP and an RX 6950 XT. I did not run the title, so I cannot say how many of your 6 unknown stride shaders translate now; a VICTORY_PIPELINE_JOURNAL=1 run on that branch would show it.

Left out: #160 (image_gather4_l). It replaces the lowering's match on sample opcode names with a parsed SampleForm and conflicts with the stack in 13 hunks (emit/lower.rs 10, gfx10/fields.rs 2, emit/host.rs 1). Making it agree with #563, #306 and #1004 is a design choice, not a mechanical merge, so I left it. #1548 conflicts with the view-heap sizing already on the stack in descriptor/host.rs.

bundle/all (every bundle but #1632 and #1638, one tree) has #1644 now: 751 tests, both clippy runs clean.

AI-assisted (Claude Code); no game data.

<!-- greyfinch-sync:Marvisak/VIctory:comment:7143653465 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/pull/1402#issuecomment-7143653465). Originally posted by [MamaLeVrai](https://github.com/MamaLeVrai) on 2026-11-24T20:30:33Z. --- YaBulochka: the unknown-stride wall from your list is now #1644 (branch `bundle/stride-stack`): #704 on #193, on top of #1511, both heads unchanged. They merge with the stack with no conflict besides the tests at the end of `emit/mod.rs` (both sets kept) and one field, `stride_table`, in two test literals. `cargo clippy` (both runs) and `cargo test --workspace` pass here: 412 tests, two runs, on WARP and an RX 6950 XT. I did not run the title, so I cannot say how many of your 6 `unknown stride` shaders translate now; a `VICTORY_PIPELINE_JOURNAL=1` run on that branch would show it. Left out: #160 (`image_gather4_l`). It replaces the lowering's match on sample opcode names with a parsed `SampleForm` and conflicts with the stack in 13 hunks (`emit/lower.rs` 10, `gfx10/fields.rs` 2, `emit/host.rs` 1). Making it agree with #563, #306 and #1004 is a design choice, not a mechanical merge, so I left it. #1548 conflicts with the view-heap sizing already on the stack in `descriptor/host.rs`. `bundle/all` (every bundle but #1632 and #1638, one tree) has #1644 now: 751 tests, both clippy runs clean. AI-assisted (Claude Code); no game data.
sinan-cmyk commented 2026-11-24 21:03:32 +00:00 (Migrated from github.com)

Imported from Marvisak/VIctory. Originally posted by sinan-cmyk on 2026-11-24T20:31:12Z.


PRs that add programs on top of this bundle (measured on the retail dump, stacked on head 2310409, program by program):

PR On top of #1402 Lost Merge
#1423 +214 0 One test-module hunk in emit/lower.rs; both tests kept. details
#1597 (mine) +473 0 Stacked on this PR already.
#1407 +1 0 Clean.
#1221 0 0 Conflicts in the v_cndmask_b32 arm. Combined with #1423 it costs 1 program. details

#1423 gained nothing on main alone. Its 214 programs need #1067, which is inside this PR. #1130, #1291, #1409 and #995 also conflict with this PR in emit/lower.rs or emit/mod.rs. On main, all of their gains are already among this bundle's gains.

AI-assisted (Claude Code). No shader names or data are included, per the asset policy.

<!-- greyfinch-sync:Marvisak/VIctory:comment:7143670400 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/pull/1402#issuecomment-7143670400). Originally posted by [sinan-cmyk](https://github.com/sinan-cmyk) on 2026-11-24T20:31:12Z. --- **PRs that add programs on top of this bundle** (measured on the retail dump, stacked on head 2310409, program by program): | PR | On top of #1402 | Lost | Merge | |---|---|---|---| | #1423 | **+214** | 0 | One test-module hunk in `emit/lower.rs`; both tests kept. [details](https://github.com/Marvisak/VIctory/pull/1423#issuecomment-7143665481) | | #1597 (mine) | **+473** | 0 | Stacked on this PR already. | | #1407 | +1 | 0 | Clean. | | #1221 | 0 | 0 | Conflicts in the `v_cndmask_b32` arm. Combined with #1423 it costs 1 program. [details](https://github.com/Marvisak/VIctory/pull/1221#issuecomment-7143666117) | #1423 gained nothing on `main` alone. Its 214 programs need #1067, which is inside this PR. #1130, #1291, #1409 and #995 also conflict with this PR in `emit/lower.rs` or `emit/mod.rs`. On `main`, all of their gains are already among this bundle's gains. AI-assisted (Claude Code). No shader names or data are included, per the asset policy.
MamaLeVrai commented 2026-11-24 23:05:46 +00:00 (Migrated from github.com)

Imported from Marvisak/VIctory. Originally posted by MamaLeVrai on 2026-11-24T22:06:48Z.


Heads moved. #306 got a new commit from its author (e3067ae) that handles the validator 1.7 case itself, so the bundle's own commit for it (119b763) is reverted and the new head is merged. The stack was brought forward by merging, in order: #1402 7e7c5be, #1492 ea33d12, #1504 56f7da3, #1511 4ac9e91, #1589 60fa5d7, #1593 5996b87, #1644 8bf13c4, #1632 8de76a2, #1638 ab4a6e6. Each passes clippy (both runs) and cargo test --workspace (two runs) here; test counts are unchanged. Any measurement on the earlier heads (sinan-cmyk's offline counts, for example) was made before #306's new commit. The loader bundle #1456 also has new heads of #214 and #324, and bundle/all is refreshed (754 tests).

AI-assisted (Claude Code); no game data.

<!-- greyfinch-sync:Marvisak/VIctory:comment:7145819696 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/pull/1402#issuecomment-7145819696). Originally posted by [MamaLeVrai](https://github.com/MamaLeVrai) on 2026-11-24T22:06:48Z. --- Heads moved. #306 got a new commit from its author (`e3067ae`) that handles the validator 1.7 case itself, so the bundle's own commit for it (`119b763`) is reverted and the new head is merged. The stack was brought forward by merging, in order: #1402 `7e7c5be`, #1492 `ea33d12`, #1504 `56f7da3`, #1511 `4ac9e91`, #1589 `60fa5d7`, #1593 `5996b87`, #1644 `8bf13c4`, #1632 `8de76a2`, #1638 `ab4a6e6`. Each passes clippy (both runs) and `cargo test --workspace` (two runs) here; test counts are unchanged. Any measurement on the earlier heads (sinan-cmyk's offline counts, for example) was made before #306's new commit. The loader bundle #1456 also has new heads of #214 and #324, and `bundle/all` is refreshed (754 tests). AI-assisted (Claude Code); no game data.
upstream-sync closed this pull request 2026-11-25 01:06:30 +00:00
Marvisak commented 2026-11-25 01:08:11 +00:00 (Migrated from github.com)

Imported from Marvisak/VIctory. Originally posted by Marvisak on 2026-11-25T00:39:52Z.


Automated triage for the maintainers. Closing because this pull request re-packages other open pull requests. Each of those is reviewed on its own, so a bundle cannot be merged.

If this is mistaken, reply here with what was missed (or push a change and say so) and it will be looked at again. Thank you for the contribution.

<!-- greyfinch-sync:Marvisak/VIctory:comment:7148747111 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/pull/1402#issuecomment-7148747111). Originally posted by [Marvisak](https://github.com/Marvisak) on 2026-11-25T00:39:52Z. --- Automated triage for the maintainers. Closing because this pull request re-packages other open pull requests. Each of those is reviewed on its own, so a bundle cannot be merged. If this is mistaken, reply here with what was missed (or push a change and say so) and it will be looked at again. Thank you for the contribution.

Pull request closed

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
Marvisak/VIctory!1401
No description provided.