perf(gpu): cache ID3D12GraphicsCommandList6 on Rec for mesh draws #20
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
needs-logs
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/ToLIManl--VIctory-Hydra!20
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/20/head"
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?
@justadudeinbulgaria on GitHub · 2026-11-30 23:19 UTC · original
justadudeinbulgaria:pr/cached-list6-mesh→main· +18 −7 · 3 files · 1 commits · closed without mergingSummary
Caches
ID3D12GraphicsCommandList6once inRec::newalongsidelist7and exposesRec::list6()(flushing any held barriers first to preserve exactDerefordering).Uses
list.list.list6()indraw::State::dispatch_meshandlaunch::recordinstead of calling COMQueryInterface/Releaseon every single mesh draw (thousands of calls per frame).Verification
VICTORY_DYNAMIC_SLAB=0 cargo test --release -p victory-gpu --lib draw::(7/7 passed).@ToLIManl on GitHub · 2026-12-01 00:47 UTC · original
Integrated into \main\ in commit \
64f4cb9\ (with \Co-authored-by\ attribution, combined cleanly with PR #19 in \host/rec.rs).Verified with \ictory-gpu\ release unit tests and live RTX 3060 benchmark runs.
Pull request closed