D3D12.X: compute pipelines are built ahead of their first bind #889
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!889
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-889"
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?
@isaacwingate on GitHub · 2026-11-24 07:39 UTC · original
isaacwingate:compute-pso-preload→main· +97 −6 · 1 files · 1 commits · openA lazy compute pipeline is built at its first bind, on the title's thread. The bind has to wait (a skipped dispatch corrupts what it computes), and on an NVIDIA GPU the driver takes seconds for a big translated compute shader. #690 preloads only the shaders an earlier run used, so every compute pipeline new to a run is still compiled in the middle of a frame. With this change every compute pipeline goes to the preload workers when the title makes it, queued behind the earlier run's ones. Graphics pipelines stay lazy.
XCL_PRELOAD_COMPUTE=0turns this off and keeps #690's preload. Part of #505: testers' runs on several GPUs (below) show it moves early compute builds off the title's threads, but the world load still stops on pipelines the title makes and binds at once.Open PRs that change
pso_async.rstoo: #828 (the samepreloadfunction: a textual conflict), #533, #267, #754, #628. Each limits or reorders waits; none builds a pipeline before its first use.What is in it
crates/xcl/src/hle/d3d12x/pso_async.rs:submit_lazysends compute pipelines to the preload queue too. The queue has two lines: an earlier run's pipelines first, then the other compute ones.XCL_PRELOAD_COMPUTE=0leaves compute pipelines to their first bind, as before this PR.XCL_PSO_PRELOAD=0would also turn off #690's preload.a_compute_pipeline_is_built_ahead_of_its_first_bind. It fails without the change: the compute pipeline is still pending after 10 s.xcl_preload_compute_0_leaves_compute_pipelines_to_their_first_bind, which runs itself as a child process with the variable set.main1d027e5, and theXCL_PRELOAD_COMPUTEswitch added (@frozht's request, for its memory cost).Tested
cargo test --workspace -- --test-threads=4ona39c399: 961 passed, 0 failed, 43 ignored. The 23 SKIPPED lines:no wave64: the wave64 forms of thelower/lower_dxilGPU tests,gpu_geometry_wave32_prefix_count_over_a_mask,gpu_wave32_program_in_wave64_hardwaref16_programs_on_the_gpu/f32_programs_on_the_gpuheap_window_out_of_memory_falls_back_to_the_switch_form: no heap windowspso_measurement_compiles_an_exact_synthetic_record: cannot disable the driver cacheXCL_NETWORK=0, 240 s timed runs, with #899's wait counter (on the first version, maine50836b/1ec4c98):big_compile_turn.Regression run
Both with
XCL_COHERENT_MB=4095, one after the other, with no input, so both stay in the title's menus.main:
PR:
Not tested
XCL_PRELOAD_COMPUTE=0turns the build-ahead off. There is no byte or count budget: the size is only known after DXC.XCL_PRELOAD_COMPUTE=0on the retail title: the switch is covered by its test only.AI use
resolve_wait), wrote the change and the tests, ran the tests and the runs, and wrote this description.🤖 Generated with Claude Code
mainreaches on Windows; the obstacle is replaced vtables — proposal: proxies #175@Xeltax on GitHub · 2026-11-24 08:44 UTC · original
NVIDIA test report for
e1d3b9d(this PR's head, merged without conflicts ontomain077ce40), the retail title of #505.Tested
XCL_NETWORK=0 XCL_ACTIVITY=1 XCL_RUN_SECONDS=240XCL_PRESS_ATevery 4 s from 20 s (first-run setup already done)main077ce40077ce40+ this PRListX #101call+0x23cf683at 109.4 s+0x23cf683at 107.5 sxcl-pso-pre-*after 60 sxcl-pso-pre-0, done at 61 s.game+0x248d19f→bind::execute_indirect(bind.rs:238) →pso_async::resolve_wait(pso_async.rs:387) →Condvar::wait. This looks like the waitemusynthssaw in #505 with #533 (resolve_for_indirect, graphics branch). This PR leaves graphics pipelines lazy.Not tested
execute_indirectwait was for. XCL logs a build only when it ends.AI use
@isaacwingate on GitHub · 2026-11-24 08:46 UTC · original
Thanks both – this matches what I see on an RTX 5080: #889 takes the pipelines made early off the title's threads, and the world load still stalls on pipelines the title makes and binds at once.
@Xeltax the wait at the abort,
bind::execute_indirect→resolve_wait, is for a graphics pipeline: draws and ExecuteIndirect wait for graphics builds, althoughpso_asyncmeans graphics pipelines to go on with their stand-in. I have a separate change that lets them (compute is still waited for); on my machine it took the graphics waits during the world load from 25 (33 s in all) to 0. I'll open it as its own PR.The commit going up (30.4 → 32.7 GB) fits the compute pipelines built ahead staying in the driver; I'll add it to the description.
@emirduran707 on GitHub · 2026-11-24 08:31 UTC · original · edited 2026-11-24 08:53 UTC
AMD RDNA4 test report for e1d3b9d (this PR's head, on
main1ec4c98).Correction: an earlier version of this comment described a retail-title run as made with this PR. My run script pointed at a
mainbuild (d5442d2), so that run did not test this PR. I removed it. The run below is with this PR's build (xcl.exebuilt from e1d3b9d in its own worktree; I checked the path before launching).Tested
x86_64-pc-windows-msvc; DXC 1.9.2602.17; debug for the suite, release for the run.cargo test --workspace -- --test-threads=4on e1d3b9d: 716 passed, 0 failed, 41 ignored; noSKIPPEDlines.a_compute_pipeline_is_built_ahead_of_its_first_bindpasses.XCL_NETWORK=0 XCL_ACTIVITY=1, menus by hand to world loading, then no input.mainchanged the recompiler betweend5442d2, which my DXIL cache and driver blobs came from, and1ec4c98(#798 and others). So no translated program matched, and 0 driver blobs were reused.What the log shows:
xcl-pso-pre-0/1built 512 pipelines ahead of their first use.main, builds like these ran on the title's threads at their bind (see my runs in #505).+0x23cf683).SetPipelineState→pso_async::resolve_wait(bind.rs:710→pso_async.rs:387/398), and one thread is insideamdxc64.dll, the driver's compiler.So on AMD, with cold caches, this PR moves most of the long driver builds off the title's threads and into the menu time. What is left is the pipelines the title makes during loading: they are still built at their bind, and one of them was still being built when the watchdog fired.
Not tested: more than one run; the same build with warm caches; with #533 / #891; NVIDIA.
Tested and written with Claude Code (Claude Opus 5.5). The runs were made on my machine.
@IvyNotFound on GitHub · 2026-11-24 09:19 UTC · original · edited 2026-11-24 09:26 UTC
Second RTX 5080, same driver: with this PR the title still ends in "GPU Loc Sig", at 96 s; two compute builds take 21 s and 32 s on the workers
Update: the same run with #899's wait log applied on top (
e1d3b9d+c3d5429's diff, uncommitted): binds do wait, from 63 s on, mostly building the pipeline themselves+0x23cf683), as in the run below.My reading: on this machine the build-ahead does not reach these pipelines in time; the title binds them in one burst at 63 s, before a worker has started them, and the binds build them on its threads. Whether the workers were held up by the 48 s and 63 s builds I cannot tell from the log. One run.
Setup: NVIDIA GeForce RTX 5080 16 GB, driver 621.24 (32.0.16.2124); Ryzen 7 7800X3D; Windows 11 25H2 (26200.9974); rustc 1.100.0 MSVC, release; DXC 1.9.2602.17.
scripts/smoke.ps1 -Seconds 300(XCL_NETWORK=0,XCL_ACTIVITY=1), A pressed by hand at the title screen. PR heade1d3b9das it is (base1ec4c98), warm DXIL and driver-blob caches from earlier runs.main09940bb, warm cache+0x23cf683("GPU Loc Sig") at 90 s8cada26,XCL_PSO_WAIT_MS=50+0x23cf683at 145 se1d3b9d+0x23cf683at 96 smain.resolve_waitcounter from your runs, so I cannot say whether a bind waited for one of these builds or for something else. NoWait64BitValueXtimeout in this run, no device removal.main09940bbfor mymainrow, the PR's own base for the PR run).Not tested
AI use
@frozht on GitHub · 2026-11-24 10:23 UTC · original
Test report: retail GTA6 under Wine, with a memory cost.
077ce40plus other open PRs (#684 #891 #551 #455 #681 #609 #674 #628 #688 #567 #501), release build.XCL_PSO_PRELOAD=0is no workaround:preload()then returnsNone, which also turns off the earlier run's preload from #690.@SlopTart on GitHub · 2026-11-24 10:37 UTC · original
Linux / AMD RDNA3 datapoint.
Merged state: head
e1d3b9donto main6efdabc, clean merge.Full suite,
cargo test --workspace --release --no-fail-fast --target x86_64-pc-windows-gnu -- --test-threads=4: 721 passed, 7 failed, 41 ignored; failures are the known Wine-lane set from my #42 rows. build-ahead-of-bind compute pipeline tests green (late rerun of the PR dropped from an earlier sweep list).Not tested: retail titles (none here), Windows, RDNA4.
Counts only, no game data.
Machine: RX 7900 XT (RADV NAVI31), Mesa 26.2.5, kernel 7.2 (Arch), Proton Experimental (wine-11.0), patched vkd3d-proton v3.1, Rust cross
x86_64-pc-windows-gnu,XCL_NETWORK=0, release profile,--test-threads=4. My Linux rows: #42 / #718.AI use: Hermes agent (local Qwen-class) ran the suite and drafted this; I checked it before posting.
@Filip722 on GitHub · 2026-11-24 12:41 UTC · original
I tested
e1d3b9don an RTX 5060 Laptop GPU (8 GB, NVIDIA 615.78.08), Intel Core 7 240H and 16 GB RAM, Bazzite 44 and Proton Experimental11.0-20261112. The private test stack was main47efa2eplus #640/#782/#793/#820/#1123, vkd3d-proton v3.1 with #257 and dxil-spirv1dc543f, and the nonlocal texture-pool experiment from #175. Both runs used the same prefix and driver cache, temporary NVMe swap andXCL_PSO_WAIT_MS=5000.Adding this PR gave 2,444 sampled presents and 80,736 DirectStorage executions with zero storage failures. The last pipeline checkpoint recorded 21,185 draws and 4,096 dispatches with zero skips. The title still exited at its watchdog-associated exception site after 14 consecutive two-second samples without a present. The comparison run reached 2,207 sampled presents and the same exception. This is one pair of sequential Wine runs. I did not isolate the effect of the progressively warmed cache.
OpenAI Codex with GPT-6.2-Sol high assisted with the build, tests and report.
@Kalmarv on GitHub · 2026-11-24 18:44 UTC · original
Test report for #889 at
e1d3b9d, merged onmainb7aa9f3(local merge44097dc), againstb7aa9f3alone. The title is the newer retail one, at its world load; one run each.Tested
scripts/smoke.ps1, 300 s,XCL_NETWORK=0, A presses at 14/17/21 s and every 6 s from 125 s, noXCL_PSO_WAIT_MS.XCL_DXIL_CACHE: no DXIL, no translations, noused-pipelines.txt, no XCL driver blobs.%USERPROFILE%\AppData\LocalLow\NVIDIA\DXCache) is shared and was not cleared. Programs that earlier runs had built came out of it in milliseconds (see the reading).b7aa9f3#101game+0x23cf683(the title's watchdog), 96.4 s#101#101No device removal in either run.
Read
resolve_wait(pso_async.rs:520, frombind::execute_indirect).xcl-pso-preworkers and one title thread are indxc::compile.xcl-dxcworkers are idle.b7aa9f3's run without #889 shows the same thing. Its builds after#101took 0.6 s in the driver in all, because the NVIDIA driver's own shader cache served them. At the end, four of its threads were indxc::compile.#101is not #889 by itself. In the run of #889 + #1288 (reported on #1288), the title took the 14 s press and reached#101at 68.3 s. Here the title screen came after the 14/17/21 s presses, and the run went on only at the 125 s presses. The preload was building in the driver at that time (188 s before#101), and that may have slowed the start; one run does not tell.Not tested
AI use
@JRamos1993 on GitHub · 2026-11-24 21:48 UTC · original
Test report for
e1d3b9don an RTX 5090, four runs back to back with warm caches: the world-load stop stays. In the dumps, the stall is still title threads building compute pipelines in their binds, for programs the preload has not reached yet.Setup: RTX 5090 32 GB (driver 621.24), i9-14900KF, 64 GB RAM, Windows 11 Pro 26200, rustc 1.97.1
x86_64-pc-windows-msvc, release. This PR merged ontomainc160d86(clean merge). Retail 1.0.2.1, setup done in earlier runs. Each run:XCL_NETWORK=0 XCL_ACTIVITY=1 XCL_PRESS_AT=25:A, 300 s cap. The DXIL and driver-blob caches were warm from earlierc160d86runs, and each run adds its own blobs.+0x23cf683Thread dumps in run 4 (
XCL_THREAD_DUMP_AT=92,100, plus the one at the stop; XCL frames looked up with the build'sxcl.pdb):+0x43c3d5dwaits in all three.bind::execute_indirect→pso_async::resolve_wait. It got its pipeline at 95.5 s, from disk.build_compute→translated_compute_pso→pso::console_to_dxil_in→dxc::compile, a program not translated yet. At 100 s and at the stop it was in NVIDIA's compiler.xcl-pso-*thread, or on the title thread that binds the pipeline. So these are title threads building in their binds: the preload had not started those pipelines.Reading: with this PR, a thousand or more compute pipelines are ready early, but the ones the world load binds next are still new here. The title builds them one after another in its binds, and each run ends about one of them before the watchdog. So on this machine the stop is still compute builds, now on pipelines the queue has not reached yet. That is probably because the big ones go one at a time at the lowest priority. At this rate, "every compute pipeline built before the world load" would take many more runs. I did not get there.
Not tested: more runs;
XCL_BIG_COMPILES(#820) with this PR;XCL_PSO_WAIT_MS.AI use: Claude Code with Claude Opus 5.5 ran the builds and runs, read the dumps and wrote this report.
@JorgeMJM on GitHub · 2026-11-24 21:44 UTC · original · edited 2026-11-24 21:56 UTC
Test report on an 8 GB laptop card, this PR together with #1316: the build-ahead happens, but on this machine the three preload workers are held by the biggest builds and the title builds the mid-size ones itself, one after another, while the 15
xcl-pso-Nworkers stay idle.Tested
e1d3b9d(this PR) and #1316's964f5edmerged locally ontomainc4d37be(clean merges; local merge commit03f98d3), release. RTX 3070 Laptop 8 GB, NVIDIA 621.40, Ryzen 7 5800H (8C/16T), 28 GB RAM, Windows 11 Home 26300.scripts/smoke.ps1,XCL_THREAD_DUMP_AT=120,200,280, one run:The intro video plays; presents stop at 90 s, at the world's loading screen, and do not come back.
Compute pipeline builds after the last frame (84–300 s), from the
compute PSO with the translated console CSlines, by the thread that built them:xcl-pso-pre-0/-1xcl-pso-0…xcl-pso-14Build times: median 80 ms, p90 1.9 s, max 73 s, 410 s in all.
big_compile_turn: 1 050 616 B of DXIL in 62.8 s after waiting 34.5 s for the turn, 768 548 B in 61.3 s after 62.6 s, 914 984 B in 73.1 s after 60.5 s. The process is at 30–33 GB of commit on 28 GB of RAM here, so the turn is slow to come.nvgpucomp64.dll. Another title thread waits inexecute_indirect → resolve_waitin all three dumps.xcl-pso-Nis in the driver or DXC in each dump; the rest wait on their empty queue.Suggestion, if you want it: let an idle
xcl-pso-Nworker take from the preload queue (or at least the pipelines that do not go throughbig_compile_turn), so the mid-size ones are built in parallel while the big ones keep their one-at-a-time turn. On this machine that is up to 15 threads on the 12–20 s builds instead of the title's one. I can write it as a commit on top of yours if that is useful; I would not open a separate PR for it.Not tested: this PR without #1316 on this machine, more than one run, a machine with enough RAM that
big_compile_turndoes not hold (the picture may differ there), whether the world renders once the builds catch up.AI use: Claude Code (Claude Opus 5.5) ran the run and the thread-dump analysis on my machine and drafted this.
Edit: I tried that suggestion locally and it does not help here, so please don't take it as is. Idle
xcl-pso-Nworkers taking from the preload queue (all but two, at the lowest priority, uncommitted, on top of the same merge; a unit test that holds the preload workers passes with it and fails without it). In a 300 s run on the same machine the last frame was again at 90 s; after it 93 compute builds instead of 228, 86 of them on title threads, 0 on thexcl-pso-Nworkers, and the dumps at 200 and 280 s have 10–11 of those workers inhelp_ahead → build_compute → translated_compute_pso_once → big_compile_turn. They take the big programs too (the DXIL size is only known after DXC) and wait for the turn, so the mid-size ones are still built on the title's thread. To help on a machine like this, the helper would need to know the size before taking the turn, e.g. compile the DXIL first and hand a big one back to wait for its turn without holding a worker; that is closer to the size-based admission claimed as A19 in #1269 than to this PR.@pvfreis on GitHub · 2026-11-24 21:21 UTC · original · edited 2026-11-24 22:05 UTC
Test report for
e1d3b9d(this PR's head) merged ontomain4178e88(git auto-mergedpso_async.rs, no conflict), on an RTX 3060 withXCL_DIRECT_DXIL=1 XCL_HEAP_WINDOWS=1. @Anon64 reported on #1269 that onmainwith these two the title waits on compute builds one after another and suggested parallel builds. This PR does that; in these runs the title's last present came no later (94 s and 92 s,main96 s). (Edited: see the correction under the table.)Tested
XCL_PSO_PRELOADoncargo test --workspace --locked --offline --no-fail-fast -- --test-threads=4on the merge (debug, session-0 sandbox): 891 passed, 1 failed, 42 ignored. The failure is the e2epresentstest, which cannot pass there (no display). SKIPPED: the two wave64 tests andheap_window_out_of_memory_falls_back_to_the_switch_formXCL_NETWORK=0, A pressed every 4 s from 20 s; one run per column, cold runs each from an emptyXCL_DXIL_CACHE, the warm run on the cold PR run's folder:main, 300 smainrun had partly filled it, and it carried over in column order. The rows from "compute builds logged" down don't compare between columns. Of programs of 256 KB or more (the log names the record only for those), 56 built in the first two columns (same record and size, no XCL blob) took 230.9 s and 3.0 s; 33 that took 1.7 s inmaintook 342.8 s in that earliermainrun. That it is the driver's cache is inferred.direct DXIL fallback: 0 in all three runs.Not tested
mainafter4178e88(#1321, #1745, #1791)Run and written with Claude Code (Claude Opus 5.5) on the hardware above; the tests ran in a separate sandbox user, the title runs on the desktop. Numbers checked by a second agent (Claude Sonnet 5.5) against the logs. The correction's numbers were recomputed from the logs by another agent (Claude Opus 5.5).
@isaacwingate on GitHub · 2026-11-24 22:10 UTC · original
Thanks all for the runs. Pushed
a39c399, rebased ontomain1d027e5:XCL_PRELOAD_COMPUTE=0now turns off the compute build-ahead on its own; the #690 preload of an earlier run's pipelines stays on. Test:xcl_preload_compute_0_leaves_compute_pipelines_to_their_first_bind. A byte or count budget would need a size that is only known after DXC, so I left that out; the memory cost is in the description under Not tested.big_compile_turnlike the others. Size-based admission (A19 in #1269) is the place for that, so I have not added it here.execute_indirect→resolve_wait) are #1798.Suite and regression runs on the new head are in the description.
@JRamos1993 on GitHub · 2026-11-24 22:10 UTC · original
Follow-up to my report above: with 4 big compiles at once on top of this PR, the world load gets 20–40 s further, but the stop stays. In the dumps, the title still waits on compute builds, now for programs whose builds take longer than the watchdog's 30 s. Those never finish within a run, so they never get cached.
Setup: as above (
c160d86+ this PR, RTX 5090, MSVC release), plus a local change equivalent to #820:big_compile_turnreadsXCL_BIG_COMPILES. I made it locally because #820's branch conflicts with currentmain. Runs usedXCL_BIG_COMPILES=4, six back to back, then one with dumps. Another game was running on the same GPU and CPU during these runs.+0x23cf683XCL_BIG_COMPILES=4, runs 1–6Dumps in run 7, at 134 s and 146 s (presents had ended at 124 s; XCL frames looked up with the build's
xcl.pdb):+0x43c3d5dwaits in both.bind::execute_indirect→pso_async::resolve_waitin both dumps.build_compute→translated_compute_pso→pso::console_to_dxil_in→dxc::compile: a program never translated in any earlier run. At 146 s it was in NVIDIA's compiler.xcl-pso/xcl-pso-prethreads were in it too.Reading: the stop is still compute builds on this machine. With more of them in parallel, the title gets further, and at that point it binds programs it has not built before. Some of those take a minute or more here, so a run never finishes them before the watchdog. Each run therefore only moves the point where it stops waiting. Builds that long probably need to be made outside a title run:
xcl shaders --precompile --pipelines, which has no watchdog, or similar.Not tested: a full offline
--precompile --pipelinesbefore these runs (it did not finish in 3 h here earlier); runs without the other game running;XCL_BIG_COMPILESother than 4.AI use: Claude Code with Claude Opus 5.5 ran the builds and runs, read the dumps and wrote this report.
@iggyvilla on GitHub · 2026-11-25 01:35 UTC · original
Test report for #889 on AMD RDNA2 8 GB: it does not move the stop on this card.
Commit tested: origin/main
930e8b4with #889 at e1d3b9d (the head then; it is nowa39c399, not retested) merged clean (local merge 08ae50e, release build; the PR'sonly file is pso_async.rs) vs origin/main
930e8b4itself. Same machine, same day, run back to back: main first (22:38),then main+#889 (22:44). Hardware: AMD RDNA2 8 GB card (RX 6650 XT, driver 32.0.21045.29003), Windows 11, retail
title of #505/#675,
XCL_NETWORK=0,XCL_ACTIVITY=1,XCL_PSO_WAIT_MSunset,auto.ps1300 s scripted walk (defaultlater press list), screenshots every 2 s, fresh save. Both runs looked at: PASSED-SETUP (Legal Notices at ~60 s, loading
spinner from ~100 s to the end).
930e8b4(Thread class: threads named
xcl-pso*in the crash's thread dump are workers; unnamed ones are the title's. Lines:compute PSO with the translated console CS (N B DXIL, N ms).)Result on this card: #889 does not move the stop and does not take the compute builds off the title's threads.
The workers are busy: ~600 s of build time in 230 s on the 18
xcl-pso*worker threads (15 build workers + 3 preload), single builds of 10 - 80 s(0.5 - 1.2 MB DXIL on AMD), so a compute pipeline the title binds is still not built (or started) when it binds it, and
the bind compiles it itself (
resolve_waittakesjob): the same 278 872 B shader took 21.2 s (main) / 25.9 s (#889) on atitle thread at ~200 - 227 s. Presents stop at ~200 s in both runs and the title's watchdog ends it ~28 - 30 s later.
It is a fix for a GPU where the builds are fast (the PR's RTX 5080 numbers); here the queue is too slow.
Why the builds are this slow here: the logged times are the driver call only, and most big builds load the driver's blob of an earlier run. The same blob that loads in 14 - 26 ms when it is preloaded at ~5.6 s takes 55 - 88 s at ~95 - 111 s, once the world load has taken process commit to 25 - 41 GB (32 GB host) and local video memory to ~14 GB on the 8 GB card. So on this card the build-ahead queue is limited by memory pressure during the world load, not by the number of workers.
Not tested: the NVIDIA case of the PR; one run each (the timings differ by a few seconds between runs, the crash point
and the stall at ~200 s were the same in both and in the three earlier runs on this card); not run with more preload
threads or a different order.
AI use: Claude Code, Claude Sonnet 5.5, ran the builds and the two 300 s runs and wrote the first draft; a second Claude Code session (Claude Sonnet 5.5) re-derived every number above from the two
xcl.logfiles and edited the text.@JJAutoCompare on GitHub · 2026-11-25 05:50 UTC · original
Empirical test report (
a39c3992)Tested xcl-dev/xcl PR #889 at commit
a39c3992c7a45baf73e374616e4e9c718f533887.Hardware / environment
rustc 1.100.0 (0ef1bc386 2026-11-09), MSVC target. DXC reported1.9.2609.5 (01b62ad47).XCL_ADAPTER=NONE_CPU_ONLYandRUST_TEST_NOCAPTURE=1outside the Arc test wrapper. Both fixtures used CPU closures as stand-ins for pipeline creation.Commands and results
cargo test --workspace --no-runexited 0 and built the workspace test binaries.cargo test -p xcl --lib first_bind -- --test-threads=1exited 0. The harness reported 2 passed, 0 failed, 0 ignored, and 0 SKIPPED lines. The filter selected the two new tests inhle::d3d12x::pso_async::used_tests.Observed behavior
XCL_PRELOAD_COMPUTEunset, the compute job completed before bind. With the value set to0, the job stayed pending and the first bind completed it. The parent fixture verified that both children ran and passed.Not tested
The full GPU workspace suite and game smoke runs were omitted. The fixtures covered queue and bind behavior with stand-ins. GPU driver pipeline creation and retail-title performance were outside this run.
AI use
Verified with T3 Code / Codex (gpt-6.2-sol, reasoningEffort: high). Coordinator #2 (T3 Code / Antigravity, gemini-4-neon) verified counts against
pr889-focused.logand published.@DavidM1911 on GitHub · 2026-11-25 09:42 UTC · original
Verification on RTX 3060 Ti (Windows 11), branch merged with current
main:cargo test -p xcl --lib: all passed, 0 failed, ~26 ignored. (Intermittent single-test flake / 0xc0000005 abort under parallel scheduling — tracked in #1978; clean on single-threaded rerun.)Thanks!
View command line instructions
Manual merge helper
Use this merge commit message when completing the merge manually.
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.