Repository navigation
D3D12.X: stub orphaned older command list slots on the newer layout (#104) - #310
Open
Michael-Glaser wants to merge 1 commit into
Open
Michael-Glaser wants to merge 1 commit into
Michael-Glaser wants to merge 1 commit into
Conversation
|
Windows run for this PR (the description lists it as not built or run on Windows): Tested
Not tested
AI use
|
Michael-Glaser
force-pushed
the
fix/d3d12x-orphaned-list-slots
branch
from
November 24, 2026 00:16
644967f to
de0a429
Compare
…vall#104) On newer GDK runtimes (QUEUE_SHIFTED), 20 command list console methods shift up by +2 via NEWER_LIST_SLOTS, leaving 11 older slots (ivall#59, ivall#60, ivall#68, ivall#69, ivall#78, ivall#81, ivall#84, ivall#88, ivall#89, ivall#93, ivall#94) without another shifted method taking their old index. Those slots remained wired directly to the older layout's handlers, so a newer-layout call hit the wrong method. Wrap those orphaned slots in make_layout_split so newer-layout title calls go to a logged stub while older-layout titles keep the handler and non-title callers keep their PC target (including cl_execute_indirect at ivall#59 and the original base-table stub for slots >= scanned). Slot ivall#10 (Reset) stays Reset on both layouts and is not orphaned. Assisted-by: Antigravity (Gemini 4 Neon)
Michael-Glaser
force-pushed
the
fix/d3d12x-orphaned-list-slots
branch
from
November 24, 2026 13:50
de0a429 to
bf1d03c
Compare
Michael-Glaser
marked this pull request as ready for review
November 24, 2026 13:55
|
Regression run on a retail title for Tested
main: this PR: Not tested
AI use
|
Contributor
|
Verification on RTX 3060 Ti (Windows 11), branch merged with current
Thanks! |
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.
Part of #104. On newer GDK runtimes (
QUEUE_SHIFTED), 11 shifted command list slots (#59, #60, #68, #69, #78, #81, #84, #88, #89, #93, #94) remained wired to older-layout handlers instead of stubs.What is in it
crates/xcl/src/hle/d3d12x/real.rs: wrap orphaned older slots inmake_layout_split(leaving#10Resetintact and keeping PC targets includingcl_execute_indirectat#59), plus unit testlist_layout_tests.Tested
aarch64-apple-darwin, Rust 1.100.0):cargo check --offline --target x86_64-pc-windows-msvc --workspace --tests(0 errors, 0 new warnings).Not tested
cargo test, GPU tests, andscripts/smoke.ps1not run yet.AI use