replay --retranslate: honor VICTORY_HOST_WAVE/VICTORY_HOST_RDNA and add CLI flags (#302) #312
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/312"
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?
Imported from Belobug/VIctory-Belobug-AMD. Originally posted by mynzjerko on 2026-11-26T19:47:50Z.
Fixes #302.
Summary
victory replay --retranslateresolve host wave width and RDNA float settings instead of hardcoding 64-lane RDNA:VICTORY_HOST_WAVE/VICTORY_HOST_MAX_WAVEvia the sharedtranslate::host_wave::selecthelper (preserving precedence and alias/conflict warnings).VICTORY_HOST_RDNA(1= on, other values = off), matchingvictory translate.--host-wave <u32>,--host-rdna, and--no-host-rdna(mutually exclusive) that override the environment variables, keeping 64-lane RDNA as the fallback when neither flag nor env var is provided.retranslatesummary line andtracing::info!log so retranslated folders are identifiable.docs/replay.mdto document the new flags and environment variables.apps/victory/src/replay.rscovering defaults, env var precedence/warnings, CLI flag overrides, and--host-rdna/--no-host-rdnamutual exclusion.Verification
cargo xtask policy(passed)cargo test -p xtask --locked(9 passed, includingdocumented_switches_are_readandrepository_passes_policy)cargo test -p victory --lockedandcargo test -p victory --all-features --locked(all unit + integration tests passed)cargo clippy -p victory --no-deps --all-targets --locked -- -D warnings(default and--all-features: 0 warnings)cargo build --locked --profile diag -p victory --features diagnosticsand checkedvictory replay --help(Prepared with AI assistance; all builds, clippy checks, policy checks, and unit tests were executed locally on Windows.)
Pull request closed