HLE: account for DirectStorage decode intermediates #835
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/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?
Imported from fxceless/victory-fork. Originally posted by Filip722 on 2026-11-25T09:53:25Z.
Combined 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.
Imported from fxceless/victory-fork. Originally posted by MamaLeVrai on 2026-11-25T12:23:39Z.
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.
Imported from fxceless/victory-fork. Originally posted by Filip722 on 2026-11-25T21:31:36Z.
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.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.