startup: slot 70 memory SRV census lumps three different causes under texture_unavailable #2831
Labels
No labels
accessibility
awaiting author
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
priority: P0
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/R0Y00--Xbox2Windows#2831
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
@tedin7 on GitHub · 2026-11-26 12:42 UTC · original
Part of #870
Problem.
device_memory_srv(src/startup_stubs/d3d12_memory_srv.inl) refuses a texture view with the reasontexture_unavailablewhen no texture comes back for the supplied base and layout. Three different situations end in that one reason, and the code comment says so ("no resource there, or texels not readable or over 64 MiB"):existing_memory_texturefound nothing),x2w_local::readablefails for the layout's bytes),publish_tiled_texture).The census (
memory_srv_census.h, the "memory SRV refusals (slot 70)" line,tools/startup/triage_run.pySLOT70_REASONS) and the per-call log line carry only the lumped name, so a run that showstexture_unavailablecannot say which of the three to chase: a missing resource is a title/lifetime question, unreadable texels an address question, and a size over 64 MiB a limit question.Expected. Each refusal names its cause:
texture_no_resource,texture_unreadable,texture_over_64mib;texture_unavailableremains for a publication that fails for any other reason. The census line, the triage tool's reason list and the docs list the new names.Scope. Logging and counting only: no change to which views are published or refused.
Out of scope. Fixing any of the three causes.
@tedin7 on GitHub · 2026-11-26 12:42 UTC · original
Taking this one; a Draft PR will follow.