Repository navigation
Conversation
This was referenced Nov 24, 2026
tedin7
marked this pull request as ready for review
November 24, 2026 18:25
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
tedin7
force-pushed
the
x2w-frontier-b2-slot38
branch
from
November 24, 2026 19:35
d251d8f to
17979da
Compare
This was referenced Nov 24, 2026
Merged
tedin7
force-pushed
the
x2w-frontier-b2-slot38
branch
from
November 25, 2026 01:11
17979da to
ec40f9d
Compare
… constants on a root signature change
tedin7
force-pushed
the
x2w-frontier-b2-slot38
branch
from
November 25, 2026 08:27
ec40f9d to
b8885ac
Compare
Collaborator
Author
|
Closing this PR for now to keep the Windows test queue short. Nothing is wrong with it and the branch stays as it is. We will reopen it once the queue is clear, re-run the Win2025 WARP checks at its head, and post the result here. AI-assisted; commands listed were executed locally. |
tedin7
pushed a commit
to tedin7/Xbox2Windows
that referenced
this pull request
Nov 26, 2026
tedin7
pushed a commit
to tedin7/Xbox2Windows
that referenced
this pull request
Nov 26, 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.
Records the command-list call
SetGraphicsRoot32BitConstant(console slot 38, desktop 34 + 4) so a translated shader can read a single root constant word. Slot 38 is DERIVED from the desktop order plus the console shift; it has not been seen in a title log.Changes
list_root_constant(parameter, value, offset)insrc/startup_stubs/d3d12_draw.inlstores one word in the per-list table that slot 40 already fills. A null list, parameter >= 16, or offset >= 8 is dropped. Nothing is forwarded to the desktop list.list_graphics_root(slot 34) now also clears the stored root constants when the root signature changes, next to the root addresses cleared by 61a55f6. Setting the same root signature again keeps them. This applies to slot 40 too.tests/startup_mrt_check.pygets eleven cases (set, overwrite, offset 3 read at offset 3 and at offset 0, preserving offset 0 written through slot 40 while writing offset 3 through slot 38, corner (15, 7), four out-of-range calls, same root, switched root, and no call). They run in the existingstartup_mrt_{fxc,dxc}_{warp,hardware}tests, driven bydraw_root_constantintests/startup_root_cbv.cppand alternate root creation intests/startup_stream_setup.cpp. No change toCMakeLists.txt.docs/startup-runtime.mdanddocs/experiments.mddescribe the slot and its synthetic coverage.Verified
At commit
d251d8fbb6b2ead97aea77a9a9facf7f0d3d3b98:git diff --check,python3 -B -m py_compile tests/startup_mrt_check.py,python3 -B tests/docs_links_check.py(17 files, 367 links),python3 -B tests/bidi_controls_check.py(1304 files): pass.--preset dev):cmake --build --preset dev --target startup_stream_consumer -- -j 8(25.06s);ctest --preset dev -R '^(startup_mrt_|startup_root_cbv_|startup_stream_draw_)' --parallel 6 --no-tests=error --output-on-failure: 8/8 passed (10.70s:startup_mrt_fxc_warp,startup_mrt_dxc_warp,startup_mrt_fxc_hardware,startup_mrt_dxc_hardware,startup_root_cbv_warp,startup_root_cbv_hardware,startup_stream_draw_warp,startup_stream_draw_hardware)./O2(--preset release):cmake --build --preset release --target startup_stream_consumer -- -j 8(41.25s);ctest --preset release -R '^(startup_mrt_|startup_root_cbv_|startup_stream_draw_)' --parallel 6 --no-tests=error --output-on-failure: 8/8 passed (9.69s).startup_mrt_dxc_warp):list_root_constantto ignoreoffset(constants[parameter][0] = value):startup_mrt_dxc_warpfailed on('offset3', '0 3', '01000000020000000100c07f01000080', '01008000020080000100407f01008080')(exit 1).std::fill_n(&pass.constants[0][0], 16 * 8, 0u)inlist_graphics_root:startup_mrt_dxc_warpfailed on('switch_root', '0 0', '01008000020080000100407f01008080', '01000000020000000100c07f01000080')(exit 1).Not verified
llvm-mcstep: this change has no shader assembly.AI-assisted; commands listed were executed locally.