GPU: wave64 compute the translator sized runs on 32-lane hosts (stacked on #1922 and #233) #2651

Open
github-bot wants to merge 30 commits from github-bot/gh-2651 into main AGit
Owner

@⁠Pierrot1398 on GitHub · 2026-11-25 17:34 UTC · original
Pierrot1398:gpu/wave64-sized-compute → main · +1968 −135 · 20 files · 30 commits · open

From a tester working with Claude (AI-assisted); measured on my own machine.

Stacked on #1922 and #233. The first commit merges both into current main (13f91ca); only the last commit is new. They are open separately and refuse each other's work when merged together, so this is the piece that makes them combine.

Problem

Together, #1922 and #233 drop a wave64 compute program that would run correctly:

  • #1922 refuses a console wave64 compute program on a host without 64-lane waves (NVIDIA: 32..32) unless its DXIL declares a wave size the host runs.
  • #233 translates console wave64 compute programs for 32-lane hosts. Programs whose lanes read the other half run as two halves or in the console flow, with WaveSize(32). Programs it found to read no lane of the other half get no wave size, because they run per lane at any size.

So #1922 refuses exactly the second kind, which #233 had shown to be safe.

On an RTX 5060 Ti with both PRs, one such program (052a2316a03b9ba1) was dropped on every loading frame ("dropped 1.0/frame without a host pipeline"), and the run ended at the title's watchdog +0x23cf683 (#1118) while the intro prestreamed.

Change

wave_lanes_unsupported (pipeline/host.rs): an unsized console wave64 compute program is kept on a host without 64-lane waves.

  • Mesh programs, which #233 does not analyse, are still refused.
  • VICTORY_WAVE64_STRICT=1 restores the refusal for compute too, in case a hang shows up. It's documented in the README's table.
  • #1922's tests now state the new rule.

The merge commit also resolves lower.rs against main:

  • main's new uniform_join and quad-helper comment sit next to #233's console_read_lane and console-flow note.
  • main's new lane-mask join propagates lane_bit's refusal, which #233 made fallible.
  • Two of main's new tests pass #233's lowering target and console_cf fields.

Measured

RTX 5060 Ti 8 GB, driver 621.24, Windows 11 26300, on a tree with the other open NVIDIA fixes:

  • 052a2316… runs ("dropped 0 without a host pipeline").
  • That run no longer stopped at +0x23cf683 before running out of host memory on this 13.9 GB machine.
  • translate --host-lanes 32-32: 2,330 of 2,679 compute programs and 8,765 of 8,765 mesh programs emitted.

On this branch alone:

  • cargo test -p victory-gpu --lib: 197 passed. The 2 failures are the capped-heap tests, which fail on main on this card (fixed by #1779, on current main in #2650).
  • cargo clippy -p victory-gpu -- -D warnings and cargo xtask policy are clean.

🤖 Generated with Claude Code

https://claude.ai/code/session_011f6R3kMoarujHzzA1AvSBb

**@⁠Pierrot1398** on GitHub · 2026-11-25 17:34 UTC · [original](https://github.com/Marvisak/VIctory/pull/2651) `Pierrot1398:gpu/wave64-sized-compute` → `main` · +1968 −135 · 20 files · 30 commits · open *From a tester working with Claude (AI-assisted); measured on my own machine.* **Stacked on #1922 and #233.** The first commit merges both into current `main` (`13f91ca`); only the last commit is new. They are open separately and refuse each other's work when merged together, so this is the piece that makes them combine. ## Problem Together, #1922 and #233 drop a wave64 compute program that would run correctly: - #1922 refuses a console wave64 compute program on a host without 64-lane waves (NVIDIA: 32..32) unless its DXIL declares a wave size the host runs. - #233 translates console wave64 compute programs for 32-lane hosts. Programs whose lanes read the other half run as two halves or in the console flow, with `WaveSize(32)`. Programs it found to read **no lane of the other half** get no wave size, because they run per lane at any size. So #1922 refuses exactly the second kind, which #233 had shown to be safe. On an RTX 5060 Ti with both PRs, one such program (`052a2316a03b9ba1`) was dropped on every loading frame ("dropped 1.0/frame without a host pipeline"), and the run ended at the title's watchdog `+0x23cf683` (#1118) while the intro prestreamed. ## Change `wave_lanes_unsupported` (`pipeline/host.rs`): an unsized console wave64 **compute** program is kept on a host without 64-lane waves. - Mesh programs, which #233 does not analyse, are still refused. - `VICTORY_WAVE64_STRICT=1` restores the refusal for compute too, in case a hang shows up. It's documented in the README's table. - #1922's tests now state the new rule. The merge commit also resolves `lower.rs` against `main`: - `main`'s new `uniform_join` and quad-helper comment sit next to #233's `console_read_lane` and console-flow note. - `main`'s new lane-mask join propagates `lane_bit`'s refusal, which #233 made fallible. - Two of `main`'s new tests pass #233's lowering `target` and `console_cf` fields. ## Measured RTX 5060 Ti 8 GB, driver 621.24, Windows 11 26300, on a tree with the other open NVIDIA fixes: - `052a2316…` runs ("dropped 0 without a host pipeline"). - That run no longer stopped at `+0x23cf683` before running out of host memory on this 13.9 GB machine. - `translate --host-lanes 32-32`: 2,330 of 2,679 compute programs and 8,765 of 8,765 mesh programs emitted. On this branch alone: - `cargo test -p victory-gpu --lib`: 197 passed. The 2 failures are the capped-heap tests, which fail on `main` on this card (fixed by #1779, on current `main` in #2650). - `cargo clippy -p victory-gpu -- -D warnings` and `cargo xtask policy` are clean. 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_011f6R3kMoarujHzzA1AvSBb
How one console wave64 runs as two 32-lane host waves under our
per-lane structurisation, what has to cross halves, why exchanges need
uniform regions, how to test on a machine with both GPU kinds, and the
order of the remaining steps.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
A compute shader that reads other lanes declares the console's wave
size. NVIDIA runs waves of 32 lanes only (D3D12 reports 32..32), so a
console wave64 program of that kind was refused at pipeline creation
and its dispatches were dropped without saying why.

The host's wave range (D3D12 options 1) now goes into translation as
`emit::Target`. A shader that needs a wave size the host does not run
stops there with the reason, the shader cache keys entries by the range,
and the run logs the range once with a warning when 64-lane waves are
missing. `victory translate --host-lanes 32-32` counts these shaders
without a GPU.

This is the first step towards running these programs as two 32-lane
waves on such hosts.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
`emit::host::Host::on(name)` and `VICTORY_ADAPTER` choose a hardware
adapter by part of its description, and `adapters()` lists them, so a
machine with an AMD and an NVIDIA GPU can run a test on each: the
native wave64 form as the reference on the one with 64-lane waves, the
32-lane form on the other. A new test checks on every adapter that a
wave64 program reading other lanes translates exactly when the adapter
runs 64-lane waves, and that the adapter then takes it.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
On a host without 64-lane waves (NVIDIA), a console wave64 compute
program whose lanes read only their own 32-lane half (DPP, ds_swizzle)
now declares WaveSize(32) instead of failing to translate. It must
read no mask whole, test no bit of a mask held as a number, have no
whole-wave sections and use no LDS. Every other wave64 program that
depends on the lane layout still stops with the reason from the
previous step. Mask ballots, wave reductions and lane-bit tests refuse
the split form as a safety net.

New GPU tests run hand-assembled programs on every hardware adapter
and check each lane against the console's layout. On an RTX 5070 the
split form is exact for 1-D groups of 32, 64 and 128 threads and for
3-D groups up to 8x8x4. A Radeon iGPU runs the same programs natively
as the reference, and a read across halves (v_readlane 40) still needs
64-lane waves.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
A console wave64 program that reads masks whole or lanes of the other
half now runs on a host without 64-lane waves when its group is one
console wave (64 threads or fewer, no LDS). It runs as the console
does ("console flow"):

- `structure::structure_console` never resolves mask joins from what
  the lanes arriving know (every lane arrives); `Structured::execs`
  gives each vector instruction's EXEC bit.
- Vector instructions are guarded by EXEC. Branches are the console's
  s_cbranch_*: EXEC, VCC and mask-operation SCC tests are the console
  wave's, from both halves' ballots exchanged through group-shared
  memory between group barriers, which every thread reaches since both
  halves branch alike.
- Masks read whole are the exchanged ballots. v_readlane and
  v_readfirstlane read the owning half; v_writelane, v_mbcnt and mask
  bit tests use the console lane.

The per-lane form is tried first; a program that needs the console
flow is lowered again from the console structure.

GPU tests on an RTX 5070 are exact against the console: s_bcnt1 over
both halves (64, 48 and 32 threads), v_readlane 40, an exchange inside
a branch only the lower half takes, and a loop the halves leave at
different iterations with a lane read in each. The last one shows that
the per-lane form, which hosts with 64-lane waves get, is wrong for it
(on a Radeon iGPU): noted in docs/wave64-on-wave32.md, not changed.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
A wave64 program split over two 32-lane waves took the DPP row index
from the host lane, so the upper half (console rows 2 and 3) read
row_mask bits 0 and 1. The row now comes from the console lane there.
New test: v_mov_b32_dpp with row_mask:0x3 writes lanes 0 to 31 only,
exact on an RTX 5070 (split) and a Radeon iGPU (native).

Found in review against #189 and #192, which both get this right.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
v_readfirstlane reads the console wave's first lane. A wave64 program
with DPP or ds_swizzle and a v_readfirstlane was split into two 32-lane
waves, where the upper half read its own first lane: with all 64 lanes
active, lanes 32 to 63 got lane 32's value where the console gives
lane 0's (measured on an RTX 5070).

Such programs now take the console flow, which reads the first lane in
EXEC of the whole console wave (groups of at most 64 threads, no LDS),
or stop with the reason as they did before the split existed.

New test, exact on an RTX 5070 and a Radeon iGPU. Found by running the
same program against #192, which has the same result on both adapters.

Co-Authored-By: Claude Fable 5.2 <[email protected]>
The comment on the console flow's SCC said both write the old EXEC to
their scalar destination. Only saveexec does; wrexec writes the new EXEC
to both, so either write names the mask SCC tests.

Co-Authored-By: Claude Fable 5.2 <[email protected]>
Main lowers a descriptor each lane holds by the path it took
(Source::LanePhi, #566) as a DXIL phi over the edges into the join. In
the console flow every lane reaches the join by the edge the wave took,
so the phi gave every lane that edge's descriptor, silently: the joined
if/else program of the waterfall tests, lowered in the console flow,
sampled the second texture in all 32 lanes where lanes 0-15 hold the
first (RTX 5070; the module passes dxil.dll).

The console flow now stops with its own reason there. A program that
takes the console flow only for its lane reads keeps the per-lane form
where that translates; one that needs it for the host's wave size stops
with the reason.

Found on the testers' branch, where #566 and the console flow first met.

Co-Authored-By: Claude Fable 5.2 <[email protected]>
The GPU tests walk every hardware adapter and expect each to take the
console's wave-size-dependent programs in one form or the other. An
integrated GPU with narrower waves (an Intel UHD reporting 16-16 was
reported on #439) runs none of them: the translator refuses, correctly,
and 30 tests failed there for expecting a pipeline. The list now leaves
such an adapter out, by its wave range, as it already left out the
software renderer by name. An adapter no SM 6.6 device can be made on
stays listed, for its user to skip as before.

Checked on an RTX 5070 (32-32) and a Radeon iGPU (32-64): both still
listed, each_adapter_gets_what_it_runs and two split tests exact. Not
checked on a 16-lane adapter (none here).

Co-Authored-By: Claude Fable 5.2 <[email protected]>
A console mesh or compute program written for 64-lane waves reads lanes
and wave-wide masks as the 64-lane wave has them. Run as 32-lane waves
(NVIDIA's D3D12 range is 32..32) such programs hang the GPU in the world:
the device is removed as hung after a 2 s timeout, at a dispatch of one
of them, every run. Their pipelines are now refused there, so their draws
and dispatches are dropped instead of hanging the host.

Vertex and pixel programs run per lane and are kept; hosts with 64-lane
waves are unchanged.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Console wave64 compute programs whose emitted DXIL declares no PSV0
wave-lane range (or an upper bound wider than the host) can still rely
on 64-lane wave semantics and hang 32-lane hosts.

On hosts with max wave lanes < 64, refuse console wave64 compute
programs unless the emitted DXIL PSV0 explicitly bounds the wave size
within the host's supported range (max_lanes <= host_max), preserving
Wave32-split compute translations (PSV0 WaveSize(32)) and 64-lane hosts
while refusing unconstrained wave64 compute like wave64 mesh.
The tests that walk every hardware adapter (split_tests, the lane-read
loop tests, each_adapter_gets_what_it_runs) opened each one by name, so
neither VICTORY_ADAPTER nor VICTORY_WARP=1 kept them off a card: a run
meant for the software renderer still dispatched on every GPU in the
machine.

The adapter list now honours them. VICTORY_TEST_ADAPTERS=<part of a
name>[,<part>...] lists only the adapters whose description holds one
of the parts; without it VICTORY_ADAPTER=<part> does the same, so one
setting keeps a whole shader test run on one adapter; VICTORY_WARP=1
lists none. An adapter that is left out is not opened at all.

Checked on a machine with an RTX 5070 and a Radeon iGPU, with two of
these tests: VICTORY_ADAPTER=Radeon and VICTORY_TEST_ADAPTERS=radeon
run on the Radeon only; VICTORY_WARP=1 and a name that matches nothing
run on no adapter.

Co-Authored-By: Claude Fable 5.2 <[email protected]>
Conflicts were where main's write marks (`emit::Options`, `emit_with`,
`translate_with`, `Parts::view_marks`) and its warm-up (`translate
--cache`, `host_shader` returning whether the entry was cached) met the
branch's `Target`:

- emit: `Options` gains `target` (default `Target::ANY`), so main's
  `emit_with` and `translate_with` keep their signatures; `emit(..,
  target)` and `translate_for(c, target)` stay as they were and fill it
  in. `Parts` has both `target` and `view_marks`. Main's retry with
  `structure::killing` is kept as it is.
- shader cache: `host_shader(container, target)` translates with main's
  write marks for `target` and keeps main's (result, cached) pair; the
  branch's key function is renamed `host_key`, since main now has a
  `key` for the build.
- `translate --cache` (new on main) asks `shader_cache::host_target()`,
  which is what a run's `pipeline::translate` uses, so warm entries are
  keyed as the run looks them up; `--cache` refuses `--host-lanes`.
- `translate` (the census) passes its target with main's `view_marks:
  true`; `--pipelines` documents both the host's wave sizes and main's
  pipeline library.
- victory-gpu `Host` keeps both `target` and main's `heap_atomics64`.
- The `Parts` and `emit` call sites main added (the `fuses_fmad` probe
  in `emit/host.rs` and tests in bvh, memory, semantics, stride,
  synthetic, valu and `emit::tests`) pass `Target::ANY`.

Co-Authored-By: Claude Fable 5.2 <[email protected]>
Main's newer lowering is kept as it is around the console flow: the
waterfall loop's `v_readfirstlane_b32` and the spilled-SGPR
`v_readlane_b32` keep their arms before the console-flow ones, the
helper-lane read stays in the per-lane `v_readfirstlane_b32`, and
`lane_bit_of`, `mask_number`, the heap and view guards and the write
marks are untouched. Resolutions worth knowing:

- `mask_dword`: the console flow's exchanged ballot comes first, then
  the split form's refusal, then main's `mask_number` for masks holding
  lanes elsewhere (per-lane form only: in the console flow every lane is
  at the block that writes the mask).
- `emit`: one `parts(st, res, console_cf)` closure serves the per-lane
  pass, the `CONSOLE_FLOW` retry with `structure_console`, and main's
  retry with `structure::killing` (pixel discards; never both).
- `structure`: `structure_as(program, helpers, console)` behind
  `structure`, `killing` and `structure_console`; `Structured` has both
  `execs` and main's `restored` / `discards`.
- Test host: `Host::new` takes `VICTORY_ADAPTER` first, else main's
  first adapter that is a GPU (so a machine without one still skips);
  `adapters()` and `Host::on` keep their own hardware test.
- Main's per-lane reasoning that does not hold where the wave takes the
  branches is switched off in the console flow: `never_taken` and the
  branch conditions `live_edges` collects (a lane comes along an edge
  whatever its own condition is, and SGPRs are the wave's). The console
  flow fills phis as it did before the merge.
- Main's 16-bit whole-wave section (`Shape::Half`) reduces over the host
  wave and reads lane `hi` of it: refused in a program split in halves,
  as the other reductions are.
- The `Parts` sites main added pass `console_cf: false`.

Co-Authored-By: Claude Fable 5.2 <[email protected]>
Main's `v_cndmask_b32` now takes masks that derive from neither EXEC nor
a compare (`Structured::other`, inline constants) and tests the lane's
bit of the number. In a wave64 program run as two 32-lane waves without
the console flow, `lane_bit` has only the host lane: lanes 32..63 would
test the low word. Guards and branch conditions on such masks already
keep a program out of that form, a select's mask does not, so the merged
code reached `lane_bit`'s debug assertion (and, without assertions, the
wrong bits).

`lane_bit` now returns the refusal instead of asserting. The select then
has no result, and the program stops with that reason if the result is
used.

Co-Authored-By: Claude Fable 5.2 <[email protected]>
A compute program's image_sample or image_sample_b has no valid DXIL
form yet: the module fails validation with "an operation that is
incompatible with the shader stage" (#201). Drivers take such a module
in the per-lane form. In the console flow in two 32-lane halves the
same module also carries group barriers inside its branches and loops,
and a title run on an RTX 4070 lost its device in a submission of two
of them (ptfx_CS_lightAtlas_Sprite and _Trail, reported on #233 from
fxceless/victory-gta6@e9765a7). That is the best-supported reading,
not a proven cause.

On a host without 64-lane waves such a program now stops, by name,
with "an implicit-derivative sample in the console flow on a host
without 64-lane waves". The per-lane form and hosts with 64-lane waves
are unchanged.

Offline over the title's shader pack (local title data, CPU only,
counts only; 32-lane host): exactly 12 compute programs change, all from
"emitted, fails validation" to this refusal; none that validates is
lost. Both programs named in the report and the one tied to an earlier
RTX 3080 report are among them. None of the 12 ran on a 32-lane card
before this stack.

Test (CPU only, no device): emit::tests::
implicit_samples_stop_the_console_flow_in_halves; it fails with the
guard disabled.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
A wave64 program that restores EXEC dword by dword from a mask
(s_mov_b32 exec_lo, s12; s_mov_b32 exec_hi, s13) leaves the structure
pass holding the mask as a number that is known only as the mask's own
dword. With console lanes the lowering followed that in a circle until
the stack ran out, which ends the whole process: a translator run, or
the runtime translating a title's shader. Reproduced at this level after
the merge with main 940d32f with the test below (stack overflow).

The opaque-mask arm now stops with "an opaque lane mask" when it meets
the mask it is already reading, as #439 has done since f12df1e. Test
taken from there: a_mask_copied_dword_by_dword_stops_instead_of_recursing.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: GPT-6.2 Sol (Codex) <[email protected]>
Co-Authored-By: GPT-6.2 Sol (Codex) <[email protected]>
Co-Authored-By: GPT-6.2 Sol (Codex) <[email protected]>
lower.rs: main's new uniform_join and quad-helper comment next to #233's
console_read_lane and console-flow note; main's new lane-mask join
propagates lane_bit's refusal (#233 makes it fallible). Upstream's new
tests pass #233's lowering target and console-flow fields.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_011f6R3kMoarujHzzA1AvSBb
#1922 refuses every console wave64 compute program on a host without
64-lane waves unless its DXIL declares a wave size the host runs. With #233
the translator declares WaveSize(32) for programs it splits in halves or
runs in the console flow, and none for programs it found to read no lane of
the other half: those run per lane at any wave size, and #1922 refused them
as well. They are kept now. Mesh programs, which #233 does not analyse, are
still refused; VICTORY_WAVE64_STRICT=1 refuses those compute programs too.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_011f6R3kMoarujHzzA1AvSBb
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 05:11:16 +00:00
Author
Owner

@⁠Bj0rnis on GitHub · 2026-11-25 17:40 UTC · original

Independent Windows 11 + NVIDIA GeForce RTX 5070 Ti (32-lane Blackwell host) + WARP verification of #2651 at 59438221 (clean git merge-tree with origin/main 13f91cae, Rust 1.98.1 MSVC):

  • NVIDIA GeForce RTX 5070 Ti (victory-gpu): cargo test -p victory-gpu --features diagnostics --lib --locked -- --test-threads=1 -> 200 passed, 2 failed, 1 ignored (2.74s; includes the 4 new tests, only the 2 pre-existing #1744 NVIDIA 1M view-heap baseline failures also present on main 13f91cae).
  • WARP (VICTORY_D3D12_WARP=1): 202 passed, 0 failed, 1 ignored (1.71s).
  • Clippy (victory, victory-gpu, victory-shader): --all-targets --locked -- -D warnings -> 0 warnings across all three crates.
  • Asset policy: cargo xtask policy -> 185 files ok.
  • Note on victory-shader tests: hit the pre-existing 0xc0000005 (STATUS_ACCESS_VIOLATION) in emit::memory_tests::heap_direct_texture_reads_mark_their_heap_index on RTX 5070 Ti, which reproduces identically on clean main 13f91cae.

Not tested: live game workload / victory bin tests.

AI-assisted test run and summary.

**@⁠Bj0rnis** on GitHub · 2026-11-25 17:40 UTC · [original](https://github.com/Marvisak/VIctory/pull/2651#issuecomment-7169847594) Independent Windows 11 + NVIDIA GeForce RTX 5070 Ti (32-lane Blackwell host) + WARP verification of #2651 at `59438221` (clean `git merge-tree` with `origin/main` `13f91cae`, Rust 1.98.1 MSVC): - **NVIDIA GeForce RTX 5070 Ti (`victory-gpu`):** `cargo test -p victory-gpu --features diagnostics --lib --locked -- --test-threads=1` -> **200 passed, 2 failed, 1 ignored** (2.74s; includes the 4 new tests, only the 2 pre-existing #1744 NVIDIA 1M view-heap baseline failures also present on `main` `13f91cae`). - **WARP (`VICTORY_D3D12_WARP=1`):** **202 passed, 0 failed, 1 ignored** (1.71s). - **Clippy (`victory`, `victory-gpu`, `victory-shader`):** `--all-targets --locked -- -D warnings` -> **0 warnings** across all three crates. - **Asset policy:** `cargo xtask policy` -> **185 files ok**. - **Note on `victory-shader` tests:** hit the pre-existing `0xc0000005` (`STATUS_ACCESS_VIOLATION`) in `emit::memory_tests::heap_direct_texture_reads_mark_their_heap_index` on RTX 5070 Ti, which reproduces identically on clean `main` `13f91cae`. Not tested: live game workload / `victory` bin tests. AI-assisted test run and summary.
Author
Owner

@⁠kotekompotek on GitHub · 2026-11-25 17:54 UTC · original

Reviewed (partial): the --host-lanes MIN-MAX flag + VICTORY_WAVE64_STRICT is the fuller version of what #2633 attempted (which still has committed merge-conflict markers in its README — this PR subsumes it cleanly). Stacking on #1922/#233 is honest about dependencies. CI green.

**@⁠kotekompotek** on GitHub · 2026-11-25 17:54 UTC · [original](https://github.com/Marvisak/VIctory/pull/2651#issuecomment-7170159146) Reviewed (partial): the `--host-lanes MIN-MAX` flag + `VICTORY_WAVE64_STRICT` is the fuller version of what #2633 attempted (which still has committed merge-conflict markers in its README — this PR subsumes it cleanly). Stacking on #1922/#233 is honest about dependencies. CI green.
Author
Owner

@⁠pickles976 on GitHub · 2026-11-25 20:38 UTC · original

Independent Linux/Wine + NVIDIA Ada validation of exact head 5943822168c6aa94440c5b1dd3e96708471ea323, before applying any local compatibility integrations.

RTX 4060 Laptop GPU (8 GB), NVIDIA 590.48.1, 16 GB system RAM, Wine 11.0, DXVK/vkd3d-proton, Rust 1.98.1 Windows-MSVC cross-build. VICTORY_ADAPTER=nvidia, DXVK_CONFIG='dxgi.hideNvidiaGpu = False'; no desktop display required for these offscreen tests.

Focused check Result
pipeline::host::tests::{emitted_wave_size_checked_against_host_range,wave_lanes_refusal_reports_emitted_and_host_ranges,dxil_wave_lanes_reads_psv0_bounds} 3 passed, 0 failed/ignored
emit::split_tests 12 passed, 0 failed/ignored, 11.56 s

The GPU cases actually dispatched on NVIDIA GeForce RTX 4060 Laptop GPU, not a hardware-absent early return: output reports exact results with split true for DPP row masks, the branch skipped by one half, v_readfirstlane, in-half reads (32/64/128 threads), lane 40 reads, the divergent loop, whole-mask counts (32/48/64 threads), saveexec SCC and all six 3-D layouts. These are numerical synthetic checks, not a pipeline-creation-only result.

Commands, with the usual Wine runner and NVIDIA ICD configured:

cargo +1.98.1 test --locked --target x86_64-pc-windows-msvc -p victory-gpu --lib -- --nocapture --test-threads=1 emitted_wave_size_checked_against_host_range wave_lanes_refusal_reports_emitted_and_host_ranges dxil_wave_lanes_reads_psv0_bounds
cargo +1.98.1 test --locked --target x86_64-pc-windows-msvc -p victory-shader --lib emit::split_tests -- --nocapture --test-threads=1

Limits: not a full-library run, title/world-entry test, runtime shader census, FPS measurement, or long-duration stability result. DXVK logged its CreateDXGIFactory2: Ignoring flags / unknown-interface warnings; this is not a warning-free-log claim. No code change proposed here; adding coverage for the Wine/NVIDIA path to the existing PR.

AI-assisted execution and report: omp / openai-codex/gpt-6-astra.

**@⁠pickles976** on GitHub · 2026-11-25 20:38 UTC · [original](https://github.com/Marvisak/VIctory/pull/2651#issuecomment-7173962703) Independent **Linux/Wine + NVIDIA Ada** validation of exact head `5943822168c6aa94440c5b1dd3e96708471ea323`, before applying any local compatibility integrations. RTX 4060 Laptop GPU (8 GB), NVIDIA 590.48.1, 16 GB system RAM, Wine 11.0, DXVK/vkd3d-proton, Rust 1.98.1 Windows-MSVC cross-build. `VICTORY_ADAPTER=nvidia`, `DXVK_CONFIG='dxgi.hideNvidiaGpu = False'`; no desktop display required for these offscreen tests. | Focused check | Result | |---|---| | `pipeline::host::tests::{emitted_wave_size_checked_against_host_range,wave_lanes_refusal_reports_emitted_and_host_ranges,dxil_wave_lanes_reads_psv0_bounds}` | **3 passed**, 0 failed/ignored | | `emit::split_tests` | **12 passed**, 0 failed/ignored, 11.56 s | The GPU cases actually dispatched on **NVIDIA GeForce RTX 4060 Laptop GPU**, not a hardware-absent early return: output reports exact results with `split true` for DPP row masks, the branch skipped by one half, `v_readfirstlane`, in-half reads (32/64/128 threads), lane 40 reads, the divergent loop, whole-mask counts (32/48/64 threads), saveexec SCC and all six 3-D layouts. These are numerical synthetic checks, not a pipeline-creation-only result. Commands, with the usual Wine runner and NVIDIA ICD configured: ```sh cargo +1.98.1 test --locked --target x86_64-pc-windows-msvc -p victory-gpu --lib -- --nocapture --test-threads=1 emitted_wave_size_checked_against_host_range wave_lanes_refusal_reports_emitted_and_host_ranges dxil_wave_lanes_reads_psv0_bounds cargo +1.98.1 test --locked --target x86_64-pc-windows-msvc -p victory-shader --lib emit::split_tests -- --nocapture --test-threads=1 ``` **Limits:** not a full-library run, title/world-entry test, runtime shader census, FPS measurement, or long-duration stability result. DXVK logged its `CreateDXGIFactory2: Ignoring flags` / unknown-interface warnings; this is not a warning-free-log claim. No code change proposed here; adding coverage for the Wine/NVIDIA path to the existing PR. _AI-assisted execution and report: omp / openai-codex/gpt-6-astra._
Author
Owner

@⁠Marvisak on GitHub · 2026-11-25 22:15 UTC · original

Automated triage for the maintainers.

This PR no longer merges cleanly into main (f3578e3): apps/victory/src/main.rs and crates/victory-shader/src/emit/host.rs conflict with changes that landed on main. It will be reviewed once it is rebased.


Generated by Claude Code

**@⁠Marvisak** on GitHub · 2026-11-25 22:15 UTC · [original](https://github.com/Marvisak/VIctory/pull/2651#issuecomment-7176139324) <!-- victory-triage v1 head=5943822168c6aa94440c5b1dd3e96708471ea323 verdict=needs-rebase at=2026-11-25T22:15:11Z --> Automated triage for the maintainers. This PR no longer merges cleanly into `main` (f3578e3): `apps/victory/src/main.rs` and `crates/victory-shader/src/emit/host.rs` conflict with changes that landed on `main`. It will be reviewed once it is rebased. --- _Generated by [Claude Code](https://claude.ai/code)_
This pull request has changes conflicting with the target branch.
  • apps/victory/src/main.rs
  • crates/victory-shader/src/emit/host.rs
View command line instructions

Manual merge helper

Use this merge commit message when completing the merge manually.

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin '+refs/pull/2651/head:github-bot/gh-2651'
git switch 'github-bot/gh-2651'

Merge

Merge the changes and update on Forgejo.
git switch 'main'
git merge --no-ff 'github-bot/gh-2651'
git switch 'github-bot/gh-2651'
git rebase 'main'
git switch 'main'
git merge --ff-only 'github-bot/gh-2651'
git switch 'github-bot/gh-2651'
git rebase 'main'
git switch 'main'
git merge --no-ff 'github-bot/gh-2651'
git switch 'main'
git merge --squash 'github-bot/gh-2651'
git switch 'main'
git merge --ff-only 'github-bot/gh-2651'
git switch 'main'
git merge 'github-bot/gh-2651'
git push origin 'main'
This discussion has been locked. Commenting is limited to contributors.
No reviewers
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.

Dependencies

No dependencies set

Reference
github/Marvisak--VIctory!2651
No description provided.