Probe the runtime adapter before warming the shader cache #814
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/815"
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 fxceless/victory-fork. Originally posted by Kamiloj9 on 2026-11-25T08:35:41Z.
Change
Probe the host adapter's wave size and view-heap limit before
translate --warmstarts worker threads. The default cache keys then match normal pipeline translation. Preserve explicitVICTORY_HOST_WAVEandVICTORY_VIEW_LIMIToverrides. When both values are supplied, warming works without initializing a local device.Verification
Imported from fxceless/victory-fork. Originally posted by MamaLeVrai on 2026-11-25T10:12:59Z.
Test report on real hardware: AMD RX 6950 XT (RDNA2), Windows 11, Rust 1.98.1, with a GPU present. I merged this PR's head
edf81bcintomain9376fd6in a throwaway tree (no conflict).cargo clippy --workspace --all-targets --locked -- -D warningsfails with exactly the errorsmainitself has on this machine (placed_filler_twinsnever used,depth_writtennever read, invictory-gpu); with--all-featuresit fails with the same number of errors asmain(4). This PR adds none and removes none.cargo test --workspace --locked: 540 passed, 0 failed, 10 ignored, two runs (mainalone: 540 passed, 0 failed, 10 ignored). The title was not run, so this says nothing about in-game effect. No game data.AI-assisted (Claude Code); no game data.
Pull request closed