tooling: report ExecuteIndirect outcomes in startup triage #2502

Merged
RonLogic merged 1 commit from upstream-pr/2510 into main 2026-11-25 19:23:11 +00:00
RonLogic commented 2026-11-25 19:02:48 +00:00 (Migrated from github.com)

Imported from R0Y00/Xbox2Windows. Originally posted by RonLogic on 2026-11-25T19:02:48Z.


Hey @R0Y00, I’m back!

Change

Refs #870 and #1759. Startup triage now includes the runtime’s cumulative
ExecuteIndirect census by outcome and command-signature kind. Each cell shows
its highest sampled count, so repeated or mirrored log lines do not inflate it.
The report only includes the fixed outcome labels and numeric counts from complete
snapshots. The table helps distinguish a lack of forwarded mesh calls from
graphics-pipeline refusals during a startup run.

Verification

Windows x64 build 26300, Release, commit 512259dc on ab3f4819.

cmake --build out/build/triage-release --target startup_indirect_draw_indexed --parallel 4
ctest --test-dir out/build/triage-release --no-tests=error -j 1 -R '^(startup_(triage_run|live_view|archive_requests|indirect_(draw_indexed_(warp|hardware)|counts_control_warp)))$' --output-on-failure
python -B tests/docs_links_check.py
git diff --check origin/main...HEAD

Six CTests passed, including the WARP and RTX 4070 runtime fixtures and the WARP
negative control. The docs link check passed. Passing the five emitted census
samples through the CLI produced three forwarded indexed draws and one
graphics-pipeline refusal for the indexed-draw signature.

The Python regression check fails seven new assertions when run with the triage
tool from main. With the patch it passes, including repeated snapshots, an
older snapshot read later, zero counts and malformed or private payloads.

I used Codex to implement the change and ran the checks on my Windows workstation.

<!-- greyfinch-sync:R0Y00/Xbox2Windows:issue:6611629362 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/pull/2510). Originally posted by [RonLogic](https://github.com/RonLogic) on 2026-11-25T19:02:48Z. --- Hey @R0Y00, I’m back! ## Change Refs #870 and #1759. Startup triage now includes the runtime’s cumulative `ExecuteIndirect` census by outcome and command-signature kind. Each cell shows its highest sampled count, so repeated or mirrored log lines do not inflate it. The report only includes the fixed outcome labels and numeric counts from complete snapshots. The table helps distinguish a lack of forwarded mesh calls from graphics-pipeline refusals during a startup run. ## Verification Windows x64 build 26300, Release, commit `512259dc` on `ab3f4819`. ```powershell cmake --build out/build/triage-release --target startup_indirect_draw_indexed --parallel 4 ctest --test-dir out/build/triage-release --no-tests=error -j 1 -R '^(startup_(triage_run|live_view|archive_requests|indirect_(draw_indexed_(warp|hardware)|counts_control_warp)))$' --output-on-failure python -B tests/docs_links_check.py git diff --check origin/main...HEAD ``` Six CTests passed, including the WARP and RTX 4070 runtime fixtures and the WARP negative control. The docs link check passed. Passing the five emitted census samples through the CLI produced three forwarded indexed draws and one graphics-pipeline refusal for the indexed-draw signature. The Python regression check fails seven new assertions when run with the triage tool from `main`. With the patch it passes, including repeated snapshots, an older snapshot read later, zero counts and malformed or private payloads. I used Codex to implement the change and ran the checks on my Windows workstation.
upstream-sync closed this pull request 2026-11-25 20:04:32 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
R0Y00/Xbox2Windows!2502
No description provided.