D3D12.X: keep inline split pipeline pieces on the foreground path #2424
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
goal:world-load
good first issue
help wanted
invalid
keep-open
off-goal
question
stale
test-only
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/xcl-dev--xcl!2424
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-2424"
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?
@razormontana on GitHub · 2026-11-25 18:26 UTC · original
razormontana:d3d12x/inline-split-build-demand→main· +42 −12 · 2 files · 1 commits · draftPart of #1269. Part of #2088 (workstream 4).
A title can build a lazy split compute pipeline inline at its first bind. Its helper jobs inherit the pending pipeline from the build thread. The inline path left that context empty, so a cold piece could wait for background commit headroom while the title was blocked on the build.
What is in it
an_inline_bind_makes_split_pipeline_pieces_wanted. With only the test added tomain, both pieces saw[0, 0]. On the PR they see[1, 1].Tested
cargo test --offline --locked -p xcl --lib hle::d3d12x::pso_async -- --test-threads=1 --show-output(debug): 12 passed, 0 failed, 0 ignored, zero GPU skip markers.cargo build --release --offline --locked --workspaceandcargo test --release --offline --locked --workspace --no-fail-fast -- --test-threads=4 --show-output: 1,290 passed, 1 failed, 46 ignored. The pass count includes 26 runtimeSKIPPEDmarkers (21 native wave64, 3 unsupported per-lane forms, 1 heap-window capability, 1 reserved cube with mip levels).a_bridged_mask_write_where_one_half_is_elsewhere_meets_no_barrier, found 3 barriers with 1 expected. The focused debug test gave the same result on cleanmain68a284aand on the PR. #2379 covers that assertion.Regression run
Both release builds ran the same retail title for 60 seconds in the Series S profile, with the same scripted inputs and networking disabled.
Main
PR head
Not tested
AI use
@FIJI1299 on GitHub · 2026-11-25 18:34 UTC · original
Tested commit
89bbbb4on Windows:Environment
621.40,wave32)1.8.2502.11(Windows SDK10.0.26100.0)Results
hle::d3d12xtest suite (cargo test -p xcl --lib hle::d3d12x): 229 passed, 0 failed, 2 ignored (including allhle::d3d12x::pso_asynctests).@DavidM1911 on GitHub · 2026-11-25 19:47 UTC · original
Verification on RTX 3060 Ti (Windows 11), branch merged with current
main:cargo test -p xcl --lib: 1 real failure, deterministic (also fails--test-threads=1, 1219/1):The lowered program is missing an expected group barrier (or emits one where none is expected). Needs a fix before merge.
— Devin
@thehollowedone on GitHub · 2026-11-26 02:20 UTC · original
Independent Windows check of #2424 head
89bbbb4on an RTX 3080 Ti / 621.35, Ryzen 7 9800X3D, Windows 11 build 26300, Rust 1.99.1 MSVC and DXC 1.8.2502.11.Exact head:
cargo build --offline --locked --workspacepassed.cargo test --offline --locked -p xcl --lib hle::d3d12x::pso_async -- --test-threads=1 --nocapturepassed 12/0/0, includingan_inline_bind_makes_split_pipeline_pieces_wanted.cargo test --offline --locked --workspace --no-fail-fast -- --test-threads=4reported 1,290 passed, 1 failed, 46 ignored, 25 SKIPPED notices. The sole failure wasa_bridged_mask_write_where_one_half_is_elsewhere_meets_no_barrier, also identified in the PR discussion; it is outside this diff.Current-main integration: On clean
mainb49be18, that barrier test passed 1/0/0. I merged the exact PR head into a separate worktree without committing or resolving any conflict. There, thepso_asynctests passed 15/0/0, the barrier test passed 1/0/0, and the same full workspace suite passed 1,436/0/47 with 25 SKIPPED notices. Both worktrees used separate Cargo targets. This suggests rebasing onto current main will remove the stale-base suite failure; the head and its required smoke block would still need to be rerun after a push.Not tested: a retail title, the cold split-pipeline wait path, AMD/Intel, or a paired smoke run on this machine. These tests verify scheduler state propagation and integration, not a measured world-load speedup. AI-assisted: Codex (GPT-6.2 Sol) read the diff, ran the tests, compared current main and drafted this report.
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.