GPU: cache exact buffer span unions per heap #1413
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/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?
Imported from fxceless/victory-fork. Originally posted by spk-c on 2026-11-26T23:55:27Z.
AI-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.Imported from fxceless/victory-fork. Originally posted by akimfomin on 2026-11-27T00:14:50Z.
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.
Pull request closed