GPU: port DirectStorage staging and indirect draw improvements #2632
No reviewers
Labels
No labels
accessibility
area: build
area: formats
area: gpu
area: loader
area: runtime
area: shader
bug
documentation
duplicate
enhancement
good first issue
gpu: amd
gpu: intel
gpu: nvidia
help wanted
host: wine
invalid
out of scope
question
request
run report
triage: confirmed
triage: has patch
triage: merge candidate
triage: needs info
triage: needs rebase
triage: needs work
triage: proposed close
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/Marvisak--VIctory!2632
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-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?
@Lkxex on GitHub · 2026-11-25 17:14 UTC · original
Lkxex:port/nov25-marvis→main· +221 −25 · 4 files · 5 commits · openThis 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.
@kotekompotek on GitHub · 2026-11-25 17:52 UTC · original
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.@Marvisak on GitHub · 2026-11-25 22:21 UTC · original
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.