Repository navigation
tools: count Device::slot133 placements by outcome - #1697
Merged
Merged
Conversation
…ndled slots Handled slot133 lines end in 'aliased|not aliased gpuva=...', so the triage report counted them as unhandled (96 percent of the unhandled count in R0Y00#870). They are now counted in their own table by outcome (aliased, not_aliased, failed). A line with an HRESULT other than 0, or an uncommitted address, still counts as failed and as an unhandled event.
tedin7
marked this pull request as ready for review
November 24, 2026 17:33
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
denn0x
added a commit
to denn0x/Xbox2Windows
that referenced
this pull request
Nov 25, 2026
Brings R0Y00#1707 (output modifiers on float conversions, VEC_U_TO_F), R0Y00#1716 (operand-count guard), R0Y00#1697 (triage slot-133 counts) and test/tool PRs. Conflict: gfx2hlsl.py set_vf, took upstream's combined scale-then-clamp (same result as the local comment described). Semantic fixes: the local op_v_cvt_f16_f32 handler bypasses VEC_U, so it now applies R0Y00#1716's operand-count rule itself; the local coverage check expects R0Y00#1707's U((float(int(v0))) * 2.0) form for v_cvt_f32_i32 mul:2.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Handled
Device::slot133(CreatePlacedResourceX?)lines end inaliased|not aliased gpuva=...(buffers) ornot aliased [...](textures), not in the HRESULT, sotriage_run.pycounted every one as an unhandled slot. In the #870 report that was 3,406 of 3,554 events. The ABI note on slot 133 (placed resource at a title address, handled ind3d12_xs_device.cpp) traces this to the classifier, not to a gap in the stand-in.Change:
tools/startup/triage_run.py: a slot 133 line with-> 0x00000000is counted in a new table by outcome (aliased,not_aliased) and no longer counts as unhandled. A line with any other HRESULT, or the "not committed -> E_INVALIDARG" line, is counted asfailedand still counts as an unhandledDevice::slot133event. The table only appears when there are slot 133 lines, and it holds fixed tokens only (no addresses, no GPU addresses).tests/startup_triage_run_check.py: a log with an aliased success, a not-aliased success, a failure0x80070057, a texture success, an uncommitted address and one unrelated unhandled slot. Expected: outcomes 1 / 2 / 2, unhandled 2 (slot 133 failures) + 1 (other slot). Control: with the slot 133 rules switched off, the same log counts all five slot 133 lines as unhandled.docs/startup-runtime.md: one paragraph in the triage section.Verification:
python3 -I -B):python3 -I -B tests/startup_triage_run_check.py: 0 failed.python3 -I -B tests/docs_links_check.py: 17 Markdown files, 364 links, passed.python3 -I -B tests/bidi_controls_check.py: 1287 files, passed.git diff --check origin/main...HEAD: clean.if norm_hr == "0x00000000":->if True:):tests/startup_triage_run_check.pyfails (exit 1, 3 failed), plus 5 single-change mutations (rule removed, failed HRESULT counted as success, failure not counted as an outcome, not-aliased merged into aliased, uncommitted-address rule removed) each fail with exit 1.git merge-treeagainst#1598: 0 conflicts.df97a04bd8dbc57cbef85ead9d6f6d7c051aa80e:--preset dev):ctest --preset dev -R '^startup_triage_run$' --parallel 4 --no-tests=error --output-on-failure-> 1/1 passed (0.26s)./O2(--preset release):ctest --preset release -R '^startup_triage_run$' --parallel 4 --no-tests=error --output-on-failure-> 1/1 passed (0.29s).Not covered: no raw #870 log, so the real aliased / not-aliased / failed split is not known yet; this PR makes it countable.
AI-assisted; commands listed were executed locally.