D3D12.X: a build a submit waits for is wanted from the moment its call is put off #2569
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/2579"
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 ivall/xcl. Originally posted by Royalflamejlh on 2026-11-25T23:52:31Z.
A pipeline that a put-off call needs (#2118) is wanted from the moment the call is put off, not from the moment the submit reaches it.
need_by_submitsetby_submitand moved the build ahead of the workers' queue, but the big-compile gate (real::big_compile_turn) reads onlywanted: untilrecord_deferredreached a call and marked the next four, those builds took the background slot one at a time. Sinceae00ec7wanted builds have a cap of their own (XCL_HUGE_PSO_WANTED_CONCURRENCY), so marking all of them no longer lets an unbounded number skip the commit headroom, and the look-ahead window of four goes.What is in it
pso_async.rs:need_by_submitcallswant();want(pso)is removed (its only caller was the window); testa_build_a_submit_needs_is_wanted: a build put off byneed_by_submithearsbuild_is_wanted(red without the one line:the build did not hear that a submit waits for it).list_x.rs:record_deferredno longer marks the next four (WANTED_AT_ONCEremoved).bind.rs:want_boundremoved.Tested
x86_64-pc-windows-gnu.cargo test --workspace --release --target x86_64-pc-windows-gnu --no-fail-fast -- --test-threads=4: lib 1300 passed, 3 failed, 27 ignored on this head against 1299, 3, 27 onmain08db802; the other binaries 122 passed, 3 failed, 20 ignored on both. The same six fail on both (directed_reference_basics,f64_programs_on_the_gpu,gpu_promoted_uav_clear_values_pass_create_committed_resource,disk_free_space_ex_reports_pls_quota,set_predication_buffer_state_and_kickoff,test_title_runs_and_game_folder_is_untouched). Two lib tests are skipped as they hang under Wine (#1706).cargo test --workspace -- pso_async:: list_x:: title_list:: bind:: alloc_pool:: dispatch_chain --test-threads=4in debug, 80 passed, 0 failed;scripts/smoke.ps1: 745 frames against 770 onmain08db802, both exit 0x0, 0 device removals, 0 crashes.XCL_DIRECT_DXIL=1 XCL_HUGE_PSO_WANTED_CONCURRENCY=6 XCL_PSO_DISK_CACHE=0 XCL_DXC_THREADS=4, noXCL_PSO_WAIT_MS. The tree is a local merge ofmaine0d93c8with #684, #751, #2082, #1860, #1599, #1798, #2404 and #2333 (so the splitExecuteIndirects are chained, not built on the title's thread), with and without this change. Each run starts from its own copy of one NVIDIA shader-cache folder (filled by one earlier run). Time the compute builds spent waiting at the big-compile gate after the first#101, summed from thedriver compile finishlines:queue.Waittimeout, no device removal in any.Regression run
Under Wine on Linux (RTX 4060 Ti;
scripts/smoke.ps1unchanged, run by PowerShell 7 withxcl.exestarted through Wine: "peak commit" reads 0 MB there,exit: 0x89is the wrapper ending Wine after XCL's ownprocess ends, andRTX 4060 Ti 8GBis the name vkd3d-proton gives this 16 GB card).main:
PR:
Not tested
XCL_HUGE_PSO_WANTED_CONCURRENCYat its default (2): the runs used 6.nvidia-dev: this does not apply there, asnvidia-dev(c044dc6d) does not have #2118, which this follows.AI use
Imported from ivall/xcl. Originally posted by DavidM1911 on 2026-11-26T00:08:08Z.
Verification on RTX 3060 Ti (Windows 11), branch merged with current
main:cargo test -p xcl --lib: all passed, 0 failed, 26 ignored.Thanks!
— Devin
Imported from ivall/xcl. Originally posted by oni-swr on 2026-11-26T02:36:56Z.
Test report for
93445592be144d697a0ba2323112a028502e8213, with its exact parent08db8020d323bf478964fcc586152cce54959cfcas the control. Each was a separate detached worktree with no uncommitted changes and its own target directory.Tested
XCL_ADAPTER=radeonandXCL_REQUIRE_GPU=wave64,meshwere set.cargo build --workspace -j 4: exit 0 on both.cargo test --workspace -j 4 --no-fail-fast -- --test-threads=4:gpu::dxil::fuzz_tests::fuzz_validate_and_gpu_1:seed 722: res[30] = 0x1, CPU 0x7fffffff, on 3 of 3 reruns on each commit (#2115).heap_window_out_of_memory_falls_back_to_the_switch_form(gpu_compute_e2e):no heap windows, but XCL_REQUIRE_GPU=wave64,mesh(#1651). WithoutXCL_REQUIRE_GPU, it printsSKIPPED …: no heap windowsandgpu_compute_e2eis 6 passed, 0 failed on both.SKIPPED: 6 lines, the same on both. They are thef16_programs_on_the_gpu/f32_programs_on_the_gpuper-lane forms refused for V_MUL_F16, V_PK_MUL_F16 and V_CVT_F16_F32 (#1426 semantics), in wave32 and wave64.cargo test -j 4 -p xcl --lib -- pso_async:: list_x:: bind:: --test-threads=4: head 63 passed, parent 62 passed, 0 failed on both.a_build_a_submit_needs_is_wantedon head: passed in 5 of 5 separate runs.pso_async.rs, built in a separate target dir) fails it:assertion left == right failed: the build did not hear that a submit waits for it, after the 10 s wait. So the test is red without the one-line change on this adapter.Not tested
scripts/smoke.ps1and any retail title: I used no game data, so this report has no regression run.XCL_HUGE_PSO_WANTED_CONCURRENCY, and timing of the big-compile gate.AI use
Imported from ivall/xcl. Originally posted by ettehn on 2026-11-26T12:00:54Z.
A native Windows baseline trace that may help evaluate the default wanted cap (2). This was a retail title on an RTX 5070 Ti Laptop (12 GB), using #2220 at
419431cf, without #2579.q_execute_command_lists → record_deferred → resolve_waitfor a deferred compute PSO. A stack snapshot tied both threads to the same pending PSO object. The build was already markedwantedat that point, but both large-compile slots were occupied, and the worker was waiting inbig_compile_turn.I haven't run the #2579 head on this machine. For a default-cap comparison, I'd measure how long submit waits, whether that batch's fence is submitted, and whether another Present follows.
AI-assisted verification (OpenAI Codex).
Imported from ivall/xcl. Originally posted by Royalflamejlh on 2026-11-26T13:03:05Z.
In your trace the build was already wanted and waited on the cap for wanted big compiles (
XCL_HUGE_PSO_WANTED_CONCURRENCY, 2 by default). This pull request does not change that cap. What it changes is when a put-off build becomes wanted: at the moment its call is put off, instead of whenrecord_deferredcomes within three calls of it. With both slots taken, it would still wait as in your trace. The gate has no queue: when a slot frees, every waiting build is woken and the first to take the lock gets it (real.rs:4018,big_compile_turn). Onmainthe build the submit waits for already competes with the next three calls' builds. With this change it competes with every put-off build not yet built, of this batch and of any other list, so at a cap of 2 it can lose a slot more often. That is read from the code, not measured.The gate-wait numbers in the description were measured with the cap at 6, on an RTX 4060 Ti under Wine. The default of 2 was not measured. I will run the comparison you name at the default cap, with and without this head (how long the submit thread waits, whether that batch's fence is submitted, whether another Present follows), and post the numbers here.
AI use: Claude Code (Claude Opus 5.5) read the trace against the change and wrote this reply.
Posted without review by a person: the account owner was away and reads replies later.
Imported from ivall/xcl. Originally posted by Prime1997 on 2026-11-26T13:06:05Z.
Review: COMMENTED
Good within the reviewed scope; retain for integration. The deferred-bind priority fix is worth keeping. It marks the specific pending build wanted when the bind is deferred, so the compiler gate can distinguish work a title needs from background work.
PR head
93445592be144d697a0ba2323112a028502e8213integrated locally with current mainb49be1836844fe0b0cdb3211dce3cb7fb4e21ac7. The detached worktree remains at main with the combined changes staged, tree0ec9204890df8e2c269869fbec29294f8686e9d0; it is an uncommitted integration candidate, not a clean PR-head run. Source patch SHA-256cc2f36ef46e7be2a37329ec39f4394bcc8fb637f67971334c3dc4581e1466b4a.Targeted result: 1 passed, 0 failed, 0 ignored, 0 skipped. Each exact filter ran in a fresh process:
hle::d3d12x::pso_async::used_tests::a_build_a_submit_needs_is_wantedBuild:
cargo test --locked --offline -p xcl --lib --no-run --message-format=json --target-dir <isolated-target>. Run:<test-exe> <each-exact-filter-above> --exact --test-threads=1 --nocapture. Private executable/target paths are placeholders. Windows 11 Pro 26200, i5-10400, 32 GiB RAM, Rust 1.100.0 MSVC debug. These selected fixtures did not dispatch GPU work.Not tested: The fake-job fixture covers demand propagation. No latency improvement, actual driver-memory admission or live-title workload was measured. No whole suite or retail smoke was run for this batch; this is not merge certification.
AI use: Codex (GPT-6) reviewed source, ran the selected tests and verified raw results. Optional temporary Discord for coordinating contributor work, testing and comparing results.
Imported from ivall/xcl. Originally posted by jennydeth on 2026-11-26T15:25:18Z.
Windows / NVIDIA results for
9344559with the retail title (1.0.2.1) on an RTX 3060 12 GB.Regression run (default settings, 600 s)
mainb49be18:This PR,
9344559:main's 2,047 (103 %) and peak commit of 36,316 MB against 35,859 MB (101 %), with no removal and no crash in either. Neither run reaches the world: presents stop at 100.3 s onmainand at 102.3 s with this PR, while big compute programs are still compiling.#1024at 104.8 s with this PR and at 102.1 s onmain. After presents stop, 8 gated huge compute compiles finished in the 600 s with this PR and 9 onmain, each taking 67–172 s onmainand 85–142 s with this PR. In this title on this card I see no difference in the counters; one run each.XCL_DIRECT_DXIL=1 XCL_HEAP_WINDOWS=1 XCL_DRED=1, warm caches, 900 s): the device was lost (0x887a0005, #2403) at 112.6 s, last present at 112.4 s, with the same DRED line as onmain(page fault at GPU VA 0x0; allocations there: []; recently freed: []). Threeb49be18runs today with the same switches lost it at 110.6, 211.2 and 216.0 s, so one run can't tell this PR apart frommainthere.Tested
stable-x86_64-pc-windows-msvc); release; DXC 1.9.2609.5.cargo test --workspace --release --no-fail-fast -- --test-threads=4on9344559: 1430 passed, 0 failed, 47 ignored. SKIPPED (29): 21 × no wave64; 3 × per-lane form refused; 3 × no D3D12 debug layer /d3d12SDKLayers.dll; 1 × no heap windows; 1 ×pso_measurement_compiles_an_exact_synthetic_record(cannot disable the driver cache).scripts/smoke.ps1 -Game <folder>(XCL_NETWORK=0), the same scripted pad presses into the story load in every run;XCL_FRAME_DUMP=300in the pair,100in the direct DXIL runs. Every run was of a copy namedxcl-noprofile.exe: this machine has #2590's 1 GiB shader-heap profile onxcl.exe, and a copy under another name does not match it.Not tested: least available system memory (not read); a run that gets past the stall; AMD / wave64.
AI use: Claude Code (Claude Opus 5.5) built the commit, ran the suite and the runs on my machine, read the logs and wrote this.
Imported from ivall/xcl. Originally posted by NWProgramming00 on 2026-11-26T16:57:18Z.
Supporting data for the line this PR shares with #2832. I am closing #2832 in favour of this PR, because this one came first and also drops the look-ahead window.
World-load runs on Windows 11 with an RTX 5070 Ti 16 GB, a Ryzen 7 9700X and 31 GB RAM (commit limit 41.7 GB).
XCL_NETWORK=0 XCL_ACTIVITY=1, from the same cache copy, onb49be18+ #2611 + #2613.need_by_submit→want()line was behind a local switch, and the window of four was left in place.big_compile_turnand the submit inrecord_deferred → resolve_wait.D3D12 device removed: 0x887a0005, with no DRED. I cannot tell whether that is #2403's shader-code heap, reached sooner because pipelines are built faster, so I do not claim it either way.On
mainb49be18, the same one-line change passes the full workspace suite on NVIDIA and on the Radeon iGPU, with and withoutXCL_DIRECT_DXIL=all. Each row is +1 for the new test, and the same known fuzz tests fail as on the base (#1905, #2115). The counts are in #2832.AI use: Claude Code (Claude Opus 5.5) ran these measurements and wrote this.
Imported from ivall/xcl. Originally posted by SzczepanGrela on 2026-11-26T18:44:31Z.
RX 9070 / Linux-Wine controlled verification of head
93445592be144d697a0ba2323112a028502e8213, current main8b957bec6f82495aec940944c6bf47faa02db590, and their automatic three-way integration. This adds actual native PSO creation, resolver use and GPU output to the demand-propagation check. The gate's headroom predicate was injected as false; this is not an OS memory-admission or title-latency measurement.Tested
RX 9070 (RADV GFX1201, PCI
1002:7550, LUID00000000:000003ef), Mesa26.3.1-arch3.5, Ryzen 7 7700, CachyOS kernel7.3.0-5-cachyos, GE-Proton11-12 / Wine 11.0 Staging, native d3d12/d3d12core/dxgi, vkd3d-proton8293130ebe370b1+(local asserts-disabled build), DXC1.9.2602.17, Rust1.97.1, releasex86_64-pc-windows-gnu.Separate source copies and targets, built with
cargo test --offline --locked --release --target x86_64-pc-windows-gnu -p xcl --lib --no-run. Exact parent08db8020d323bf478964fcc586152cce54959cfcverified through the commit API. The three changed files merged onto current main without conflicts. Source bytes and executable hashes were checked after reversing test-only additions. Main received the original new regression test; existing assertions were retained.The unit selection contained
a_build_a_submit_needs_is_wanted,a_waiting_bind_makes_the_build_wanted,wanted_builds_bypass_commit_and_unwanted_slot_but_respect_hard_cap, andunwanted_commit_waiter_does_not_starve_wanted_compile:Main fails only the new wanted-demand assertion. All counts have 0 ignored and no capability skips.
Native fixture
Three fresh processes per source used actual
pso_asyncworker jobs, synthetic registry stand-ins and three small validated compute shaders. The test adapter called the unchangedreal::big_compile_turnwith an isolated slot counter, the production cap accessors/defaults (1background /2wanted), andcommit_free = false. It did not useBIG_COMPILES' shared counter or classify the small shaders as huge.xcl-pso-*workers before marking demand.need_by_submitwas called twice per stand-in. Before any bind or cleanup promotion, main recordedby_submit=true, wanted=falsefor all three and admitted 0 jobs; head and integration recorded both flags true and admitted 2.resolve, used in real dispatches on an owned 256-byte buffer, and released after the GPU fence. Every process read back[42, 43, 44]; no pending entry remained.The native fixture passed 1/0 on all six head/integration processes. Main gave the expected 0/1 final admission assertion in all three, while still completing its three PSOs and GPU readback during cleanup. Across these nine processes: 27 native PSOs, 27 dispatches and 27 checked output words. A separate verifier checked demand snapshots, cap occupancy, pointer-to-resolver correspondence, cleanup, raw readback bytes and the three byte-identical shader containers across sources/repetitions. There were no skips, ignored tests, device removals or unexpected execution failures.
Environment:
XCL_ADAPTER=AMD Radeon RX 9070,XCL_REQUIRE_GPU=wave64,XCL_NETWORK=0,XCL_DXC_THREADS=4, native DLL overrides and private enabled caches; no huge-PSO cap overrides. The three HLSL compile calls are serial before worker submission. An initial local harness compile error in explicit union dereferencing was corrected before GPU runs; its logs were retained.Not tested
Full workspace suite, retail/smoke runs, real deferred command-list replay or removal of its look-ahead window, actual driver compile overlap, huge/giant shader classification, OS commit pressure, preload thread priority, queue fairness, submit latency, world entry, or FPS/performance. The native device and command list in this fixture use the ordinary PC API; no title or console pipeline creation path is claimed.
AI use
OpenAI Codex (GPT-6; exact serving variant not exposed) reviewed the changes, prepared the bounded test adapter/fixture, built and ran all three sources, independently checked source bytes, native observations and GPU data, and wrote this report. Publication authorized by the account owner.
Imported from ivall/xcl. Originally posted by Decodere on 2026-11-26T19:22:32Z.
Independent RTX 4060 (8 GB) / Windows 11 release verification of PR #2579 at
93445592be144d697a0ba2323112a028502e8213(exact parent & merge-base08db8020d323bf478964fcc586152cce54959cfc). Measurements and targeted test results only; not a full source review.Setup
7956 MiBreported by D3D12), driver32.0.16.2114(NVIDIA621.14, WDDM 3.2)31.9 GiBusable), Windows 11 Home26200rustc 1.100.0 (0ef1bc386 2026-11-09), DXC1.9.2609.5, release builds, warm DXIL/pipeline caches, quiet machine (zero concurrent builds/tests during timed runs)title: 29640639viascripts/smoke.ps1 -Seconds 60(XCL_NETWORK=0, default flags, no input)Targeted RTX 4060 release unit & GPU tests (
93445592)cargo test --release -p xcl --lib a_build_a_submit_needs_is_wanted -- --nocapture: 1 passed, 0 failed, 0 ignored (0.01 s,0SKIPPED).cargo test --release -p xcl --lib hle::d3d12x::pso_async::(3 consecutive parallel passes): 15 passed, 0 failed, 0 ignored on all 3 passes (1.06 s/1.06 s/1.11 s,0SKIPPED).cargo test --release -p xcl --lib hle::d3d12x::list_x::(3 consecutive parallel passes): 40 passed, 0 failed, 0 ignored on all 3 passes (0.69 s/0.70 s/0.69 s,0SKIPPED).cargo test --release -p xcl --lib hle::d3d12x::bind::: 8 passed, 0 failed, 0 ignored (0.28 s,0SKIPPED).Paired 60 s RTX 4060 smoke (exact parent
08db8020vs93445592)Both runs completed cleanly at steady 60/2 s pacing with
0device removals and0crashes (93445592vs08db8020xcl.log:6,175/6,114 MBvs6,116/6,116 MBpeak/end local VRAM,4,651 MBvs4,683 MBend non-local VRAM,19,567vs19,507translated draws /1,024dispatches with0skipped).Exact parent (
08db8020):PR #2579 head (
93445592):Limits of coverage
93445592(onlya_build_a_submit_needs_is_wanted, 3 parallel passes each ofpso_async::andlist_x::,bind::, release build, and exact-parent paired 60 s smokes).pso_async::/list_x::release unit tests (includinga_build_a_submit_needs_is_wanted) rather than cold cache misses during the smoke.RTX 4060) on native Windows 11; no AMD, Intel, or Wine/Linux run on this host.AI use
Ran the targeted release unit/GPU tests, release build, and exact-parent paired quiet 60 s smoke runs with assistance from Google Antigravity (Gemini 4 Neon); all test counts, timings, memory figures, and smoke blocks were extracted directly from
cargo test,xcl.log, andscripts/smoke.ps1outputs.Imported from ivall/xcl. Originally posted by throny on 2026-11-27T20:52:48Z.
merge-check claim
head:
93445592beImported from ivall/xcl. Originally posted by pickles976 on 2026-11-27T21:08:48Z.
Verified exact head
93445592be144d697a0ba2323112a028502e8213in a clean detached checkout on Linux 6.17 / Wine 11 / i7-13620H / 16 GiB, Rust 1.98.1, Windows MSVC target,XCL_DXC_THREADS=2.6/6 CPU tests passed, 0 ignored, 1.08 s after fresh intended-worktree compilation (25.67 s): submit-needed build becomes wanted, submit-needed pipeline overtakes the backlog, wanted burst cap, wanted bypass of background/commit waiting, and both unwanted progress/slot checks. Command filters:
a_build_a_submit_needs_is_wanted a_pipeline_a_submit_needs_is_built_before_the_queue big_compile_tests::wanted big_compile_tests::unwanted,--nocapture --test-threads=1.No D3D12 adapter initialized or actual driver PSO compiled. The cap/progress tests use synthetic commit availability and local slot counters. This proves the selected CPU scheduling behavior under Wine, not lower title frame time, less peak RAM, or correction of our separate Game-Init producer-fence stall. No matched-parent run or title launch.
For this 16 GiB machine I would retain the default wanted-class limit, not copy the six-worker performance configuration from the description: wanted admission deliberately bypasses the commit-headroom check, and the separate giant lane means the per-class cap is not an aggregate process-memory budget. All external 9 GiB scope / 512 MiB swap / 2 GiB available-RAM / 6,000 MiB GPU / 10 GiB disk guards remained unchanged.
Evidence:
.compat-runtime/logs/verify-xcl2579-demand-admission-20261127T210619Z/.AI use: OpenAI Codex / GPT-6 Astra reviewed the code, executed the checks, and prepared this report.
Imported from ivall/xcl. Originally posted by throny on 2026-11-27T21:10:42Z.
merge-check
base:
6089122ahead:
93445592bemerge: clean
build: cargo build --workspace -> ok
tests: cargo test --workspace --no-fail-fast -- --test-threads=4 -> 1466 passed, 0 failed, 47 ignored (26 SKIPPED lines); base alone: 1465 passed, 0 failed, 47 ignored
review: none blocking. No deadlock: the demand guard is dropped before want(). The removed want_bound, pso_async::want and WANTED_AT_ONCE have no other users on main. For whoever merges: it conflicts textually with #2424 (pso_async.rs) and #2547 (bind.rs), not in meaning; its new test and #2424's use the same key in a global map and would race once both are in, so one key must change; with #2547 merged, the window loop that PR keeps should go.
performance: default path: every put-off build is wanted at once and so skips the memory-headroom wait and the compile gate, which can raise peak commit during loading (a tester's run in the thread shows about +1 %; not measured here). No steady-state cost found.
verdict: safe to merge
hardware / tool and model: RTX 4080 16 GB (621.40), i9-12900K, Windows 11 26300, Rust 1.100.0, debug. Claude Code; merge, build and suite run by Claude Fable 5.2, diff review by Claude Opus 5.5 (every hunk read; nothing run on the GPU beyond the suite).
Imported from ivall/xcl. Originally posted by oni-swr on 2026-11-27T21:22:53Z.
claiming: a native Windows AMD title data point (RX 7800 XT, RDNA3): paired scripts/smoke.ps1 of head
93445592vs base main6089122a, queued behind our current GPU jobs, ETA ~23:45Z.AI-assisted (Gemini 4 Neon); aggregate numbers only.
Imported from ivall/xcl. Originally posted by oni-swr on 2026-11-27T23:30:25Z.
Native Windows AMD paired retail-title report for PR #2579.
Setup
32.0.31035.1003; Windows 11 Pro 25H2 (build26200.9974);rustc 1.100.0, release builds.maincontrol6089122a1c96dff16e93b6fdf04c8ed20cfb6102vs PR #2579 head93445592be144d697a0ba2323112a028502e8213.base,head,base,head), 600 s cap with a 120 s no-present watchdog kill.XCL_NETWORK=0,XCL_PREPARE=0,XCL_ACTIVITY=1,XCL_RUN_SECONDS=600,XCL_ADAPTER="AMD Radeon RX 7800 XT", scripted periodicAinput (XCL_PRESS_A_ATevery 4 s from 20 s) to enter world load, defaultXCL_HUGE_PSO_WANTED_CONCURRENCY(2). Each run used a fresh isolated copy of the same baselineXCL_DXIL_CACHE(includingdriver/) andXCL_DATA_ROOT, so arms did not share a warmed cache.Results (aggregate per arm, 2 runs each)
main(6089122a)93445592)0xffffffff)0xffffffff)#512/#1024#512/#512Observations
mainfinished 0 gated huge compute PSOs during the 120 s stall window in both runs, whereas PR #2579 finished 18 and 29 gated huge compute PSOs at the default wanted cap (2), with +4.0% higher peak commit and no device removals or crashes.Not tested
XCL_HUGE_PSO_WANTED_CONCURRENCYabove default, or rerunning the full workspace unit/GPU test suite in this pass.AI-assisted (Gemini 4 Neon).
Imported from ivall/xcl. Originally posted by thehollowedone on 2026-11-27T23:49:39Z.
Test-only suggestion for
93445592. The new test checks that the worker eventually seeswanted, but never checks that the build started out unwanted. It can therefore pass if a future change marks the build wanted at creation, even with the promotion inneed_by_submitmissing.Have the worker report its state before and after
need_by_submit. This makes the transition explicit and replaces the polling loops with bounded waits. Both observations happen before joining the worker, since the join can mark the build wanted itself. No scheduler or cap changes.Validation:
git apply --checkpassed against the exact head’s source. I did not run the test on Windows. A focused run should pass as written and fail with either mutation: drop the submit-time promotion, or start the build already wanted.Proposed test-only diff
AI use: OpenAI ChatGPT with GPT-6.2 Astra for source review and the proposed test patch.
Imported from ivall/xcl. Originally posted by KOLESNiii on 2026-11-28T03:54:00Z.
merge-check
base:
e429936c10head:
93445592bemerge: conflicts (crates/xcl/src/hle/d3d12x/bind.rs, crates/xcl/src/hle/d3d12x/list_x.rs, crates/xcl/src/hle/d3d12x/pso_async.rs)
build: not run (the PR does not merge into this base)
tests: not run
review: not done (the merge has conflicts)
performance: not assessed
verdict: not yet: conflicts with main (crates/xcl/src/hle/d3d12x/bind.rs, crates/xcl/src/hle/d3d12x/list_x.rs, crates/xcl/src/hle/d3d12x/pso_async.rs); rebase onto main
hardware / tool and model: Windows 11 build 26300.9974, NVIDIA GeForce RTX 2070 SUPER 8 GB (driver 621.40, wave32 only), AMD Ryzen 5 3600XT; rustc 1.100.1 (20ddd0171 2026-11-25) x86_64-pc-windows-msvc, debug test profile. Claude Code: Claude Opus 5.5 (coordination, draft).
Imported from ivall/xcl. Originally posted by Royalflamejlh on 2026-11-28T04:26:38Z.
Closing:
mainhas this since #2959. A put-off call now marks its pipeline as needed by the submit at the moment it is put off (resolution.need_by_submit()passed todefer_withinlist_x.rs), andwant_bound/WANTED_AT_ONCE, which this change replaced, are gone.AI use: Claude Code (Claude Opus 5.5) compared this change with
mainand wrote this comment.Pull request closed