HLE: account for DirectStorage decode intermediates #836
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/fxceless--victory-fork!836
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-836"
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?
@Filip722 on GitHub · 2026-11-25 09:53 UTC · original
Filip722:hle/dstorage-combined-decode-staging→main· +46 −5 · 1 files · 1 commits · openCombined zlib and BCPack reads allocate a buffer for the BCPack stream while the zlib input is still live. The scheduler now adds that intermediate buffer to the staging reservation. File-backed requests also reserve their owned source buffer. Memory-backed requests borrow their input.
Two synthetic cases submit a pair of decodes against a 100-byte budget. Their intermediate is 60 bytes, with 20 more bytes of owned input for the file case. Both tests require the second job to wait and then start after the first releases its reservation.
9376fd6: both new cases reproduced premature admission, with the existing staging test passing.OpenAI Codex (GPT-6.2-Sol High) prepared and reviewed the patch, ran the comparison, and drafted this description.
@MamaLeVrai on GitHub · 2026-11-25 12:23 UTC · original · edited 2026-11-25 12:51 UTC
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
c4dd786intomainf85101bin a throwaway tree (no conflict).cargo clippy --workspace --all-targets --locked -- -D warningsfails with the errorsmainitself has on this machine (placed_filler_twins,depth_written, a sort, andmanual implementation of .is_multiple_of()atvictory-gpu/src/shadow.rs:2675; PR #841 fixes the first three), also with--all-features; this PR adds none. (Correction: my first version of this report said that theis_multiple_ofone was extra here. It is inmaintoo: my first baseline run ofmaindid not list it, and a run with--keep-goingon a cleanmaindoes.)cargo test --workspace --locked: run 1: stopped atindirect::tests::warp_budget_saturates_without_wraparound_and_preserves_draw_fields(the one that fails onmainitself most runs here (PR #849 and #847 fix its assertion)); run 2: 567 passed, 0 failed, 12 ignored (mainalone: 555 passed, 0 failed, 11 ignored). The title was not run, so this says nothing about in-game effect. No game data.AI-assisted (Claude Code); no game data.
@Filip722 on GitHub · 2026-11-25 21:31 UTC · original · edited 2026-11-26 08:55 UTC
I retested this PR on fork main
c36971bin a local integration with #830. The Rust 1.98.1 Windows MSVC release test binary ran all threestaging_bounds_cases under GE-Proton 11-14. All three passed, including both combined-decode cases. The requests were synthetic. Codex (GPT-6.2-Sol High) ran the retest.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.