Repository navigation
startup: name the command list slots the noop log can state - #1788
Merged
Merged
Conversation
The x2w-noop line of a command list slot now reads CommandList::slot14(Dispatch) where the slot is known: 0 to 9 and 12 to 25 in the public desktop order, 32 to 59 as the desktop slots 28 to 55 plus four, and 139 (Reset). Slots 10, 11, 26 to 31 and everything from 60 up stay unnamed.
This was referenced Nov 24, 2026
tedin7
marked this pull request as ready for review
November 24, 2026 18:55
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. |
This was referenced Nov 24, 2026
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.
Refs #870.
Change
The
x2w-noopline of a command list slot now names the slot where the name is known:CommandList::slot14(Dispatch)instead ofCommandList::slot14. The formslotN(Name)follows the existingDevice::slot10(CreateGraphicsPipelineState)lines, andtools/startup/triage_run.pyreads the slot number withslot(\d+)\b, so the triage grouping is unchanged.src/startup_stubs/command_list_slot_names.h: plain C++, no Windows types.d3d12_xs_device.cpp: one include and four lines innoop_slot, only for the command list kind. No function behaviour changes; only the logged name does.tests/startup_command_list_slot_names.cpp, registered after thestartup_draw_bmpcontrols inCMakeLists.txt.What is named, and what is not
d3d12_xs_device.cppEvery named slot in
0..9,12..25, and32..59(desktop + 4) was cross-checked against the public Windows SDKd3d12.hID3D12GraphicsCommandListVtbl(53 named slots total, 0 mismatches).Test and results
Windows Server 2025 (Build 26100, MSVC 14.44.35207 + D3D12 WARP) at
4e47decc--preset dev):cmake --build --preset dev --target d3d12_xs_shim startup_command_list_slot_names d3d12x_graphics_list_check -- -j 8: builtd3d12_xs.dll(d3d12_xs_device.cpp) and tests (20.10s).ctest --preset dev -R "^(startup_command_list_slot_names|d3d12x_graphics_list_warp)$" --parallel 6 --no-tests=error --output-on-failure: 2/2 passed (startup_command_list_slot_names0.02s,d3d12x_graphics_list_warp0.05s)./O2(--preset release):cmake --build --preset release --target d3d12_xs_shim startup_command_list_slot_names d3d12x_graphics_list_check -- -j 8: builtd3d12_xs.dlland tests (38.14s).ctest --preset release -R "^(startup_command_list_slot_names|d3d12x_graphics_list_warp)$" --parallel 6 --no-tests=error --output-on-failure: 2/2 passed (startup_command_list_slot_names0.02s,d3d12x_graphics_list_warp0.05s).command_list_slot_names.h,--preset dev):console_shiftchanged4 -> 3:startup_command_list_slot_namesFAILED (39 check(s) failed, expected).last_shifted_slotchanged59 -> 63:startup_command_list_slot_namesFAILED (4 check(s) failed, expected).Linux (local)
g++ -std=c++17 -O2 -Wall -Wextra -fsanitize=address,undefined -fno-sanitize-recover=undefined: no warnings,command list slot name checks passed.tests/docs_links_check.pyandtests/bidi_controls_check.pypass;git diff --check origin/main...HEADis clean.Not run
x2w-nooplog at slots 10, 11, 26 to 31 or 60+ corresponds to specific methods stays unknown and intentionally unnamed.AI-assisted; commands listed were executed locally.