perf(gpu): port placed-fill-on-card readback avoidance and incremental list fronts #408
No reviewers
Labels
No labels
accessibility
area: build
area: formats
area: gpu
area: launcher
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
run report
security: hold
triage: confirmed
triage: has patch
triage: merge candidate
triage: needs gpu test
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/Androtim--MiniVI!408
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-408"
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?
@Androtim on GitHub · 2026-12-03 20:19 UTC · original
Androtim:perf/placed-fill-card-and-list-fronts→main· +1490 −30 · 5 files · 5 commits · merged 2026-12-03 23:15 UTCSummary
Ports two verified GPL-3.0 GPU/CPU submission optimizations into \ictory-gpu:
In-Place Card Fill Readback Avoidance (\VICTORY_PLACED_FILL_CARD) — ported from \i-rdna4/VIctory-9070XT\ (\7b47335, GPL-3.0, license verified via GitHub API):
Incremental Per-List Front Folding (\VICTORY_LIST_FRONTS\ / \FrontAcc) — ported from \ReTerryDavis/ReVIctory\ (\d297b1, GPL-3.0, license verified via GitHub API):
Verification
- Port VICTORY_PLACED_FILL_CARD (plus VICTORY_PLACED_FILL_MULTI, VICTORY_PLACED_ORDER_AWARE, and VICTORY_PLACED_STALE_FIX) from vi-rdna4/VIctory-9070XT (7b47335, GPL-3.0): - When a constant-buffer fill rereads the destination of an in-place GPU copy kept out of title memory by in-flight submissions, repoint its dedicated descriptor slot to the destination host copy on the GPU instead of blocking the submitting thread for card completion. - Skip false waits for CPU readers standing strictly ahead of a kept in-place copy (when no in-flight write overlaps the read) and guard card_steps against leaving placed copies read stale on the CPU. - Port VICTORY_LIST_FRONTS (FrontAcc / ListFront / join_fronts) from ReTerryDavis/ReVIctory (ad297b1, GPL-3.0), adapted to MiniVI's disjoint-run span_envelope / span_gap splitting: - Incrementally fold per-list pre-write refresh spans, whole refresh spans, GPU writes, and staged textures during command-list recording instead of rescanning all deferred steps multiple times on victory-submit. - Preserve exactness across heap_order::take_into and HostList::take_coming refresh splices. - Add comprehensive unit tests for both host::place and host::front (including 6,000 randomized envelope and disjoint-run equivalence runs).github-bot referenced this pull request2026-12-03 20:37:01 +00:00
@Androtim on GitHub · 2026-12-03 20:32 UTC · original
Triage (
b69ec4f7, CIcheckPASS):+1,513/-30, 5 files:host.rs,card_steps.rs,front.rs,heap_order.rs,place.rs) with zero opt-in toggles (VICTORY_PLACED_FILL_CARD,VICTORY_PLACED_FILL_MULTI,VICTORY_PLACED_ORDER_AWARE,VICTORY_PLACED_STALE_FIX,VICTORY_LIST_FRONTSare all default-on with=0kill-switches).#282) (specifically checkingStep::Placedslot repointing / stale-read refusal &FrontAccsplice-dirtying invariants) + Gate 3 live plain---release1440p/4K A/B vsmain(565c8c15) +--features diagnosticsvisual verification.