GPU: three opt-in switches (VICTORY_SPLIT_SUBMIT, VICTORY_RELAY_COPY_RUNS, VICTORY_WAVE_ZERO_MASK) and no 4 KiB placement probe that cannot fit #3069

Open
Adriwin06 wants to merge 5 commits from upstream-pr/3069 into main
Adriwin06 commented 2026-11-29 19:52:52 +00:00 (Migrated from github.com)

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by Adriwin06 on 2026-11-29T19:52:52Z.


What it changes

4 small changes of the same kind, one commit each, so each can be reviewed, reverted or left out on its own:

GPU: VICTORY_SPLIT_SUBMIT=N sends a submission as one ExecuteCommandLists per N runs

Off by default. With N > 0 a submission goes to the queue as one
ExecuteCommandLists call per N of its runs (each run with its prelude)
instead of one call for all of them, on both the in-order and the
send-ahead paths, still followed by one signal. The aim, as in foxhound,
is that the card starts on the first runs while the later ones are
still being handed over; not measured on its own here.

Ported from readmet3xt-lab/foxhound@6c67166 (foxhound PR #30, Ingenioeren),
GPL-3.0-or-later.

Relay: VICTORY_RELAY_COPY_RUNS=1 joins adjacent read-back copies into one CopyBufferRegion

Off by default. With VICTORY_RELAY_COPY_RUNS=1 the read-back pieces of
one shadow whose source and destination ranges follow each other are
recorded as one CopyBufferRegion instead of one per piece; pieces with
a hole between them, from another shadow or out of order stay apart.

Test: host::joined_readback_preserves_bytes_order_holes_and_distinct_...

Ported from stellarr-studio/kelvaroq patch 0032, GPL-3.0-or-later.

Pool: no 4 KiB small-placement probe for a texture that cannot fit in 64 KiB

With small placement on, every placed texture was first described with
D3D12_SMALL_RESOURCE_PLACEMENT_ALIGNMENT and asked for its allocation
info, and fell back to the default alignment when the driver refused.
small_alignment_might_fit rules out, before asking, the descriptions
that can never use 4 KiB alignment: buffers, multisampled, non-UNKNOWN
layouts, render targets, depth-stencil, and textures whose one slice is
already larger than 64 KiB (an array or volume is judged by one slice).
The driver still decides every other case, tile rounding included. A
description that was not probed is not compared with the info's
alignment.

Ported from DoubleGhosty/cool_fox@0289d1f (cool_fox PR #158, Xyzstk),
GPL-3.0-or-later.

Shaders: VICTORY_WAVE_ZERO_MASK=1 lowers an identically empty lane mask without a half-wave exchange

Off by default. With VICTORY_WAVE_ZERO_MASK=1 a scalar lane-mask
operation on a mask that is provably false (Bool::FALSE in both halves)
is lowered without the cross-half-wave exchange a wave64 program on a
32-lane host otherwise needs: no lane contributes a bit, so either
dword is zero even when the other half skips the instruction. The
switch changes translations, so it is part of the shader cache's key.

Tests: wave64_tests::only_a_provably_empty_mask_needs_no_exchange_in_a_lane_branch,
shader_cache::tests::every_switch_of_the_translator_is_in_the_key.

Ported from stellarr-studio/kelvaroq patch 0033, GPL-3.0-or-later.

How it was tested

  • GPU and profile: RTX 4070 SUPER, Ryzen 7 5800X. Not measured in the title on these commits by themselves: they come from a fork of mine that carries them with the rest of this set, and the title ran there. What is below is the unit tests on this branch.
  • Before: n/a (no in-title measurement on this branch)
  • After: n/a
  • For shader changes, the wave sizes tested: the unit tests named in each commit (32- and 64-lane programs where they translate both)
  • cargo test passed for the crates it touches:
    • split-submit: yes, cargo test -p victory-gpu --lib -- host::: 212 passed
    • relay-copy-runs: yes, cargo test -p victory-gpu --lib -- host::: 213 passed
    • small-alignment: yes, cargo test -p victory-gpu --lib -- pool::: 28 passed
    • wave-zero-mask: yes, cargo test -p victory-shader --lib -- wave64_tests::only_a_provably: 1 passed
  • cargo clippy --workspace --all-targets --locked: no finding that main does not already have (main has 34 of its own, which is why the Clippy step of CI is red on main itself).
  • cargo xtask policy: no new finding (main fails it on crates/victory-loader/src/heap_sites/frame_users.rs).
  • With all eleven of my pull requests merged together: cargo clippy also with --all-features adds no finding, and cargo test --workspace --locked fails only tests main also fails on this machine: the five shader tests that fail on main here too (WARP's SM 6.2 and the validator) (barycentric_tests::first_half_values_render_on_hardware_and_warp, hw_tests::split_lds_wave32_read_after_read_barrier_coalescing_and_parity, intersect_tests::flat_global_stores_and_atomics_fence_uavs_at_group_barriers_across_waves, rect::tests::rectangles_are_drawn_whole, rect::tests::the_rectangle_stage_is_a_geometry_shader) and xtask's repository_passes_policy (frame_users.rs). 2208 passed, including five that fail on main (three BCPack oracle tests, the menu save race, the shader key test).

Checked for overlap

  • I searched the open pull requests for the same issue and for the files this touches. Related:
    • split-submit: None found for VICTORY_SPLIT_SUBMIT or splitting ExecuteCommandLists.
    • relay-copy-runs: None found for VICTORY_RELAY_COPY_RUNS; #1418 (merged) is the relay this joins copies in.
    • small-alignment: None found; #1543 (merged) made the small-texture blocks this probe feeds. Touches the same alignment line as #3070 (one line to merge: pc.is_none() && small_placement() && small_alignment_might_fit(&d)).
    • wave-zero-mask: None found for VICTORY_WAVE_ZERO_MASK. Its KEYED length conflicts with #3061 (VICTORY_SCALAR_SPLITS out of the key): 46 once both are in.

🤖 Generated with Claude Code

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:issue:5554485413 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/3069). Originally posted by [Adriwin06](https://github.com/Adriwin06) on 2026-11-29T19:52:52Z. --- ## What it changes 4 small changes of the same kind, one commit each, so each can be reviewed, reverted or left out on its own: ### GPU: VICTORY_SPLIT_SUBMIT=N sends a submission as one ExecuteCommandLists per N runs Off by default. With N > 0 a submission goes to the queue as one ExecuteCommandLists call per N of its runs (each run with its prelude) instead of one call for all of them, on both the in-order and the send-ahead paths, still followed by one signal. The aim, as in foxhound, is that the card starts on the first runs while the later ones are still being handed over; not measured on its own here. Ported from readmet3xt-lab/foxhound@6c67166 (foxhound PR #30, Ingenioeren), GPL-3.0-or-later. ### Relay: VICTORY_RELAY_COPY_RUNS=1 joins adjacent read-back copies into one CopyBufferRegion Off by default. With VICTORY_RELAY_COPY_RUNS=1 the read-back pieces of one shadow whose source and destination ranges follow each other are recorded as one CopyBufferRegion instead of one per piece; pieces with a hole between them, from another shadow or out of order stay apart. Test: host::joined_readback_preserves_bytes_order_holes_and_distinct_... Ported from stellarr-studio/kelvaroq patch 0032, GPL-3.0-or-later. ### Pool: no 4 KiB small-placement probe for a texture that cannot fit in 64 KiB With small placement on, every placed texture was first described with D3D12_SMALL_RESOURCE_PLACEMENT_ALIGNMENT and asked for its allocation info, and fell back to the default alignment when the driver refused. small_alignment_might_fit rules out, before asking, the descriptions that can never use 4 KiB alignment: buffers, multisampled, non-UNKNOWN layouts, render targets, depth-stencil, and textures whose one slice is already larger than 64 KiB (an array or volume is judged by one slice). The driver still decides every other case, tile rounding included. A description that was not probed is not compared with the info's alignment. Ported from DoubleGhosty/cool_fox@0289d1f (cool_fox PR #158, Xyzstk), GPL-3.0-or-later. ### Shaders: VICTORY_WAVE_ZERO_MASK=1 lowers an identically empty lane mask without a half-wave exchange Off by default. With VICTORY_WAVE_ZERO_MASK=1 a scalar lane-mask operation on a mask that is provably false (Bool::FALSE in both halves) is lowered without the cross-half-wave exchange a wave64 program on a 32-lane host otherwise needs: no lane contributes a bit, so either dword is zero even when the other half skips the instruction. The switch changes translations, so it is part of the shader cache's key. Tests: wave64_tests::only_a_provably_empty_mask_needs_no_exchange_in_a_lane_branch, shader_cache::tests::every_switch_of_the_translator_is_in_the_key. Ported from stellarr-studio/kelvaroq patch 0033, GPL-3.0-or-later. ## How it was tested - GPU and profile: RTX 4070 SUPER, Ryzen 7 5800X. Not measured in the title on these commits by themselves: they come from a fork of mine that carries them with the rest of this set, and the title ran there. What is below is the unit tests on this branch. - Before: n/a (no in-title measurement on this branch) - After: n/a - For shader changes, the wave sizes tested: the unit tests named in each commit (32- and 64-lane programs where they translate both) - `cargo test` passed for the crates it touches: - split-submit: yes, `cargo test -p victory-gpu --lib -- host::`: 212 passed - relay-copy-runs: yes, `cargo test -p victory-gpu --lib -- host::`: 213 passed - small-alignment: yes, `cargo test -p victory-gpu --lib -- pool::`: 28 passed - wave-zero-mask: yes, `cargo test -p victory-shader --lib -- wave64_tests::only_a_provably`: 1 passed - `cargo clippy --workspace --all-targets --locked`: no finding that main does not already have (main has 34 of its own, which is why the Clippy step of CI is red on main itself). - `cargo xtask policy`: no new finding (main fails it on crates/victory-loader/src/heap_sites/frame_users.rs). - With all eleven of my pull requests merged together: `cargo clippy` also with `--all-features` adds no finding, and `cargo test --workspace --locked` fails only tests main also fails on this machine: the five shader tests that fail on main here too (WARP's SM 6.2 and the validator) (barycentric_tests::first_half_values_render_on_hardware_and_warp, hw_tests::split_lds_wave32_read_after_read_barrier_coalescing_and_parity, intersect_tests::flat_global_stores_and_atomics_fence_uavs_at_group_barriers_across_waves, rect::tests::rectangles_are_drawn_whole, rect::tests::the_rectangle_stage_is_a_geometry_shader) and xtask's repository_passes_policy (frame_users.rs). 2208 passed, including five that fail on main (three BCPack oracle tests, the menu save race, the shader key test). ## Checked for overlap - [x] I searched the open pull requests for the same issue and for the files this touches. Related: - split-submit: None found for VICTORY_SPLIT_SUBMIT or splitting ExecuteCommandLists. - relay-copy-runs: None found for VICTORY_RELAY_COPY_RUNS; #1418 (merged) is the relay this joins copies in. - small-alignment: None found; #1543 (merged) made the small-texture blocks this probe feeds. Touches the same alignment line as #3070 (one line to merge: `pc.is_none() && small_placement() && small_alignment_might_fit(&d)`). - wave-zero-mask: None found for VICTORY_WAVE_ZERO_MASK. Its KEYED length conflicts with #3061 (VICTORY_SCALAR_SPLITS out of the key): 46 once both are in. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Copilot commented 2026-11-29 19:57:24 +00:00 (Migrated from github.com)

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by Copilot on 2026-11-29T19:57:24Z.

Code review location: crates/victory-gpu/src/host.rs; line 9236

@@ -9169,7 +9231,13 @@ impl Host {
                 lists.push(Some(behind));
                 firsts.iter_mut().for_each(|first| *first += 1);
             }
-            let cuts: Vec<usize> = parts.iter().filter_map(|&n| firsts.get(n).copied()).collect();
+            let mut cuts: Vec<usize> = parts.iter().filter_map(|&n| firsts.get(n).copied()).collect();
+            if let n @ 1.. = split_submit() {
+                cuts.extend(firsts.iter().copied().skip(n).step_by(n));

When VICTORY_SUBMIT_SPLIT=1 activates the sender thread, submit returns before reaching the new split logic, and send_published still builds cuts only from h.parts (host.rs:8582). As a result, four published runs with VICTORY_SPLIT_SUBMIT=2 and no part boundaries still use one ExecuteCommandLists call. Apply the N-run boundaries in send_published too, keeping each prelude with its run and preserving the single final signal.

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:review-comment:4732926714 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/3069#discussion_r4732926714). Originally posted by [Copilot](https://github.com/apps/copilot-pull-request-reviewer) on 2026-11-29T19:57:24Z. **Code review location:** `crates/victory-gpu/src/host.rs`; line 9236 ~~~~diff @@ -9169,7 +9231,13 @@ impl Host { lists.push(Some(behind)); firsts.iter_mut().for_each(|first| *first += 1); } - let cuts: Vec<usize> = parts.iter().filter_map(|&n| firsts.get(n).copied()).collect(); + let mut cuts: Vec<usize> = parts.iter().filter_map(|&n| firsts.get(n).copied()).collect(); + if let n @ 1.. = split_submit() { + cuts.extend(firsts.iter().copied().skip(n).step_by(n)); ~~~~ --- When `VICTORY_SUBMIT_SPLIT=1` activates the sender thread, `submit` returns before reaching the new split logic, and `send_published` still builds cuts only from `h.parts` (`host.rs:8582`). As a result, four published runs with `VICTORY_SPLIT_SUBMIT=2` and no part boundaries still use one `ExecuteCommandLists` call. Apply the N-run boundaries in `send_published` too, keeping each prelude with its run and preserving the single final signal.
copilot-pull-request-reviewer[bot] commented 2026-11-29 19:57:24 +00:00 (Migrated from github.com)

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by copilot-pull-request-reviewer[bot] on 2026-11-29T19:57:24Z.

Review: COMMENTED


The sender-thread path bypasses the new N-run split logic, so published runs without part boundaries still execute in one call rather than honoring VICTORY_SPLIT_SUBMIT.

1 open issue
What changed in this PR

This PR adds optional GPU submission, read-back, and shader optimizations, and avoids unnecessary small-texture placement queries.

Changes:

  • Adds opt-in switches for splitting submissions by run count and combining adjacent relay read-back copies.
  • Skips 4 KiB alignment probes for resource descriptions that cannot qualify.
  • Adds opt-in zero-mask shader lowering, includes the switch in shader cache keys, and adds targeted tests.
File Description
crates/​victory-shader/​src/​emit/​wave64_tests.rs Tests empty-mask lowering in divergent wave64 execution.
crates/​victory-shader/​src/​emit/​lower.rs Adds the opt-in zero-mask lowering shortcut.
crates/​victory-gpu/​src/​shader_cache.rs Includes the zero-mask switch in shader cache keys.
crates/​victory-gpu/​src/​pool.rs Filters out ineligible small-alignment probes.
crates/​victory-gpu/​src/​host.rs Adds submission splitting, adjacent read-back joining, and copy-joining tests.

Review effort: Balanced

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:review:6104536875 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/3069#pullrequestreview-6104536875). Originally posted by [copilot-pull-request-reviewer[bot]](https://github.com/apps/copilot-pull-request-reviewer) on 2026-11-29T19:57:24Z. **Review:** COMMENTED --- <!-- ccr-overview-v2 --> ### 🟡 Changes recommended The sender-thread path bypasses the new N-run split logic, so published runs without part boundaries still execute in one call rather than honoring VICTORY_SPLIT_SUBMIT. <details open> <summary><strong>1 open issue</strong></summary> - <picture><source media="(prefers-color-scheme: dark)" srcset="https://github.githubassets.com/static/images/icons/copilot-code-review/medium-v2-dark.svg"><source media="(prefers-color-scheme: light)" srcset="https://github.githubassets.com/static/images/icons/copilot-code-review/medium-v2-light.svg"><img src="https://github.githubassets.com/static/images/icons/copilot-code-review/medium-v2-light.png" alt="Medium severity" width="62" height="18" align="texttop"></picture> [Apply split-submit boundaries in the sender thread](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/3069#discussion_r4732926714) · New </details> <details> <summary><strong>What changed in this PR</strong></summary> This PR adds optional GPU submission, read-back, and shader optimizations, and avoids unnecessary small-texture placement queries. **Changes:** - Adds opt-in switches for splitting submissions by run count and combining adjacent relay read-back copies. - Skips 4 KiB alignment probes for resource descriptions that cannot qualify. - Adds opt-in zero-mask shader lowering, includes the switch in shader cache keys, and adds targeted tests. | File | Description | | ---- | ----------- | | `crates/​victory-shader/​src/​emit/​wave64_tests.rs` | Tests empty-mask lowering in divergent wave64 execution. | | `crates/​victory-shader/​src/​emit/​lower.rs` | Adds the opt-in zero-mask lowering shortcut. | | `crates/​victory-gpu/​src/​shader_cache.rs` | Includes the zero-mask switch in shader cache keys. | | `crates/​victory-gpu/​src/​pool.rs` | Filters out ineligible small-alignment probes. | | `crates/​victory-gpu/​src/​host.rs` | Adds submission splitting, adjacent read-back joining, and copy-joining tests. | </details> <sub>Review effort: Balanced</sub>
dyshay commented 2026-11-29 20:47:01 +00:00 (Migrated from github.com)

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by dyshay on 2026-11-29T20:47:01Z.


Merged into our fork's integration branch for testing (dyshay/VIctory-NVIDIA, branch janus-prs). I read the full diff first: no network access, process spawning, binaries, build or dependency changes, or game data. It builds with --profile diag --features diagnostics, and the CPU tests of the touched crates pass. A run on an RTX 4090 is queued (Series S with ray tracing, DLSS Quality). Frame times will follow here.

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:comment:7262354242 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/3069#issuecomment-7262354242). Originally posted by [dyshay](https://github.com/dyshay) on 2026-11-29T20:47:01Z. --- Merged into our fork's integration branch for testing ([dyshay/VIctory-NVIDIA](https://github.com/dyshay/VIctory-NVIDIA/tree/janus-prs), branch `janus-prs`). I read the full diff first: no network access, process spawning, binaries, build or dependency changes, or game data. It builds with `--profile diag --features diagnostics`, and the CPU tests of the touched crates pass. A run on an RTX 4090 is queued (Series S with ray tracing, DLSS Quality). Frame times will follow here.
madvillain91 commented 2026-11-29 23:39:10 +00:00 (Migrated from github.com)

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by madvillain91 on 2026-11-29T23:39:10Z.


System Information:

  • GPU: NVIDIA GeForce RTX 3070 Ti 8GB
  • Windows 11 Pro, Build 26300.9711
  • Executable: victory-exp.exe

Config Used:
VICTORY_SPLIT_SUBMIT=1
VICTORY_RELAY_COPY_RUNS=1
VICTORY_WAVE_ZERO_MASK=1

Summary of Test Session:

  • Textures: "OK tier"—textures loaded and displayed correctly, no pop-in or missing assets observed.
  • FPS: Low, static at 12 FPS across the session (no improvement from previous test).
  • Stability: No crashes or obvious visual glitches during gameplay.
  • Startup: All three opt-in switches confirmed from environment, and recognized in game logs.

Technical Log Evidence:

  • INFO victory_gpu::host: host device on the card ...
  • No "fail," "error," or related crash/warning lines found for these switches.
  • Multiple pipeline creation warnings show “a pipeline creation method that is not implemented ... the title goes without this pipeline,” but these were not observed to impact gameplay stability or asset display.

Conclusion:

  • The three switches activate cleanly and do not introduce instability.
  • No performance improvement (12 FPS in open world), but no performance or stability regression either.
  • Textures/visuals are stable.
  • Log confirms all PR #3069 switches are functional and recognized at runtime.

Attachment:
victory-nvidia-play-20261129-232440-15564.log

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:comment:7264622813 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/3069#issuecomment-7264622813). Originally posted by [madvillain91](https://github.com/madvillain91) on 2026-11-29T23:39:10Z. --- System Information: - GPU: NVIDIA GeForce RTX 3070 Ti 8GB - Windows 11 Pro, Build 26300.9711 - Executable: victory-exp.exe Config Used: VICTORY_SPLIT_SUBMIT=1 VICTORY_RELAY_COPY_RUNS=1 VICTORY_WAVE_ZERO_MASK=1 Summary of Test Session: - Textures: "OK tier"—textures loaded and displayed correctly, no pop-in or missing assets observed. - FPS: Low, static at 12 FPS across the session (no improvement from previous test). - Stability: No crashes or obvious visual glitches during gameplay. - Startup: All three opt-in switches confirmed from environment, and recognized in game logs. Technical Log Evidence: - INFO victory_gpu::host: host device on the card ... - No "fail," "error," or related crash/warning lines found for these switches. - Multiple pipeline creation warnings show “a pipeline creation method that is not implemented ... the title goes without this pipeline,” but these were not observed to impact gameplay stability or asset display. Conclusion: - The three switches activate cleanly and do not introduce instability. - No performance improvement (12 FPS in open world), but no performance or stability regression either. - Textures/visuals are stable. - Log confirms all PR #3069 switches are functional and recognized at runtime. Attachment: [victory-nvidia-play-20261129-232440-15564.log](https://github.com/user-attachments/files/35586055/victory-nvidia-play-20261129-232440-15564.log)
Adriwin06 commented 2026-11-30 00:54:40 +00:00 (Migrated from github.com)

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by Adriwin06 on 2026-11-30T00:54:40Z.

Code review location: crates/victory-gpu/src/host.rs; line 9236

@@ -9169,7 +9231,13 @@ impl Host {
                 lists.push(Some(behind));
                 firsts.iter_mut().for_each(|first| *first += 1);
             }
-            let cuts: Vec<usize> = parts.iter().filter_map(|&n| firsts.get(n).copied()).collect();
+            let mut cuts: Vec<usize> = parts.iter().filter_map(|&n| firsts.get(n).copied()).collect();
+            if let n @ 1.. = split_submit() {
+                cuts.extend(firsts.iter().copied().skip(n).step_by(n));

Good catch, fixed in 339a923c: the cuts are now made in one place, send_cuts, which submit's send-ahead and in-order paths and send_published (the VICTORY_SUBMIT_SPLIT=1 sender thread) all use. It cuts at each part's first run and every N-th run, keeps each prelude with its run, puts what follows the last run in the last call, and keeps the single final signal. With the switch off the cuts are the parts' alone, as before. Regression tests: host::send_cuts_tests (four runs by two with no parts give two calls).

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:review-comment:4734026061 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/3069#discussion_r4734026061). Originally posted by [Adriwin06](https://github.com/Adriwin06) on 2026-11-30T00:54:40Z. **Code review location:** `crates/victory-gpu/src/host.rs`; line 9236 ~~~~diff @@ -9169,7 +9231,13 @@ impl Host { lists.push(Some(behind)); firsts.iter_mut().for_each(|first| *first += 1); } - let cuts: Vec<usize> = parts.iter().filter_map(|&n| firsts.get(n).copied()).collect(); + let mut cuts: Vec<usize> = parts.iter().filter_map(|&n| firsts.get(n).copied()).collect(); + if let n @ 1.. = split_submit() { + cuts.extend(firsts.iter().copied().skip(n).step_by(n)); ~~~~ --- Good catch, fixed in 339a923c: the cuts are now made in one place, `send_cuts`, which `submit`'s send-ahead and in-order paths and `send_published` (the `VICTORY_SUBMIT_SPLIT=1` sender thread) all use. It cuts at each part's first run and every N-th run, keeps each prelude with its run, puts what follows the last run in the last call, and keeps the single final signal. With the switch off the cuts are the parts' alone, as before. Regression tests: `host::send_cuts_tests` (four runs by two with no parts give two calls).
This pull request cannot be merged automatically due to conflicts.
Merge manually to resolve the conflicts.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin 'upstream-pr/3069:upstream-pr/3069'
git switch 'upstream-pr/3069'

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch 'main'
git merge --no-ff 'upstream-pr/3069'
git switch 'upstream-pr/3069'
git rebase 'main'
git switch 'main'
git merge --ff-only 'upstream-pr/3069'
git switch 'upstream-pr/3069'
git rebase 'main'
git switch 'main'
git merge --no-ff 'upstream-pr/3069'
git switch 'main'
git merge --squash 'upstream-pr/3069'
git switch 'main'
git merge --ff-only 'upstream-pr/3069'
git switch 'main'
git merge 'upstream-pr/3069'
git push origin 'main'
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
trustno1-coder/VIctory-NVIDIA!3069
No description provided.