feat(gpu,shader): opt-in VirtualDescriptorPager + SLOT_VIEW_MAP (t252) for NVIDIA 1M view heap cap #1300
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/fxceless--victory-fork!1300
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-1300"
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?
@POMXARK on GitHub · 2026-11-26 13:05 UTC · original
POMXARK:feat/virtual-descriptor-pager→main· +653 −82 · 8 files · 2 commits · openRef #1199 (Follow-up Virtual Descriptor Pager Draft PR ported cleanly onto
ceb9e1f).100% opt-in via
VICTORY_VIEW_PAGER=1(autoonPORTABLE_VIEWScapped hosts) orVICTORY_VIEW_PAGER=force— completely inactive by default (VIEW_PAGER = false, shadertranslation_fingerprintkeys cleanly onview_heap_paged()).Design summary
victory-shader(emit/shader.rs,emit/lower.rs,emit/mod.rs): adds root SRVSLOT_VIEW_MAP(t252,SLOT_VIEW_MAP_COUNT = 2^21) and translatesRootType::ResourceHeapindices through a bounds-clamped lookup intot252only whenview_heap_pagedis enabled.victory-gpu(descriptor/pager.rs,descriptor/host.rs,draw.rs,pipeline/host.rs): preserves direct1:1physical slots belowcount, reserves[count + pool .. null_slot)for disjointDYNAMICtables, and pages overflow virtual slots through a Clock Second-ChanceVirtualDescriptorPagerwithview_mapupdates andmade_nowlock-free fast-path guarded cleanly (index < self.count).Verification (Windows 11 + NVIDIA GeForce RTX 5080 on
ceb9e1f)cargo test --release -p victory-shader:220 passed; 0 failed(3ignored, includingpaged_resource_heap_emits_valid_dxil_with_view_map_srvDXIL validator check)cargo test --release -p victory-gpu descriptor:::37 passed; 0 failed(includingpaged_host_heap_maps_slots_past_portable_views_on_d3d12and allpager::tests)ceb9e1f3fe694c921@POMXARK on GitHub · 2026-11-26 19:35 UTC · original
Merged
fxceless/victory-fork:mainintofeat/virtual-descriptor-pagerand resolved both merge conflicts (crates/victory-gpu/src/descriptor/host.rsrelease(id, first, n)+crates/victory-shader/src/emit/mod.rs).Re-verified on Windows 11 + NVIDIA RTX 5080:
cargo check -p victory-gpu -p victory-shader: PASScargo test --release -p victory-shader: 234 passed; 0 failed (4 ignored)cargo test --release -p victory-gpu descriptor::: 43 passed; 0 failedMarked Ready for Review.
View 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.