gpu(card_steps): prune dependency scans and batch constant slot writes #2812
No reviewers
Labels
No labels
AMD
audio
bug
confirmed
crash
cutscene
dlss
documentation
duplicate
enhancement
fixed-on-main
frame-generation
good first issue
help wanted
input
INTEL
invalid
lighting
linux-proton
memory
needs-info
needs-logs
needs-rebase
NVIDIA
performance
pr-diagnostics
pr-docs
pr-feature
pr-fix
pr-performance
pr-refactor
pr-tests
question
RAYTRACING
rendering
report
series-s
shaders
spam
startup
upstream
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/trustno1-coder--VIctory-NVIDIA!2812
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-2812"
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?
@Nosheboo on GitHub · 2026-11-29 17:37 UTC · original
Nosheboo:port/foxhound-card-steps-and-constant-batch→main· +515 −88 · 3 files · 1 commits · openMotivation
On upstream
55d06914, baseline telemetry shows the submitter spending2.5–3.3 ms/frameincard_stepsand4.4–5.3 ms/frameincopies & fills. Per-slotconstant_slotcalls repeatedly take/dropSHADER_HEAPSlocks and queryhost()/GetGPUVirtualAddress(), while fill-only submissions still pay full read-range merging andBox<dyn Iterator>overhead inplan_with.Changes
crates/victory-gpu/src/host/card_steps.rs:MOSTfrom12288to16384.Box<dyn Iterator>boxing when planning fill-only/no-copy submissions, while preserving!given[i]checks inin_the_wayandserved_fills.places/heldand usesheld.retain, plus reuses bounded thread-localSLOT_BATCHscratch storage (flush_slot_batch) per worker shard insideland::each_view/land::each_under.plan_handles_fill_only_lazy_behind_coalescing_and_served_placed.crates/victory-gpu/src/descriptor.rs&crates/victory-gpu/src/descriptor/host.rs:constant_slots(using single-heap fast path plus order-preserving per-heap grouping with bounded thread-localCONSTANT_SLOT_SCRATCH) forwarding toHostHeap::constant_at_batch(adapted to upstream's 16-shardretire_resource).constant_at_batch_writes_slots_and_retires_replaced_buffersandconstant_slots_batches_across_heaps_and_handles_empty_or_stale.Attribution
Ported from FoxHound v0.8.1:
readmet3xt-lab/foxhoundcommit6c67166d(PR #36, authorDilim0n,GPL-3.0-or-later). Commit trailers and source doc comments creditDilim0nandreadmet3xt-lab.Verification
upstream/main(41adb551):git diff --check upstream/main..HEADclean; trailers intact (Co-authored-by: Dilim0n,Co-authored-by: readmet3xt-lab).cargo clippy -p victory-gpu --no-deps --all-targets --lockedand--all-featureswith-W clippy::undocumented_unsafe_blocks:0new warnings vsupstream/mainbaseline (41adb551).cargo test -p victory-gpu --lib --locked host::card_steps:: -- --test-threads=1->22 passed; 0 failed; 1 ignoredcargo test -p victory-gpu --lib --locked descriptor:: -- --test-threads=1->106 passed; 0 failed; 2 ignoredCouncil review
Rounds: 4
gpt-6-luna,xhigh)gpt-6-luna,xhigh)gpt-6-luna,xhigh)Created in T3 Code (reviewed by Council: 3× gpt-6-luna on xhigh).
192a15a3e6to2706a11570View command line instructions
Manual merge helper
Use this merge commit message when completing the merge manually.
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.