GPU: report host resources held by descriptor heap slots in diagnostics #1449
No reviewers
Labels
No labels
accessibility
area: build
area: formats
area: gpu
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
request
run report
triage: confirmed
triage: has patch
triage: merge candidate
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/Marvisak--VIctory!1449
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-1449"
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?
@fuzeofficlal on GitHub · 2026-11-24 18:05 UTC · original
fuzeofficlal:feat/diagnostics-heap-slot-host-resource-895→main· +235 −17 · 3 files · 1 commits · openFixes #895.
Summary
HostHeap::slot_host/describe_resource(#[cfg(feature = "diagnostics")]) and include the underlyingID3D12Resourcesummary (host 2d WxH fFMT mips M,host 3d ...,host buffer 0x...B, orhost none) inHostHeap::describe_slot(including dynamic and stale slots) andState::readswithout eagerly allocating uncreated host heaps.Verification
describe_slot_reports_missing_and_live_host_resourcestesting null, unbacked, committed 2D multi-mip texture, dynamic, stale/released, and buffer slots underVICTORY_D3D12_DEBUG=1on NVIDIA GeForce RTX 5090 and Microsoft D3D12 WARP.cargo clippy --workspace --all-targets --all-featuresandcargo xtask policy: passed.@Marvisak on GitHub · 2026-11-25 01:28 UTC · original · edited 2026-11-26 01:19 UTC
Automated triage for the maintainers.
Still a merge candidate. The new head
25a6030is the same change rebased onto currentmainas one commit. It is diagnostics only.HostHeap::describe_slotandHostHeap::slot_host(descriptor/host.rs) name the hostID3D12Resourcethat a slot keeps. They also cover dynamic and stale slots.State::reads(draw.rs) finds the heap throughheap_of/Heap::indexand reads it through the newHeap::existing_host, so it no longer creates a host heap as a side effect. I checked the index handling against main'sHostHeap::new, wheremadehascountentries andkepthascount + extra. A title handle maps only belowcount, so the newdynamicbranch is never reached fromState::reads. The branch merges cleanly, and CI (check) passes on this head.Generated by Claude Code
@fuzeofficlal on GitHub · 2026-11-25 10:39 UTC · original
Amended commit message in
cfbdee2b(no code change, tree identical to7d8720f1) to addCo-authored-bycredit for @rpmaster2 from #895.View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.