startup: name why ExecuteIndirect is refused in the graphics-pipeline, compute-pipeline and placeholder buckets, per pipeline key #3407
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#3407
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?
@SimSalabimse on GitHub · 2026-11-28 22:25 UTC · original
Status update · 1 December 2026
The keyed ExecuteIndirect refusal diagnostics and shareable reporting are on
mainind9b064e5ande799c4e1. Thestartup_per_reason_refusal_censusCTest andtests/startup_triage_run_check.pypassed on the #3640 integration. The separate direct Mesh86 backing refusals are tracked in #3641 and #3642.Part of #870. Refs #1759, #2413.
What this unblocks: after the menus, the runtime refuses most ExecuteIndirect calls, and the counters can say how many but not which pipelines or which cause. Picking the next mesh or compute slice needs that split.
Counts (one local start-up run of a retail title on the Windows test PC, after it left the menus; counts only).
x2w-render indirect:bucketSame run: pipelines translated / missing 57 / 300, compute dispatches with no translation 132,507. Frame rate went from about 25 in the menus to 2-5.
What
maindoes.list_execute_indirect(src/startup_stubs/d3d12_xs_device.cpp) gives one reason,indirect graphics requires a direct list with a matching desktop pipeline and root, for every case wherepass.indirect_graphics.rootis not set, the guest root differs, the list is not DIRECT, or the pipeline kind does not match. Those cases are different problems:.mesh57-stateprofile or no cached stage;X2W_TRANSLATED_INDIRECT_DRAWis opt-in;Only
indirect_otherrefusals reachPerReasonRefusalCensus. The graphics-pipeline, compute-pipeline and placeholder buckets only increment a counter, and their log line stops after 16. The census also stores at most 128(key, reason)pairs, and a run like this has 300 missing pipelines.Proposed change (one PR, diagnostics only, no change in what is accepted).
known_pipeline_key), printed with the five-second report.tools/startup/triage_run.pyprint the table (counts only, no keys in--shareableoutput).Fixture.
startup_per_reason_refusal_censusalready checks the census class without a device, so the cap and totals logic has a device-free test. The wiring is checked by extending the existingstartup_indirect_*source-built cases (WARP), one case per code, each with a control that must not hit the code.I will post before and after counts on the same kind of run.
AI-Assisted