View heap: take a 1,000,000-view heap where 2^21 does not fit #49
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/lobomfz--VIctory-xmem!49
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-49"
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?
@delacor on GitHub · 2026-11-30 23:07 UTC · original
delacor:viewheap-portable→main· +20 −5 · 1 files · 1 commits · merged 2026-12-01 20:55 UTCThe title reads its view records through one shader-visible heap of a little
over a million views plus the dynamic slots.
probe_view_limitrequired ahost that can make a 2^21-view (2,097,152) descriptor heap, and stopped the
run when the creation failed. A Navi 14 (RX 5500 XT, 256 MiB BAR) refuses
that heap, so xmem did not run there at all.
Such a host now takes a 1,000,000-view heap instead; a view index past its
null slot reads the null slot, exactly as every other host clamps. The
fallback comes from delacor/VIctory's
PORTABLE_VIEWS, which runs the sametitle on this card. The integer twins of typed buffer views stay off where
there is no room (the existing warn path).
Verified on the RX 5500 XT: with the fallback the same build reaches the
world and holds ~10 fps in a 100 s measured window (Series X profile, 1080p,
ray tracing off); without it, the run stops at device setup.