GPU: keep bounded sparse refresh spans for known unwatched buffers #1406
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!1406
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-1406"
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?
@spk-c on GitHub · 2026-11-26 23:31 UTC · original
spk-c:submit/sparse-unwatched-refresh→main· +1584 −1432 · 13 files · 4 commits · openAI-assisted independent adaptation of spk-c/victory-fork#38 onto upstream
4c604661.Default-off VICTORY_SPARSE_REFRESH=1 avoids copying large unrequested gaps between ranges of a known-unwatched shadow. Retains up to eight merged spans with a 64 KiB coalescing threshold and conservative union fallback. Keeps one job per shadow and all existing write barriers; current-range tracking only records refreshed spans. Unlike watched-page stamping (#1388) or cold-chunk skipping (#1358), this limits the range union for known-unwatched buffers. Logical omitted bytes are not measured PCIe traffic.
The original fork passed CI and explicit D3D12 tests. This independent port retains a CPU range regression; the fork-specific hardware test requires adaptation to upstream staging APIs. git diff --check passed; compile, asset policy and GPU retest are pending (host.rs size is a potential policy blocker, see #1357/#1361). No gameplay FPS claim. Draft.
CI baseline repair
The upstream 512 KiB asset-policy failure on main (#1342) is addressed in this branch by including the existing maintainer patch #1357 (original commit
450ed9bd, attribution preserved). No policy limit or security check was changed. The identical combined commitfab07c7fpassed the full Windows CI in our fork, including Clippy in both configurations, workspace/asset-policy tests and serial GPU tests: https://github.com/spk-c/victory-fork/actions/runs/45912168987. The direct upstream check is being rerun on this head. The #1357 changes are a shared dependency, not part of this feature; they will disappear from the diff when that commit is merged upstream normally. Hardware/gameplay retesting is not implied by this CI result.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.