Proposal: reuse translated command lists across frames (structure hash plus relocations) #2590
Labels
No labels
accessibility
area: build
area: formats
area: gpu
area: loader
area: runtime
area: shader
bug
documentation
duplicate
enhancement
good first issue
gpu: amd
gpu: intel
gpu: nvidia
help wanted
host: wine
invalid
out of scope
question
request
run report
triage: confirmed
triage: has patch
triage: merge candidate
triage: needs info
triage: needs rebase
triage: needs work
triage: proposed close
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/Marvisak--VIctory#2590
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?
@shawshanker18 on GitHub · 2026-11-25 16:20 UTC · original
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.
@Marvisak on GitHub · 2026-11-25 18:46 UTC · original
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