Windows compatibility work from TaynanGT/VIctory, merged with main #2756
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/2758"
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 Marvisak/VIctory. Originally posted by TaynanGT on 2026-11-25T19:49:47Z.
The Windows compatibility work from TaynanGT/VIctory, merged with VIctory
mainat13f91ca. It reaches the controllable prologue room at about 7 FPS on an RTX 4090 (README, "Local test results"), against about 1 FPS in VIctory's own status.This is one large change (326 commits, 117 files). If you prefer focused PRs, say which parts you want first and I will open them separately against
main, each with its own description and tests, as #2716 already does for XGameSave.What it changes
victory-shader): wave64 compute programs on 32-lane hosts (NVIDIA, Intel) as two host waves that exchange through LDS, including groups of several console waves; the ray-tracing node test (image_bvh_intersect_ray) as inline DXIL, with a CPU model it is checked against; scalarised light loops (own_bits), jump threading for uniform diamonds, spilled user-data tables; lowering fixes with tests inemit/*_tests.rs.victory-gpu): descriptor mirroring for heaps the title writes by address, title memory opened as a host heap (inplace) and direct copies of it, texture upload budgets, indirect-draw clamping, host pipelines built off the render thread, and live switches (VICTORY_LIVE) to compare settings in one session.victory-hle): XGameSave recovery (the same rules as #2716), DirectStorage page lists, XMA looping, memory mapping and async cancel fixes.victory-loader): the console CPU's instructions an Intel host lacks (clzeroloops among them), emulated in the vectored handler.Cargo.toml,rust-toolchain.toml,rustfmt.toml,.github/workflows/ci.yml,xtask,docs/andLICENSEare identical tomain. The README ismain's, with two sections added: the development PC and the local test results.Known differences from
mainThe merge kept the fork's interfaces where both sides changed the same code, so this PR also removes ten files that
mainhas and the fork replaced:victory-gpu/src/{bindless,hold,placement,twin}.rs,victory-shader/src/emit/lower/bvh.rs, and the testsemit/{bvh,memory,semantics,stride,synthetic}_tests.rs. Some ofmain's GPU changes from the last two days (texture placement, list waits on memory values) are therefore not in this branch yet.Tests
cargo clippy --workspace --all-targets --locked -- -D warningsand the same with--all-features: clean.cargo test --workspace --lockedon Windows 11 with an RTX 4090, GPU tests included: 903 passed, 0 failed (atdef99cf).cargo xtask policy: all files pass.🤖 Generated with Claude Code
[PR #2758] VIctoryto [PR #2758] Windows compatibility work from TaynanGT/VIctory, merged with mainImported from Marvisak/VIctory. Originally posted by kotekompotek on 2026-11-25T20:08:32Z.
+59k/-32k across 117 files is a whole-fork diff, not a reviewable change - same shape as #2643. If this carries real fixes, please split them into focused PRs; as-is nobody can verify what it does.
Imported from Marvisak/VIctory. Originally posted by NovNovikov on 2026-11-25T21:00:34Z.
Sadly ground braking changes like this will not be recognized. You should advertize your own fork instead of trying to improve the upstream
Imported from Marvisak/VIctory. Originally posted by TaynanGT on 2026-11-25T21:16:56Z.
Thanks for taking a look, @kotekompotek. That's fair. This PR is too broad to review as a single change. The XGameSave fix is available separately in #2716, with its own regression tests.
Thanks for the suggestion, @NovNovikov. I posted a Vice-Tay update with my test setup, the results for each build, and the rendering issues I still see.
Imported from Marvisak/VIctory. Originally posted by Marvisak on 2026-11-25T23:14:55Z.
Automated triage for the maintainers.
Needs rebase. This pull request conflicts with
main(conflicting: 32 files, among themREADME.md,crates/victory-gpu/src/resource.rsandcrates/victory-shader/src/emit/lower.rs). It will be reviewed once it is rebased onto the currentmain.Generated by Claude Code
Pull request closed