Fix descriptor pressure, sparse mip uploads, and in-place heap fallback #30
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/DoubleGhosty--cool_fox!30
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/30/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?
@Xyzstk on GitHub · 2026-11-26 19:12 UTC · original
Xyzstk:fix/runtime-descriptor-and-mip-pressure→main· +720 −43 · 8 files · 5 commits · closed without mergingOn a Windows NVIDIA system with an 8 GB VRAM budget, the opening world dropped descriptor-bound draws and failed to use streamed texture mips. This change shares overlapping graphics-stage snapshots, honors sparse allocation requests, and makes the existing in-place graphics-heap path recognize the reservation form used at runtime. It also prevents a cold launch from losing persistent head initialization.
The commits address separate runtime problems:
CS_ComputeBlendshapeMappingsbefore its first dispatch, outside the ordinary compilation wait budget, so a missed one-time producer cannot leave later skinning without initialized inputs.MEM_RESERVE_PLACEHOLDER. Previously only the consolePAGES_64Kform was tracked, so page arrangement never ran for the native form and renderer port 1 fell back withScattered.Validation on Windows / NVIDIA:
--test-threads=1: 343 passed, 36 ignored, and two existing indirect-budget failures,host_list_budget_starts_empty_at_each_submissionandwarp_batch_charges_every_execution. A parallel default-feature rerun exited abnormally with0xc0000409; its cause remains unisolated. The focused sparse upload regression passes separately on the GPU.Runtime results with Series S and the existing shader/pipeline cache:
Reviewed the open PR list and inspected the potentially overlapping changes in #8, #25, #27, and #29. #25 changes wave32 shader lowering, and #27 pools texture readbacks; neither implements these runtime fixes. The changes are based on upstream
3277b15and contain implementation code and synthetic tests.@DoubleGhosty on GitHub · 2026-11-26 20:07 UTC · original
Merged into main via
46714ebwith native placeholder tracking, sparse mip allocation handling, and blendshape pre-dispatch initialization. Verified with cargo clippy and test suite.Pull request closed