Proposal: reuse translated command lists across frames (structure hash plus relocations) #2588
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
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 Marvisak/VIctory. Originally posted by shawshanker18 on 2026-11-25T16:20:32Z.
Idea
Consecutive frames record almost the same command lists: the same passes, pipelines, root signatures and barriers in the same order. What changes is mostly data: buffer addresses advance through ring buffers, constants differ, and the visible set changes indirect argument counts (which the GPU reads anyway).
Proposal: reuse translated command lists across frames:
Bundles, or ExecuteIndirect with root-argument commands, are two ways to make patched replays cheap on the host.
Why
Risks
No game data in this proposal.
Imported from Marvisak/VIctory. Originally posted by Marvisak on 2026-11-25T18:46:35Z.
Automated triage for the maintainers.
This is a performance proposal for the GPU layer: reuse translated command-list segments across frames, keyed by a structure hash, with relocations for the values that move. It fits the project's scope, and it is labelled and kept as a request. It builds on #2586, which proposes moving translation off the title's threads.
The cost figures quoted come from a fork, not from main.
Generated by Claude Code