GPU: copy sparse texture updates as synchronous bands #1171
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/1174"
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 nicolasveilleux on 2026-11-25T22:42:15Z.
Summary
Copy only the affected rows into the GPU texture after a sparse write to a fully mapped, write-watched 2D texture. The optional D3D12 source box is aligned to console tile rows and compression blocks. CPU detiling and staging allocation are unchanged.
Stacked on #80. The first commit is the existing submission-time upload work from #80, with its original authorship. Our change is isolated in c97170f. This is a draft so the two changes can be reviewed separately; please do not merge this stack ahead of #80. This changes GPU transfers, not the CPU detiling work in #92 or #1130.
Opt in with
VICTORY_TEXTURE_UPLOAD_BANDS=1. First uploads, dense writes, unsupported or untracked textures, on-demand levels, multiple lists, and asynchronous submissions use the existing full-copy path. No asynchronous overlap or gameplay FPS claims.Validation
Separate implementation in the original VIctory repository: https://github.com/Marvisak/VIctory/pull/2358.
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.