startup: name the command list slots the noop log can state #1781
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/1788"
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?
Imported from R0Y00/Xbox2Windows. Originally posted by tedin7 on 2026-11-24T18:42:55Z.
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.
Imported from R0Y00/Xbox2Windows. Originally posted by chatgpt-codex-connector[bot] on 2026-11-24T18:56:00Z.
Codex Review Summary: ✅ Completed
This comment shows the latest Codex review activity on this pull request.
4e47decℹ️ About Codex in GitHub
Your 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.