Upload fills: stop false trips of the fill-ahead latch; quiet depth U… #860
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!860
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-860"
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?
@turbinedogbla-creator on GitHub · 2026-11-25 10:58 UTC · original
turbinedogbla-creator:claude/startup-perf-fixes→main· +1943 −145 · 17 files · 32 commits · open…AV log
fill_ahead compared a landing's shader bytes with title memory as it is now, so a title rewrite after the fill counted as a miss and made every fill wait for the rest of the run (about 100 ms a frame on the submitting thread). Fills now keep a fingerprint of the bytes they read; a fill whose bytes the title rewrote since is not compared. A real miss holds back only the 64 KiB pieces it touched; past 8 such pieces every fill waits as before. Adds a unit test (Windows) for the three cases.
The "unordered access view of a depth texture" line is logged once per view instead of on every creation (up to 512 lines, a few a frame), and drops the four record words past the texture part of the union, which are uninitialised title stack bytes.
Fix the doc of VICTORY_CARD_ROOM_FOR_BUFFERS: it is on by default.
Claude-Session: https://claude.ai/code/session_01McYwNpi6MZ72qHprqeeyRX
The reasons draws and dispatches go without a host pipeline (the shader hash that does not translate, or the pipeline the host refused) were only counted in diagnostics builds; a release build said "dropped N" and nothing more. They are counted in every build now and the ten that cost the most draws are printed every five seconds ("dropped X/frame without a host pipeline: <stage> <hash>"), forty with diagnostics. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01McYwNpi6MZ72qHprqeeyRXA single real miss (one in a whole run) held its 64 KiB back for good, and a title buffer copy reading it settled the flights about every other frame ("title memory read, by a buffer copy" 0.4-0.5 a frame). A miss now holds the piece back for 60 frames, twice as long at each miss of the same piece after; past 8 pieces held at once every fill waits, as before. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01McYwNpi6MZ72qHprqeeyRX@MamaLeVrai on GitHub · 2026-11-25 12:23 UTC · original
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
ce304e5intomainf85101bin a throwaway tree (no conflict).cargo clippy --workspace --all-targets --locked -- -D warningsfails with exactly the errorsmainitself has on this machine (placed_filler_twins,depth_written, a sort; PR #841 fixes them), also with--all-features; this PR adds none.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: 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)) (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.
View command line instructions
Manual merge helper
Use this merge commit message when completing the merge manually.
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.