Add rebased paired Wave64 fallback for 32-lane hosts #2001

Open
wrq2007 wants to merge 3 commits from upstream-pr/2001 into main
wrq2007 commented 2026-11-29 06:37:21 +00:00 (Migrated from github.com)

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by wrq2007 on 2026-11-29T06:37:21Z.


Summary

This PR rebases the paired Wave64 fallback from #348 onto the current main branch and keeps it as an opt-in last resort for Wave64 compute programs that the upstream wave-wide and LDS fallbacks still cannot lower on 32-lane NVIDIA hosts.

The paired form runs console lane n and lane n + 32 in one host thread, so a 64-lane console wave fits in one 32-lane host wave and cross-lane operations stay inside the thread. This covers the remaining CS_CollectTriangles_Meshlets case (6b82bc7d22016cb5), whose wave-wide form exceeds the host's 32 KiB LDS budget.

Changes include:

  • Paired Wave64 lowering and paired FP32 reduction replay.
  • LDS, FP64, permlane, water-program, and fallback-rescue support.
  • VICTORY_WAVE_PAIRS and VICTORY_WAVE_PAIRS_FP32 cache-key coverage.
  • Focused translator and hardware validation tests.
  • Fix upper-half console-lane caching in DPP row masks and lane writes, uncovered by the hardware validation.

The fallback is disabled by default and runs only after the existing upstream forms fail.

Attribution

This work originates in #348 and the paired implementation from fxceless/victory-fork; original commit authorship is retained. This PR is a rebased integration for the current main, not a claim of sole authorship.

Validation

  • Baseline on current main: 6b82bc7d22016cb5 reports 1 do not translate in a fresh-cache targeted warm-up.
  • cargo test --locked -p victory-shader — 473 passed, 0 failed, 24 ignored after rebasing onto 829188e.
  • cargo build --release -p victory --locked — passed.
  • Targeted fresh-cache warm-up with VICTORY_WAVE_PAIRS=1 for 6b82bc7d22016cb5 — 1 translated, 0 do not translate.
  • git diff --check

Testing the opt-in fallback

The paired form is disabled by default. To test 6b82bc7d22016cb5, run the targeted warm-up with both VICTORY_WAVE_PAIRS=1 and VICTORY_WAVE_WHY=1. A successful run reports 1 translated, 0 do not translate and logs WAVE64-RETRY paired Wave64 (last fallback). Without VICTORY_WAVE_PAIRS=1, the original refusal is expected.

Reviewer validation

The reviewer tested d4b5d51 + #901 + #851 + #2001 on an RTX 5060 with VICTORY_WAVE_PAIRS=1 and VICTORY_WAVE_WHY=1. All four target programs entered the paired fallback with wave Some(32) and translated; 6b82bc7d22016cb5 and 7168dd781ca7efb9 also created host pipelines. The run reported zero shader refusals.

Relevant log excerpt:

WAVE64-RETRY paired Wave64 (last fallback): wave Some(32)
WAVE64-RETRY paired Wave64 (last fallback): wave Some(32)
WAVE64-RETRY paired Wave64 (last fallback): wave Some(32)
WAVE64-RETRY paired Wave64 (last fallback): wave Some(32)
host pipeline shaders=[compute 7168dd781ca7efb9]
host pipeline shaders=[compute 6b82bc7d22016cb5]

Known limitations

  • Five CS_TraceShadowRays_* programs remain blocked by dynamic descriptor reads.
  • This PR does not claim a frame-rate improvement; it restores shader translation and pipeline creation for programs that would otherwise be dropped.
<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:issue:5548320974 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/2001). Originally posted by [wrq2007](https://github.com/wrq2007) on 2026-11-29T06:37:21Z. --- ## Summary This PR rebases the paired Wave64 fallback from #348 onto the current `main` branch and keeps it as an opt-in last resort for Wave64 compute programs that the upstream wave-wide and LDS fallbacks still cannot lower on 32-lane NVIDIA hosts. The paired form runs console lane `n` and lane `n + 32` in one host thread, so a 64-lane console wave fits in one 32-lane host wave and cross-lane operations stay inside the thread. This covers the remaining `CS_CollectTriangles_Meshlets` case (`6b82bc7d22016cb5`), whose wave-wide form exceeds the host's 32 KiB LDS budget. Changes include: - Paired Wave64 lowering and paired FP32 reduction replay. - LDS, FP64, permlane, water-program, and fallback-rescue support. - `VICTORY_WAVE_PAIRS` and `VICTORY_WAVE_PAIRS_FP32` cache-key coverage. - Focused translator and hardware validation tests. - Fix upper-half console-lane caching in DPP row masks and lane writes, uncovered by the hardware validation. The fallback is disabled by default and runs only after the existing upstream forms fail. ## Attribution This work originates in #348 and the paired implementation from `fxceless/victory-fork`; original commit authorship is retained. This PR is a rebased integration for the current `main`, not a claim of sole authorship. ## Validation - Baseline on current `main`: `6b82bc7d22016cb5` reports `1 do not translate` in a fresh-cache targeted warm-up. - `cargo test --locked -p victory-shader` — **473 passed, 0 failed, 24 ignored** after rebasing onto `829188e`. - `cargo build --release -p victory --locked` — passed. - Targeted fresh-cache warm-up with `VICTORY_WAVE_PAIRS=1` for `6b82bc7d22016cb5` — **1 translated, 0 do not translate**. - `git diff --check` ### Testing the opt-in fallback The paired form is disabled by default. To test `6b82bc7d22016cb5`, run the targeted warm-up with both `VICTORY_WAVE_PAIRS=1` and `VICTORY_WAVE_WHY=1`. A successful run reports `1 translated, 0 do not translate` and logs `WAVE64-RETRY paired Wave64 (last fallback)`. Without `VICTORY_WAVE_PAIRS=1`, the original refusal is expected. ## Reviewer validation The reviewer tested `d4b5d51` + `#901` + `#851` + `#2001` on an RTX 5060 with `VICTORY_WAVE_PAIRS=1` and `VICTORY_WAVE_WHY=1`. All four target programs entered the paired fallback with `wave Some(32)` and translated; `6b82bc7d22016cb5` and `7168dd781ca7efb9` also created host pipelines. The run reported zero shader refusals. Relevant log excerpt: ```text WAVE64-RETRY paired Wave64 (last fallback): wave Some(32) WAVE64-RETRY paired Wave64 (last fallback): wave Some(32) WAVE64-RETRY paired Wave64 (last fallback): wave Some(32) WAVE64-RETRY paired Wave64 (last fallback): wave Some(32) host pipeline shaders=[compute 7168dd781ca7efb9] host pipeline shaders=[compute 6b82bc7d22016cb5] ``` ## Known limitations - Five `CS_TraceShadowRays_*` programs remain blocked by dynamic descriptor reads. - This PR does not claim a frame-rate improvement; it restores shader translation and pipeline creation for programs that would otherwise be dropped.
Razen114514 commented 2026-11-29 08:20:25 +00:00 (Migrated from github.com)

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by Razen114514 on 2026-11-29T08:20:25Z.


#2001 does not make 6b82bc7d22016cb5 translate here

Built d4b5d51 + #901 + #851 + #2001, Series S, DLSS performance, frame generation 2x, RTX 5060 8 GB.

6b82bc7d22016cb5 (vfx_triangleClip:CS_CollectTriangles_Meshlets) is still refused with the same error as before:

shader does not translate; its pipelines' draws are dropped
  stage="compute" hash=6b82bc7d22016cb5
  error=converter shader.dxil v1: GFX10 code at 0x0: no wave32 lowering for this wave64 program is not supported

And WAVE64-PAIRED never appears anywhere in the log — so the paired path was not entered for it, rather than entered and rejected.

Reading the diff, that looks right: it is 11 lines changing console_lane() and the clane cache across halves, with nothing that routes a program into the paired form. If the intent is that CS_CollectTriangles_Meshlets should now translate, something else still has to select it — the PR description reads as if it already would.

Three more refused on the same build

All sr_ and all no wave32 lowering:

hash program
34992f2b65a789a5 sr_denoising:CS_TemporalResolve1_Alpha_68979fba_Wrapped
7168dd781ca7efb9 sr_tracing:CS_RayPrePass_Opaque_SSR_a80bdf75_Wrapped
71883e40620a567a sr_denoising:CS_TemporalResolve2_Opaque_FrameStatistics_357e0818_Wrapped

These may be the intended consequence of d148613 ("the reflections' programs are left out of the wave-wide form") — if so, that part can be ignored.

One thing that did improve on this build

a10179ab7eda0dc3 — CS_TransmissionVolumetrics_VolumePortalsOnly, the water-absorption program docs/water.md names — now translates and gets a host pipeline:

shader translated stage="compute" hash=a10179ab7eda0dc3 user_data=2 samplers=6
host pipeline shaders=[compute a10179ab7eda0dc3]

On the previous build it was refused (shader does not translate ... hash=a10179ab7eda0dc3) and its draws were dropped. For reference, the refusals on that build were 6 in total, on this one 4 — but a different set: the water program is fixed, and the three sr_ ones above are new.

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:comment:7253040585 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/2001#issuecomment-7253040585). Originally posted by [Razen114514](https://github.com/Razen114514) on 2026-11-29T08:20:25Z. --- ## `#2001` does not make `6b82bc7d22016cb5` translate here Built `d4b5d51` + `#901` + `#851` + `#2001`, Series S, DLSS performance, frame generation 2x, RTX 5060 8 GB. `6b82bc7d22016cb5` (`vfx_triangleClip:CS_CollectTriangles_Meshlets`) is **still refused** with the same error as before: ``` shader does not translate; its pipelines' draws are dropped stage="compute" hash=6b82bc7d22016cb5 error=converter shader.dxil v1: GFX10 code at 0x0: no wave32 lowering for this wave64 program is not supported ``` And **`WAVE64-PAIRED` never appears anywhere in the log** — so the paired path was not entered for it, rather than entered and rejected. Reading the diff, that looks right: it is 11 lines changing `console_lane()` and the `clane` cache across halves, with nothing that routes a program into the paired form. If the intent is that `CS_CollectTriangles_Meshlets` should now translate, something else still has to select it — the PR description reads as if it already would. ### Three more refused on the same build All `sr_` and all `no wave32 lowering`: | hash | program | | --- | --- | | `34992f2b65a789a5` | `sr_denoising:CS_TemporalResolve1_Alpha_68979fba_Wrapped` | | `7168dd781ca7efb9` | `sr_tracing:CS_RayPrePass_Opaque_SSR_a80bdf75_Wrapped` | | `71883e40620a567a` | `sr_denoising:CS_TemporalResolve2_Opaque_FrameStatistics_357e0818_Wrapped` | These may be the intended consequence of `d148613` ("the reflections' programs are left out of the wave-wide form") — if so, that part can be ignored. ### One thing that did improve on this build `a10179ab7eda0dc3` — `CS_TransmissionVolumetrics_VolumePortalsOnly`, the water-absorption program `docs/water.md` names — now **translates and gets a host pipeline**: ``` shader translated stage="compute" hash=a10179ab7eda0dc3 user_data=2 samplers=6 host pipeline shaders=[compute a10179ab7eda0dc3] ``` On the previous build it was refused (`shader does not translate ... hash=a10179ab7eda0dc3`) and its draws were dropped. For reference, the refusals on that build were 6 in total, on this one 4 — but a different set: the water program is fixed, and the three `sr_` ones above are new.
wrq2007 commented 2026-11-29 08:35:55 +00:00 (Migrated from github.com)

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by wrq2007 on 2026-11-29T08:35:55Z.


Thanks for the detailed test. The paired form is intentionally opt-in and only runs with VICTORY_WAVE_PAIRS=1; without it, the original refusal is expected. The 11-line commit is the follow-up lane-cache fix, while the routing is in mod.rs from bb120ff. Could you rerun 6b82bc7d22016cb5 with VICTORY_WAVE_PAIRS=1 and VICTORY_WAVE_WHY=1? The expected log line is WAVE64-RETRY paired Wave64 (last fallback). I’ll add these exact test instructions to the PR description and rebase onto the latest main. I’ll also compare the three sr_ refusals against the baseline separately.

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:comment:7253207581 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/2001#issuecomment-7253207581). Originally posted by [wrq2007](https://github.com/wrq2007) on 2026-11-29T08:35:55Z. --- Thanks for the detailed test. The paired form is intentionally opt-in and only runs with `VICTORY_WAVE_PAIRS=1`; without it, the original refusal is expected. The 11-line commit is the follow-up lane-cache fix, while the routing is in `mod.rs` from `bb120ff`. Could you rerun `6b82bc7d22016cb5` with `VICTORY_WAVE_PAIRS=1` and `VICTORY_WAVE_WHY=1`? The expected log line is `WAVE64-RETRY paired Wave64 (last fallback)`. I’ll add these exact test instructions to the PR description and rebase onto the latest `main`. I’ll also compare the three `sr_` refusals against the baseline separately.
Razen114514 commented 2026-11-29 09:02:28 +00:00 (Migrated from github.com)

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by Razen114514 on 2026-11-29T09:02:28Z.


Confirmed: with VICTORY_WAVE_PAIRS=1 all four translate

You were right and my report was wrong — I tested a build that had the switch unset, and the refusal was the expected outcome of that, not of your patch. Thanks for the correction.

Reran with VICTORY_WAVE_PAIRS=1 and VICTORY_WAVE_WHY=1 on d4b5d51 + #901 + #851 + #2001, Series S, DLSS performance, RTX 5060 8 GB:

WAVE64-RETRY paired Wave64 (last fallback): wave Some(32)     × 4
hash program before with WAVE_PAIRS=1
6b82bc7d22016cb5 vfx_triangleClip:CS_CollectTriangles_Meshlets refused translated, host pipeline made
34992f2b65a789a5 sr_denoising:CS_TemporalResolve1_Alpha refused translated
7168dd781ca7efb9 sr_tracing:CS_RayPrePass_Opaque_SSR refused translated, host pipeline made
71883e40620a567a sr_denoising:CS_TemporalResolve2_Opaque_FrameStatistics refused translated

Refusals on this build: 0. On the same build without the switch there were 4. That is the first time any run of ours has had nothing refused, and wave Some(32) on all four says the paired form fitted them into a 32-lane host wave.

What it looks like

The water changed for the better on the build before this one, when a10179ab7eda0dc3 (CS_TransmissionVolumetrics_VolumePortalsOnly) started translating: clear, teal-green, seabed visible, no black patches. That improvement is kept.

One artefact survives and I do not think it is this PR's business, but it is worth saying because it is what I hoped the SSR program would fix: thin dark lines across the water, fixed in screen space — they do not move with the camera or the surface, they stay welded to the same pixels. I expected that to be CS_RayPrePass_Opaque_SSR being dropped; it now translates and the lines are unchanged, so they are something else. Most likely a tile boundary in a screen-space pass rather than a missing program.

If you want the log for the four retries I can attach it. Otherwise this is a "yes, it works" with the switch set, which is what your PR description will now say.

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:comment:7253495669 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/2001#issuecomment-7253495669). Originally posted by [Razen114514](https://github.com/Razen114514) on 2026-11-29T09:02:28Z. --- ## Confirmed: with `VICTORY_WAVE_PAIRS=1` all four translate You were right and my report was wrong — I tested a build that had the switch unset, and the refusal was the expected outcome of that, not of your patch. Thanks for the correction. Reran with `VICTORY_WAVE_PAIRS=1` and `VICTORY_WAVE_WHY=1` on `d4b5d51` + `#901` + `#851` + `#2001`, Series S, DLSS performance, RTX 5060 8 GB: ``` WAVE64-RETRY paired Wave64 (last fallback): wave Some(32) × 4 ``` | hash | program | before | with `WAVE_PAIRS=1` | | --- | --- | --- | --- | | `6b82bc7d22016cb5` | `vfx_triangleClip:CS_CollectTriangles_Meshlets` | refused | **translated, host pipeline made** | | `34992f2b65a789a5` | `sr_denoising:CS_TemporalResolve1_Alpha` | refused | **translated** | | `7168dd781ca7efb9` | `sr_tracing:CS_RayPrePass_Opaque_SSR` | refused | **translated, host pipeline made** | | `71883e40620a567a` | `sr_denoising:CS_TemporalResolve2_Opaque_FrameStatistics` | refused | **translated** | **Refusals on this build: 0.** On the same build without the switch there were 4. That is the first time any run of ours has had nothing refused, and `wave Some(32)` on all four says the paired form fitted them into a 32-lane host wave. ### What it looks like The water changed for the better on the build before this one, when `a10179ab7eda0dc3` (`CS_TransmissionVolumetrics_VolumePortalsOnly`) started translating: clear, teal-green, seabed visible, no black patches. **That improvement is kept.** One artefact survives and I do not think it is this PR's business, but it is worth saying because it is what I hoped the SSR program would fix: **thin dark lines across the water, fixed in screen space** — they do not move with the camera or the surface, they stay welded to the same pixels. I expected that to be `CS_RayPrePass_Opaque_SSR` being dropped; it now translates and the lines are unchanged, so they are something else. Most likely a tile boundary in a screen-space pass rather than a missing program. If you want the log for the four retries I can attach it. Otherwise this is a "yes, it works" with the switch set, which is what your PR description will now say.
wrq2007 commented 2026-11-29 09:07:02 +00:00 (Migrated from github.com)

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by wrq2007 on 2026-11-29T09:07:02Z.


Yes, please attach the log showing the four paired Wave64 retry lines and the host pipeline creation for 6b82bc7d22016cb5 and 7168dd781ca7efb9. It will be useful as validation evidence after the rebase.

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:comment:7253547313 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/2001#issuecomment-7253547313). Originally posted by [wrq2007](https://github.com/wrq2007) on 2026-11-29T09:07:02Z. --- Yes, please attach the log showing the four paired Wave64 retry lines and the host pipeline creation for `6b82bc7d22016cb5` and `7168dd781ca7efb9`. It will be useful as validation evidence after the rebase.
Razen114514 commented 2026-11-29 09:10:51 +00:00 (Migrated from github.com)

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by Razen114514 on 2026-11-29T09:10:51Z.


Here is the excerpt, in order. Each last fallback line is followed by the program that took it, and the two host-pipeline lines are at the end:

WAVE64-RETRY paired Wave64 (last fallback): wave Some(32)
2026-11-29T08:53:34.216070Z  INFO victory_gpu::pipeline: shader translated stage="compute" hash=71883e40620a567a user_data=2 samplers=0
WAVE64-RETRY paired Wave64 (last fallback): wave Some(32)
2026-11-29T08:53:34.656884Z  INFO victory_gpu::pipeline: shader translated stage="compute" hash=7168dd781ca7efb9 user_data=3 samplers=2
WAVE64-RETRY paired Wave64 (last fallback): wave Some(32)
2026-11-29T08:53:34.705398Z  INFO victory_gpu::pipeline: shader translated stage="compute" hash=34992f2b65a789a5 user_data=3 samplers=2
WAVE64-RETRY paired Wave64 (last fallback): wave Some(32)
2026-11-29T08:53:40.398768Z  INFO victory_gpu::pipeline: shader translated stage="compute" hash=6b82bc7d22016cb5 user_data=3 samplers=0
2026-11-29T08:53:40.569750Z  INFO victory_gpu::pipeline::host: host pipeline shaders=[compute 7168dd781ca7efb9]
2026-11-29T08:53:44.004836Z  INFO victory_gpu::pipeline::host: host pipeline shaders=[compute 6b82bc7d22016cb5]

Reading it against the four programs:

order retry translated host pipeline
1 wave Some(32) 71883e40620a567a CS_TemporalResolve2_Opaque_FrameStatistics —
2 wave Some(32) 7168dd781ca7efb9 CS_RayPrePass_Opaque_SSR yes, at 08:53:40.57
3 wave Some(32) 34992f2b65a789a5 CS_TemporalResolve1_Alpha —
4 wave Some(32) 6b82bc7d22016cb5 CS_CollectTriangles_Meshlets yes, at 08:53:44.00

All four report wave Some(32), so the paired form fitted each of them into a 32-lane host wave. CS_CollectTriangles_Meshlets and CS_RayPrePass_Opaque_SSR then get their host pipelines built; the two TemporalResolve programs translate but no pipeline line follows in this excerpt, presumably because nothing bound them yet in that stretch of the run.

The full log is 16.7 MB, so this is the relevant part rather than the whole file. If you want the whole thing for the rebase validation I can gzip and attach it instead.

Nothing was refused on this run: does not translate appears 0 times, against 4 on the same build with the switch unset.

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:comment:7253589951 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/2001#issuecomment-7253589951). Originally posted by [Razen114514](https://github.com/Razen114514) on 2026-11-29T09:10:51Z. --- Here is the excerpt, in order. Each `last fallback` line is followed by the program that took it, and the two host-pipeline lines are at the end: ``` WAVE64-RETRY paired Wave64 (last fallback): wave Some(32) 2026-11-29T08:53:34.216070Z INFO victory_gpu::pipeline: shader translated stage="compute" hash=71883e40620a567a user_data=2 samplers=0 WAVE64-RETRY paired Wave64 (last fallback): wave Some(32) 2026-11-29T08:53:34.656884Z INFO victory_gpu::pipeline: shader translated stage="compute" hash=7168dd781ca7efb9 user_data=3 samplers=2 WAVE64-RETRY paired Wave64 (last fallback): wave Some(32) 2026-11-29T08:53:34.705398Z INFO victory_gpu::pipeline: shader translated stage="compute" hash=34992f2b65a789a5 user_data=3 samplers=2 WAVE64-RETRY paired Wave64 (last fallback): wave Some(32) 2026-11-29T08:53:40.398768Z INFO victory_gpu::pipeline: shader translated stage="compute" hash=6b82bc7d22016cb5 user_data=3 samplers=0 2026-11-29T08:53:40.569750Z INFO victory_gpu::pipeline::host: host pipeline shaders=[compute 7168dd781ca7efb9] 2026-11-29T08:53:44.004836Z INFO victory_gpu::pipeline::host: host pipeline shaders=[compute 6b82bc7d22016cb5] ``` Reading it against the four programs: | order | retry | translated | host pipeline | | --- | --- | --- | --- | | 1 | `wave Some(32)` | `71883e40620a567a` `CS_TemporalResolve2_Opaque_FrameStatistics` | — | | 2 | `wave Some(32)` | `7168dd781ca7efb9` `CS_RayPrePass_Opaque_SSR` | **yes**, at 08:53:40.57 | | 3 | `wave Some(32)` | `34992f2b65a789a5` `CS_TemporalResolve1_Alpha` | — | | 4 | `wave Some(32)` | `6b82bc7d22016cb5` `CS_CollectTriangles_Meshlets` | **yes**, at 08:53:44.00 | All four report `wave Some(32)`, so the paired form fitted each of them into a 32-lane host wave. `CS_CollectTriangles_Meshlets` and `CS_RayPrePass_Opaque_SSR` then get their host pipelines built; the two `TemporalResolve` programs translate but no pipeline line follows in this excerpt, presumably because nothing bound them yet in that stretch of the run. The full log is 16.7 MB, so this is the relevant part rather than the whole file. If you want the whole thing for the rebase validation I can gzip and attach it instead. Nothing was refused on this run: `does not translate` appears 0 times, against 4 on the same build with the switch unset.
grosterr commented 2026-11-29 13:03:28 +00:00 (Migrated from github.com)

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by grosterr on 2026-11-29T13:03:28Z.


A note for whoever validates this next. On the release 829188e, 6b82bc7d22016cb5 (CS_CollectTriangles_Meshlets) and 7168dd781ca7efb9 translate on an RTX 3060 with VICTORY_WAVE_PAIRS unset: the play log shows "shader translated" and a host pipeline for each, and no refusal. They were refused on e1f2eb6, so something in between fixed them, probably #1504's VICTORY_WAVE_FOLDED.

The tests above were on d4b5d51, so it may be worth rechecking the "still refused" list on current main. If anything is left, the paired form would only be needed for that.

Posted by Claude Code on behalf of the machine's owner.

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:comment:7256256754 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/2001#issuecomment-7256256754). Originally posted by [grosterr](https://github.com/grosterr) on 2026-11-29T13:03:28Z. --- A note for whoever validates this next. On the release `829188e`, `6b82bc7d22016cb5` (`CS_CollectTriangles_Meshlets`) and `7168dd781ca7efb9` translate on an RTX 3060 with `VICTORY_WAVE_PAIRS` unset: the play log shows "shader translated" and a host pipeline for each, and no refusal. They were refused on `e1f2eb6`, so something in between fixed them, probably #1504's `VICTORY_WAVE_FOLDED`. The tests above were on `d4b5d51`, so it may be worth rechecking the "still refused" list on current main. If anything is left, the paired form would only be needed for that. Posted by Claude Code on behalf of the machine's owner.
wrq2007 commented 2026-11-29 13:38:28 +00:00 (Migrated from github.com)

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by wrq2007 on 2026-11-29T13:38:28Z.


Confirmed on the latest baseline. I tested the official v2026.11.29.01 executable (829188e) on an RTX 5070 Laptop GPU with 32-lane host waves, a fresh shader cache, and VICTORY_WAVE_PAIRS unset.

All seven previously discussed programs translated successfully:

  • 407eca669212d400
  • 5e3dd99e0f067aee
  • 6b82bc7d22016cb5
  • a10179ab7eda0dc3
  • 34992f2b65a789a5
  • 7168dd781ca7efb9
  • 71883e40620a567a

The fresh-cache targeted warm-up reported 7 translated now, 0 in the cache already, 0 do not translate. A follow-up audit of the seven extracted containers reported 7 translated of 7, 7 validated, and 7 pipelines, with every target logging WAVE64-RETRY folded: wave Some(32).

This confirms the upstream folded fallback covers these programs without the paired form. For this tested set, #2001 no longer appears necessary; unless maintainers want it retained for other programs not covered by upstream, I agree it should be treated as superseded and closed.

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:comment:7256690639 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/2001#issuecomment-7256690639). Originally posted by [wrq2007](https://github.com/wrq2007) on 2026-11-29T13:38:28Z. --- Confirmed on the latest baseline. I tested the official `v2026.11.29.01` executable (`829188e`) on an RTX 5070 Laptop GPU with 32-lane host waves, a fresh shader cache, and `VICTORY_WAVE_PAIRS` unset. All seven previously discussed programs translated successfully: - `407eca669212d400` - `5e3dd99e0f067aee` - `6b82bc7d22016cb5` - `a10179ab7eda0dc3` - `34992f2b65a789a5` - `7168dd781ca7efb9` - `71883e40620a567a` The fresh-cache targeted warm-up reported `7 translated now, 0 in the cache already, 0 do not translate`. A follow-up audit of the seven extracted containers reported `7 translated of 7`, `7 validated`, and `7 pipelines`, with every target logging `WAVE64-RETRY folded: wave Some(32)`. This confirms the upstream folded fallback covers these programs without the paired form. For this tested set, #2001 no longer appears necessary; unless maintainers want it retained for other programs not covered by upstream, I agree it should be treated as superseded and closed.
wrq2007 commented 2026-11-29 13:51:56 +00:00 (Migrated from github.com)

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by wrq2007 on 2026-11-29T13:51:56Z.


Given the latest-baseline result, I recommend closing #2001 as superseded for the currently tested shader set.

On the official v2026.11.29.01 executable (829188e), with an RTX 5070 Laptop GPU, 32-lane host waves, a fresh cache, and VICTORY_WAVE_PAIRS unset, all seven previously discussed programs translated successfully:

  • Fresh-cache targeted warm-up: 7 translated now, 0 in the cache already, 0 do not translate.
  • Follow-up DXIL/pipeline audit: 7 translated of 7, 7 validated, 7 pipelines.
  • Every target logged WAVE64-RETRY folded: wave Some(32).

The upstream folded fallback therefore covers these programs without the paired form. Unless a specific remaining shader demonstrates a need for the paired fallback, retaining #2001 would add maintenance and rebase complexity without a demonstrated benefit. I suggest closing it and opening a new, narrowly scoped PR only if such a case is found.

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:comment:7256859680 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/2001#issuecomment-7256859680). Originally posted by [wrq2007](https://github.com/wrq2007) on 2026-11-29T13:51:56Z. --- Given the latest-baseline result, I recommend closing #2001 as superseded for the currently tested shader set. On the official `v2026.11.29.01` executable (`829188e`), with an RTX 5070 Laptop GPU, 32-lane host waves, a fresh cache, and `VICTORY_WAVE_PAIRS` unset, all seven previously discussed programs translated successfully: - Fresh-cache targeted warm-up: **7 translated now, 0 in the cache already, 0 do not translate**. - Follow-up DXIL/pipeline audit: **7 translated of 7, 7 validated, 7 pipelines**. - Every target logged `WAVE64-RETRY folded: wave Some(32)`. The upstream folded fallback therefore covers these programs without the paired form. Unless a specific remaining shader demonstrates a need for the paired fallback, retaining #2001 would add maintenance and rebase complexity without a demonstrated benefit. I suggest closing it and opening a new, narrowly scoped PR only if such a case is found.
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/2001:upstream-pr/2001'
git switch 'upstream-pr/2001'

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/2001'
git switch 'upstream-pr/2001'
git rebase 'main'
git switch 'main'
git merge --ff-only 'upstream-pr/2001'
git switch 'upstream-pr/2001'
git rebase 'main'
git switch 'main'
git merge --no-ff 'upstream-pr/2001'
git switch 'main'
git merge --squash 'upstream-pr/2001'
git switch 'main'
git merge --ff-only 'upstream-pr/2001'
git switch 'main'
git merge 'upstream-pr/2001'
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!2001
No description provided.