GPU: attribute timed pipeline rebinds on a command list #2852
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/2852"
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 trustno1-coder/VIctory-NVIDIA. Originally posted by ghptc on 2026-11-29T18:08:30Z.
Problem
With
VICTORY_CARD_METER_PIPELINES=1,HostList::bind_pipelineuses the command list's resource-retention set before recording timestamp boundaries. For a list that binds A, then B, then A again, the second A is already retained, so the function returns early. B's interval then includes the final A segment.Change
Keep each PSO and root signature once per list and continue to collect distinct names for the list summary. Record the opt-in timing boundary on every bind that reaches
HostList::bind_pipeline, including rebinds. The default mode still records no per-pipeline spans.Verification
The CPU fixture compiled the production methods extracted from
55d06914and this commit against a synthetic recorder. All three candidate controls passed.[0,7], B[7,29][0,7], B[7,26], A[26,29]These tests verify marker emission and resource retention on the CPU. GPU timestamps and frame-time changes are outside the measured scope. Whole-list timing remains useful for work outside these bind intervals.
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.