GPU: port DirectStorage staging and indirect draw improvements #2630
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/2632"
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 Lkxex on 2026-11-25T17:14:40Z.
This ports DirectStorage queue staging, console texture formats 189–191, offline shader signature deduplication, and an opt-in single-record indirect clamp. Larger batches keep the existing tiled clamp.
Validation: Windows cargo check passed on the port. In-game behavior and FPS have not been measured.
Imported from Marvisak/VIctory. Originally posted by kotekompotek on 2026-11-25T17:52:49Z.
Reviewed: keying dedup on (DXIL hash + ISG1/OSG1/PSG1/PSV0/RTS0 part hashes) fixes a real silent-skip: shared shader bodies with different signatures were previously dropped as duplicates, losing pipeline variants in
--pipelinesruns. The synthetic two-part container test proves the case. CI green.Imported from Marvisak/VIctory. Originally posted by Marvisak on 2026-11-25T22:21:36Z.
Automated triage for the maintainers.
Merges cleanly, but this is five unrelated changes in one PR, validated only by
cargo check, and two of them change emulation behaviour without stated evidence:crates/victory-formats/src/texture.rs: console texture formats 189 and 190 are given RGBA8-like and R8-like layouts (4 and 1 bytes per texel). What these formats are, and why those layouts, needs a source (public documentation, or the title's own use observed in a run), not just the size match the test asserts.crates/victory-hle/src/modules/dstorage.rs: the read scheduler inLanes::startis rewritten (a staging reservation that lets one other queue's head use spare space). That changes ordering and fairness for every title, with no test of the new behaviour and no measurement. It also touches the same code as #2617.crates/victory-gpu/src/indirect.rs: an opt-in one-thread clamp (VICTORY_INDIRECT_SINGLE), with no measurement of what it gains.apps/victory/src/translate.rs: offline dedup keyed on DXIL plus signature parts. This one is plausible on its own and has a test.The description says "ports" but does not name where they come from. Please split these into separate PRs, credit the source, and for each say what was measured (a test that fails on
main, a run, or a reference for the formats). The translate dedup change could go first on its own.Generated by Claude Code
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.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.