feat(diagnostics): load matching paired Wave32 shaders #4
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/trustno1-coder--VIctory-NVIDIA!4
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-4"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@jeremygold02 on GitHub · 2026-11-26 15:20 UTC · original
jeremygold02:codex/paired-wave32→main· +43 −1 · 2 files · 1 commits · merged 2026-11-26 15:33 UTCSummary
Add opt-in loading of compatible paired Wave32 compute shader bytecode from a local directory in diagnostics builds. This lets NVIDIA testers exercise a paired translator's output on selected shaders while keeping VIctory's normal translation and binding metadata as the reference.
How it works
VICTORY_PAIRED_SHADER_DIRenables the lookup on the supported 32-lane host configuration with a 1,000,000-slot view heap. Entries are named<16-digit-shader-hash>.vsh, using the hash of the original shader container.How to try it
Build the diagnostics executable and pass the local shader directory through the launcher:
The launcher defaults to Series S. Set
$env:RUST_LOG = 'warn,victory_gpu::shader_cache=info'before launching to see individual accepted entries.Validation
cargo build --locked --profile diag -p victory --features diagnosticsandcargo check --locked --release -p victorypassed on Windows.victory translate --warmaccepted all seven matching local entries. With the option unset, the file missing, the bindings incompatible, or the VSH1 entry malformed, the reference shader was still available through the normal path.git diff --checkpassed.Hardware and runtime setup. NVIDIA GeForce RTX 5070 (12 GB VRAM), NVIDIA driver 621.01, Intel Core Ultra 7 265K, 32 GB system RAM, Windows 11 Home (build 26200), Series S preset at 540p internal resolution.
The local checkpoint with the same loader code accepted four matching entries during Series S startup and rendered in-engine prologue frames. A prior warm-cache session reached roughly 8–10 FPS in parts of the prologue. A later run under memory pressure spent much of the observation window below 1 FPS and loaded a different scene. These observations verify that the paired payload path was exercised. An FPS or rendering-quality comparison still needs paired-on and paired-off runs in the same scene under comparable memory conditions.