GPU: cache exact buffer span unions per heap #1413
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!1413
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-1413"
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:55 UTC · original
spk-c:submit/descriptor-buffer-spans-v2→main· +1604 −1430 · 16 files · 5 commits · openAI-assisted selective adaptation of Kelvaroq 0055 via spk-c/victory-fork#41; source attribution in docs.
Opt-in VICTORY_DESCRIPTOR_BUFFER_SPANS=1 retains the exact enclosing range per backing buffer in the unmarked heap pass. The authoritative slot map, 16-pass revalidation cadence, dirty drain and existing refresh semantics remain unchanged. The index is discarded on inconsistency, full scans, marked-pass reset and heap destruction. The existing marked pass is unchanged. Two CPU oracle tests exercise mixed updates and duplicate endpoints.
This targets span aggregation rather than the descriptor mirroring, lock, and allocation changes of #1293/#1400. No gameplay improvement claimed. Original fork CI passed; direct upstream CI is pending.
Dependencies: existing #1372 (stable heap IDs and cache cleanup, original commit
9aac3495) and #1357 (test extraction, original commit450ed9bd). Both are separate, attributed ancestors, not new feature changes. Asset-policy checks and size limit unchanged. When the original dependency commits are merged normally, their changes disappear from this diff.@akimfomin on GitHub · 2026-11-27 00:14 UTC · original
Your span cache combines cleanly with KyleS98's table-slot experiment at the current VIctory base. I used Git merge-tree with your head
900c15f5and #1414 head9a18dd08. It produced treea38ce19426925cab2511eb6685c305103dba86b6. I also checked your head with #1411 atdee3f61a; the result was treef36574568a84b3183368c4756c4d7f914887797d. Both are merge checks, with no behavioral or timing result.If you compare both descriptor changes, keep the four switch combinations separate. Record the refreshed spans per backing buffer as well as frame time. That will show whether marking more table-owned slots reduces the work your cache is trying to aggregate. You can give a future public PR/target pair to your agent through PortBridge #98 and attach the exact result there for another fork. AI-assisted Git check.
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.