startup: keep the split indirect Dispatch cache past DLL detach #2726
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/2734"
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 R0Y00/Xbox2Windows. Originally posted by ColorMeBoom on 2026-11-26T04:33:26Z.
What / Why
Follow-up to the blocking finding in the review of #2683. With
X2W_SPLIT_INDIRECT_DISPATCH=1on an RX 9070 XT (driver 32.0.32029.2010),startup_indirect_count_split_hardwareprinted every expected readback and then exited with0xC0000409. That is a fail-fast inamdxc64.dll, reached through the destructor of the function-localstatic SplitIndirectDispatch splitterduring DLL detach, which released the rewrite's pipeline state there. The same review measured a never-destroyed instance exiting 0 in 3 of 3 runs on that adapter. #2683 was merged with the static in place, so main still has it.Change
src/startup_stubs/split_indirect_dispatch.h:split_indirect_dispatch()returns a heap instance that is never destroyed (static SplitIndirectDispatch* const splitter = new SplitIndirectDispatch;). Its entries were already kept for the life of the process.docs/experiments.md: the lifetime and the fault, in "Batched indirect Dispatch on RDNA 1".Lifetime boundary. The splitter cache is process-owned and released only by process exit. Explicitly unloading and reloading
d3d12_xs.dllin a live host is not a supported path: each load allocates a new cache and nothing tears the previous one down outside the loader lock, so its entries stay allocated. Supporting it needs that teardown and its own coverage, which is a separate change. The header comment anddocs/experiments.mdsay the same.rect_indirect_args.hhas the same pattern (static RectIndirectArguments converter), which predates #2683. I left it unchanged: no fault has been reported for it, and this PR covers one behavior.Tests
Original commit
27ae0401onfeec219e. Windows 11 Home build 26200.9974, VS 2022 Build Tools (MSVC 19.44.35230), Windows SDK 10.0.26100.0. AMD Radeon RX 5700 XT (1002:731f), driver 32.0.21045.29003; WARP 10.0.26100.9818. Debug layer unavailable.9 of 10 passed: both
startup_indirect_count_split_*, the dispatch and root-constant tests,docs_linksandstartup_tools_lint.startup_indirect_count_hardwarefails at its first case as reported in #2626 (native call, kept strict).startup_indirect_dispatch.exe <hardware|warp> countwithX2W_SPLIT_INDIRECT_DISPATCH=1, three runs each: exit 0 on all six, each printing all 14result=lines.On the RX 9070 XT (driver 32.0.32029.2010, Windows build 26200.9974, no debug layer), @thepatrickworld measured the pair in this thread. With this change merged onto main,
startup_indirect_count_split_hardwarepassed and 6 of 6 direct runs exited 0. With only the header restored to the static, 4 of 4 ended in 0xC0000409, and the dump showed the static's destructor at DLL detach.Head
50cd7fe7(lifetime statement, docs) on this RX 5700 XT:startup_indirect_count_split_(warp|hardware)passed, andstartup_indirect_count_split_warp --repeat until-fail:20passed on WARP 10.0.26100.9818.docs_links,bidi_controlsandgit diff --checkare clean.Not verified
The RX 5700 XT and WARP exited 0 before this change too, so runs here show no regression, not the fix; the RX 9070 XT pair above is the fix's evidence. The
startup_indirect_count_split_warpfailure on WARP 10.0.26100.33648 is not reproduced here or on WARP 10.0.26100.9818.Refs #2683, #2626.
AI-assisted with Claude Code (Claude Opus 5.5).
Imported from R0Y00/Xbox2Windows. Originally posted by tedin7 on 2026-11-26T04:42:01Z.
Review: COMMENTED
Review of head
27ae0401(comment only, no approval).What I checked:
staticinstance is replaced by a never-deleted heap instance, so no destructor runs at DLL detach. The only callsite isd3d12_xs_device.cpp:3311, and it only needs a stable reference.docs/experiments.mdreads fine and links resolve.Not verified, and cannot be by me:
startup_indirect_count_split_hardwareonly shows the difference on that GPU, so a regression guard exists only on that hardware.Linux checks run on this head:
git diff --check origin/main...HEADclean,python3 tests/docs_links_check.pypass,python3 tests/bidi_controls_check.pypass.Note:
rect_indirect_args.h:171has the same static pattern; the author left it on purpose, which is reasonable for a single-behavior PR.Merge is left to @R0Y00 / MasterDomino once the hardware receipt is posted.
AI-assisted; commands listed were executed locally.
Imported from R0Y00/Xbox2Windows. Originally posted by R0Y00 on 2026-11-26T04:38:07Z.
The reviewed failure happens after successful readbacks. Please rerun the exact candidate on the RX 9070 XT that hit 0xC0000409, using startup_indirect_count_split_hardware with the split rewrite enabled. The receipt should include the readback verdict and the child process exit code. Please also make the lifetime boundary explicit: this cache is process-owned. If explicit DLL unload and reload in a live host is a supported path, that path needs teardown outside the loader lock and its own coverage because each reload would allocate a new cache.
Imported from R0Y00/Xbox2Windows. Originally posted by RonLogic on 2026-11-26T04:43:46Z.
Independent MSVC x64 Release regression check of
27ae04015d4cffa4a28749b1ce76e3daed4f4bcfon Windows26300.10075:ctest --preset release --no-tests=error -j 1 -R '^startup_indirect_(count|count_split|dispatch|root_constants)_(warp|hardware)$' -Vpassed 8/8, no skips. WithX2W_SPLIT_INDIRECT_DISPATCH=1, I also launched three freshstartup_indirect_dispatch.exe <backend> countprocesses per adapter. All six printed 14 expected-value results and exited 0 after teardown. The D3D12 debug layer was enabled on in-box WARP10.0.26100.10068and the RTX 407032.0.16.2124. This verifies the two comparison adapters. The reported RX 9070 XT fail-fast still needs that adapter for confirmation.Imported from R0Y00/Xbox2Windows. Originally posted by MasterDomino on 2026-11-26T05:03:18Z.
RX 9070 XT run at
27ae0401, as the description asks (Windows 11 build 26300,--preset devDebug; AMD Radeon RX 9070 XT, driver 32.0.32029.2010; WARP 10.0.26100.9818; D3D12 debug layer installed).ctest --preset dev --no-tests=error -R '^startup_indirect_count_split_(warp|hardware)$'passed 3 of 3 on both backends, and every hardware run exited 0. The CMake entry setsX2W_SPLIT_INDIRECT_DISPATCH=1itself.split_indirect_dispatch()changed back tomain's function-local static (static SplitIndirectDispatch splitter; return splitter;), rebuilt,startup_indirect_count_split_hardwarealso exited 0, 3 of 3. On this machine the original fault doesn't reproduce.So this shows no regression, but it doesn't confirm the fix. I'm not merging on these runs alone: a main-executable change needs a negative control that catches the failure.
The one setup difference I can see from the #2683 report: there, Windows build 26200 with no D3D12 debug layer installed; here, build 26300 with the debug layer installed. That could change the teardown path in
D3D12Core, which is where the faulting stack ran.@thepatrickworld, you reproduced
0xC00004093 of 3 on7ed5e7f9. Could you rerunstartup_indirect_count_split_hardwareon this head (27ae0401), and onmainas the control? If this head exits 0 wheremainfaults, I'll merge.AI-assisted; commands listed were executed locally.
Imported from R0Y00/Xbox2Windows. Originally posted by thepatrickworld on 2026-11-26T05:17:15Z.
Independent AMD result:
startup_indirect_count_split_hardwarepasses on the merged candidate659bbf5cand ends in0xC0000409when one header is restored tomain.Not a code change; measurements and one dump. This is the head-passes / control-fails pair asked for above, with the ctest entry itself on both states, on the adapter and driver that reported the fault.
Tree measured
27ae0401(unchanged, stillrefs/pull/2734/head), merged locally into434aa90d, which wasmainwhen I fetched it — GitHub records this PR's base as343dc04f. Merge659bbf5c,git merge --no-ff,devpreset.src/startup_stubs/split_indirect_dispatch.hrestored fromorigin/main. The PR's other file isdocs/experiments.md, so no built binary depends on it.Environment
VCToolsVersion 14.44.35207), Windows SDK 10.0.26100.010.0.26100.0user-mode)AMD Radeon RX 9070 XT,1002:7550, driver32.0.32029.2010Microsoft Basic Render Driver, driver10.0.26100.9818dev(CMAKE_BUILD_TYPE=Debug),debug_layer=unavailable(nod3d12SDKLayers.dll)Commands
Observed
The entry on the merged tree (header restored after the control), with
X2W_SPLIT_INDIRECT_DISPATCHcleared from the environment so the entry's own property (CMakeLists.txt:1523) supplies it:The entry, on the control tree (
findstron the source right before the build printed165: static SplitIndirectDispatch splitter;, run stampbuild=659bbf5c-dirty):Direct runs of the executable the entry invokes: six hardware runs on the merged tree, each a fresh process, all exit
0; four hardware runs on the control tree, all exit-1073740791, which is how%ERRORLEVEL%reports NTSTATUS0xC0000409(STATUS_STACK_BUFFER_OVERRUN, the generic fail-fast status). Every log reportsadapter: AMD Radeon RX 9070 XT,driver: 32.0.32029.2010and 14result=lines with observed equal to expected, e.g.count word=2, executed=2, result=0x31415935 (expected 0x31415935)— checked line by line, no mismatch in any log.The recorded output is identical line for line once per-run addresses and the build stamp are set aside: 58 lines each, same last line, empty normalized diff. The only difference left in the run is the exit status.
Neighbouring entries
^startup_indirect_(dispatch|root_constants|count|count_split)_(warp|hardware)$: 8/8 passed, 0 failed, 0 skipped, one run each; I did not run the full suite. The zero-skip number is meaningful because those entries carrySKIP_RETURN_CODE 77(CMakeLists.txt:1527-1528).On WARP the control tree also exits
0in three runs. That is not a control for this fault — WARP does not loadamdxc64— so I read nothing into it.What this establishes: on this adapter and driver the change moves the process out of the failing path. With the header restored the entry and the executable both end in
0xC0000409; with it, both exit 0.The dump
One control run was instrumented with a
LocalDumpskey (DumpType 2, set for that run, removed afterwards); the dump is…\dumps\startup_indirect_dispatch.exe.9888.dmp.cdb -z … -c "!analyze -v"givesEXCEPTION_CODE_STR: c0000409,EXCEPTION_PARAMETER1: 7(FAST_FAIL_FATAL_APP_EXIT),MODULE_NAME: amdxc64,PROCESS_NAME: startup_indirect_dispatch.exe, andIMAGE_VERSION: 32.0.32029.2010, the driver the run log reports.STACK_TEXTis unfiltered, 57 frames. The list below keeps the frames that matter and elides the CRT and STL internals. FrommainCRTStartupinward:ucrtbased!exit→kernel32!ExitProcessImplementation→ntdll!RtlExitUserProcess→ntdll!LdrShutdownProcess→d3d12_xs!dllmain_crt_process_detach→_cexit→_execute_onexit_table→`dynamic atexit destructor for 'splitter'`→~SplitIndirectDispatch→~vector<unique_ptr<Entry>>→~Entry→~ComPtr<ID3D12PipelineState>→InternalRelease→D3D12Core!CPipelineState::FinalRelease→amdxc64→ fail-fast. Twoamdxc64blocks appear, separated by threentdllexception-dispatch frames, because the fail-fast itself raises an exception.So in the control state the pipeline state is released inside
_execute_onexit_tableat process detach, and the termination is inside the AMD user-mode driver. The merged build raises no exception, so there is no crash dump to take from it.On the other runs in this thread
tedin7 notes that the regression guard exists only on that GPU; these are runs on that GPU, not a new guard. Nothing fails without the change in CI because the hardware entries are excluded there (
-E '_hardware$',.github/workflows/windows.yml:470and:590).MasterDomino measured his own negative control — the same function-local static — and it exited 0 in 3 of 3 on Windows build 26300 with the debug layer installed, then declined to conclude and asked for this replay. Here, on build 26200.9974 without the layer, the same replay fails 4 of 4. Two things differ between those setups; the cheap discriminating run is 26200 with the layer installed, since 26300 changes both at once.
R0Y00's third point, the lifetime boundary: no entry in this PR exercises an unload and reload — the harness contains no
LoadLibrary/FreeLibrary— so that path is covered by nothing here. The boundary is the author's to state; what I can add is that nothing in the tree exercises it.Limits
X2W_SPLIT_INDIRECT_DISPATCHpath.debug_layer=unavailablehere: no API validation output, so nothing above speaks to binding or resource-state errors, and the difference with MasterDomino's setup is not isolated.d3d12_xs.dll7b7ff6205126f52d…control,8fef57429f1cc4d7…restored); the header diff of the reverted state is+2 -5against the merge.startup_indirect_count_hardware, the entry without the rewrite enabled, also passed (0.27 s) in the same ctest run; I did not compare its output with the failing case in #2626 and draw no conclusion from it.mainhas moved since the merge I measured (fd033046at the time of writing); the PR head is unchanged, and I can redo the merge on a freshmain.AI-assisted.
Imported from R0Y00/Xbox2Windows. Originally posted by MasterDomino on 2026-11-26T05:18:34Z.
Thanks, @thepatrickworld. That's the pair this needed, on the adapter and driver that reported the fault:
main:startup_indirect_count_split_hardwarepasses, and 6 of 6 direct hardware runs exit 0 with all 14 readbacks matching.split_indirect_dispatch.hrestored tomain: 4 of 4 runs end in0xC0000409.amdxc64under the static's destructor in_execute_onexit_tableat DLL detach.That covers @R0Y00's first request, the receipt with the readback verdict and the child exit code. It also explains my green control: here the build is 26300 with the debug layer installed, and there it's 26200 without it.
One item left before I merge, @ColorMeBoom: @R0Y00's second request, a statement of the lifetime boundary. Please add one or two sentences, in the PR description and in the
docs/experiments.mdparagraph or the header comment, saying:d3d12_xs.dllin a live host is not a supported path, since each load would allocate a new cache and nothing tears it down outside the loader lock. If you'd rather it be supported, it needs that teardown and its own coverage, which is a separate change.Once that's in, this is ready to merge. CI is green, and the code change itself is correct as @tedin7 reviewed.
AI-assisted.
Imported from R0Y00/Xbox2Windows. Originally posted by tedin7 on 2026-11-26T07:48:23Z.
Review: COMMENTED
Review of head
d7f8fe99(code + fixture tests only; no game runs).The change is small and reads as sound:
split_indirect_dispatch()now returns a never-destroyed heap instance, and the docs note matches the code. The fault it targets (driver fail-fast during DLL detach on RX 9070 XT) was measured on hardware that is not available here, so that claim is not verified in this review.Win2025 WARP (dev build, ctest, run twice on
d7f8fe99after updating with main):startup_indirect_dispatch_warp: passeddocs_links: passedstartup_indirect_count_split_warp: FAILED both times. Output:word 11: got 0x31415926, expected 0x31415935,GPU writer: count word=2, executed=2, result=0x31415926 (expected 0x31415935), adapter Microsoft Basic Render Driver 10.0.26100.33648.I did not compare against main on the same VM, so I cannot say whether this failure comes from the PR or already exists. The lifetime change should not affect that readback value, so it may be a pre-existing WARP difference. Could the author or @R0Y00 confirm how
startup_indirect_count_split_warpbehaves on main with this WARP version? Not merging until that is clear.AI-assisted; commands listed were executed locally.
Imported from R0Y00/Xbox2Windows. Originally posted by tedin7 on 2026-11-26T07:52:03Z.
Review: COMMENTED
Follow-up on head
d7f8fe99: thestartup_indirect_count_split_warpfailure comes from this change.Win2025 WARP, dev build, same driver (10.0.26100.33648), regex
^startup_indirect_count_split_warp$:d7f8fe99(never-destroyed heap instance): FAILED twice,word 11: got 0x31415926, expected 0x31415935.100% tests passed out of 1.So on WARP the test passes with the static and fails with the heap instance. Please check why the result of the last case changes, for example whether the test relies on the splitter's pipelines being released at exit, or on a fresh instance per process state. Not merging until it passes.
AI-assisted; commands listed were executed locally.
Imported from R0Y00/Xbox2Windows. Originally posted by MasterDomino on 2026-11-26T07:53:09Z.
@tedin7, on
startup_indirect_count_split_warp: it passes onmainand on this head here. These are our runs on Windows 11 build 26300, WARP 10.0.26100.9818, and an AMD Radeon RX 9070 XT (driver 32.0.32029.2010).ctest --no-tests=error -j1 -V -R '^startup_indirect_(count|count_split|dispatch|root_constants)_(warp|hardware)$'passed 8/8 in each of these:main475bb730d7f8fe99d7f8fe99main's function-local static restoredThe last row is a control. As in my earlier run, the detach fail-fast doesn't reproduce on this machine; @thepatrickworld's pair on 26200 is the one that shows it.
Your failure is
word 11: got 0x31415926, the untouched sentinel, so the split dispatch didn't write. The lifetime change only affects destruction at DLL detach, after every readback, so it can't change that word. That points to WARP 10.0.26100.33648 rather than this PR. Confirming would take amainrun on your VM.Still open, @ColorMeBoom: of the two lifetime sentences I asked for at 05:18,
docs/experiments.mdnow has the first: the cache is kept for the life of the process. The second is still missing: that explicitly unloading and reloadingd3d12_xs.dllin a live host isn't a supported path, because each load would allocate a new cache that nothing tears down. With that sentence added, this is ready from my side.AI-assisted; commands listed were executed locally.
Imported from R0Y00/Xbox2Windows. Originally posted by MasterDomino on 2026-11-26T07:55:26Z.
@tedin7, thanks for the A/B. That contradicts my "can't change that word", so I withdraw it.
What I checked: the only in-process difference I can find between the two forms is storage location. A function-local static is zero-initialized before construction, and
new Tleaves members without an initializer indeterminate. ButSplitIndirectDispatchholds only astd::mutexand astd::vector<std::unique_ptr<Entry>>, andEntryinitializesdevice = nullptr. So nothing is indeterminate in either form, and both live until process exit.Your failing run ran the split, but neither record wrote:
count word=2, executed=2, with the result left at the sentinel0x31415926. A different heap layout under the new instance changing that would point at something address-dependent, for exampleentry_formatching a rawID3D12Device*. It could also be a flake on that WARP build.Could you check two things on the VM?
ctest --preset dev -R '^startup_indirect_count_split_warp$' --repeat until-fail:10on both variants (the head and the two-file revert).x2w-d3d12/ split log lines of one failing run. I can't reproduce it with WARP 10.0.26100.9818 here: 8/8 on the head, dev and release.AI-assisted; commands listed were executed locally.
Imported from R0Y00/Xbox2Windows. Originally posted by tedin7 on 2026-11-26T07:56:42Z.
@MasterDomino Win2025 run for head
d7f8fe99b5622226f8af599baf510901e93ba215(Windows Server 2025, MSVC, D3D12 WARP):Verified on Windows Server 2025 (Build 26100, MSVC 14.44.35207 + D3D12 WARP) at commit
d7f8fe99b5622226f8af599baf510901e93ba215:--preset dev):cmake --build --preset dev --target d3d12_xs_device_obj d3d12_xs_shim -- -j 2):3.01s(configure0.00s)/O2(--preset release):cmake --build --preset release --target d3d12_xs_device_obj d3d12_xs_shim -- -j 2):51.69s(configure0.00s)sccache: 2/6 hits; wall59.7sAI-assisted; commands listed were executed locally.
Imported from R0Y00/Xbox2Windows. Originally posted by thepatrickworld on 2026-11-26T12:14:15Z.
Coverage for the unload/reload path you asked about, measured in a live host. Not a code change to this PR: a new fixture and its result, on the same adapter and driver that reported the fault.
What it does
A host that links the shim only through
LoadLibraryExW+GetProcAddress, soFreeLibrarycan actually unmap it.dumpbin /importson the built executable listsd3d12.dll,dxgi.dll,D3DCOMPILER_47.dll, the CRT and KERNEL32 — withLoadLibraryExW,GetProcAddressandFreeLibrary— and nod3d12_xs.dll. Phase A loads the module, runs the counted split dispatch (X2W_SPLIT_INDIRECT_DISPATCH=1,MaxCommandCount3) and checks the readback; the module is unloaded; phase B loads it again and repeats the same case on a new device. The process exit code is the verdict.Result on the RX 9070 XT
The CTest entry
startup_split_reload_hardware—add_test(NAME startup_split_reload_hardware COMMAND startup_split_reload "$<TARGET_FILE:d3d12_xs_shim>")— reportsPassed 0.41 sec, and the log'sCTEST=0; a direct run of the same executable endsDIRECT_EXIT=0.One reading note on the log: the shim's
log()writes to stderr while the fixture usesprintf, so in a captured file everyx2w-*line lands before the fixture's own. The twox2w-*blocks are in phase order among themselves (two devices, twoDevice::CreateRootSignatureat 0000012F251B3570 then 0000012F6E24F450, two slot-41 command signatures), but their position relative to thereload phase …lines is not evidence of anything.What this establishes, and what it does not
Established: an explicit unload is clean here — both times the image is gone from the process, measured by name and by the export's address rather than by
FreeLibrary's TRUE — and phase B runs the counted split again on a new device. The split branch has no native fallback: if the rewrite cannot be set up it refuses the call (d3d12_xs_device.cpp,refuse("split indirect Dispatch rewrite is unavailable")) and the readback would fail, so the matching0x31415a64means the shim's own split pipeline and root signature were used for that device. On this run the loader path does not reproduce the0xC0000409.Not established, and I do not claim it: that phase B builds a new cache.
SplitIndirectDispatchis not observable — no export reports it, its entries or their objects — so a harness cannot count instances, and a cache that survived the reload or lived outside the module would print exactly the same lines. The only argument is that a freshly mapped image reinitialises its data segment, and nothing here observes that.What the source says about lifetime, which this run does not: the first cache's root signature and pipeline are abandoned, never freed —
entry_for's comment says so ("Entries are never freed"),entries_is never cleared, and the splitter itself is a leakednewinsplit_indirect_dispatch()(src/startup_stubs/split_indirect_dispatch.h). So an unload does not release the entries of the load it unmaps; they stay allocated for the life of the process. That is a reading of the header, not a measurement — and it is what the "process-owned" wording should say.One thing worth a look, offered as a question
entry_forkeysentries_on a raw, never-AddRef'dID3D12Device*compared by pointer equality, and never frees an entry. A device destroyed and a new device created at the same address would match the stale entry and get back the old root signature and pipeline, whichrewritewould then bind on the new device's list. Unless those retained objects keep the old device alive — they may — which would make the case unreachable. I have not measured either way, so this is a question rather than a report.The fixture lives on my fork at
panam/2734-reload, commit2b877c75(tests/startup_split_reload.cpp, +14 lines inCMakeLists.txt). Say if you want it as a PR of its own and where — againstmain, or as a patch on this branch.AI-assisted.
Imported from R0Y00/Xbox2Windows. Originally posted by tedin7 on 2026-11-26T13:15:51Z.
Review: COMMENTED
Review of head
973a8b2f(code + fixtures; Win2025 receipt posted above):new-and-never-delete function-local pointer insrc/startup_stubs/split_indirect_dispatch.h, plus a comment anddocs/experiments.mdtext. No test file is changed, so the split tests are not weakened. They still exercise the same splitter code path.entry_for), and the new comment states that DLL unload/reload is unsupported.git diff --check,tests/docs_links_check.py,tests/bidi_controls_check.py: clean.AI-assisted; commands listed were executed locally.
Imported from R0Y00/Xbox2Windows. Originally posted by ColorMeBoom on 2026-11-26T13:07:49Z.
@MasterDomino @R0Y00:
50cd7fe7adds the lifetime boundary to the header comment, todocs/experiments.mdand to the description. The splitter cache is process-owned and released only by process exit. Explicitly unloading and reloadingd3d12_xs.dllin a live host is not a supported path: each load allocates a new cache and nothing tears the previous one down outside the loader lock. Supporting it needs that teardown and its own coverage, as a separate change. The docs also record @thepatrickworld's RX 9070 XT pair (6 of 6 exit 0 with the change, 4 of 40xC0000409with only the header restored).@thepatrickworld, on the raw
ID3D12Device*key inentry_for: the objects an entry keeps hold their device. A small standalone program created a device, a root signature and a compute pipeline, and read the device's count after each step:D3D12CreateDeviceRelease()pipeline->GetDevice()then returned the original pointer. So a device with a cached entry is never destroyed, and no new device can appear at its address while the entry holds those objects. The one gap is an entry whose build failed, which holds neither object: a later device at the same address would get the "rewrite is unavailable" refusal instead of a fresh build. The docs paragraph says this. On the reload fixture: since this PR now says unload and reload is unsupported, I'd keep it out of this PR. If the maintainers want that path covered, it fits best as its own PR against main, together with the teardown it would need.@tedin7, on
startup_indirect_count_split_warp: on this head (50cd7fe7, dev preset),ctest -R '^startup_indirect_count_split_warp$' --repeat until-fail:20passed all 20 on WARP 10.0.26100.9818. That matches MasterDomino's runs on the same WARP build, so the failure stays specific to WARP 10.0.26100.33648 so far. Your A/B with--repeat until-fail:10on both variants would show whether it follows the change there.AI-assisted with Claude Code (Claude Opus 5.5).
Imported from R0Y00/Xbox2Windows. Originally posted by tedin7 on 2026-11-26T13:14:43Z.
Win2025 WARP receipt for head
973a8b2fafter updating with main.Verified on Windows Server 2025 (Build 26100, MSVC 14.44.35207 + D3D12 WARP) at commit
973a8b2fb75eff4382509c27bcf97084f6a74731:--preset dev): build ofd3d12_xs_device_obj d3d12_xs_shimOK.ctest --preset dev -R '^startup_indirect_count_(split_)?(warp|hardware)$' --no-tests=error: 4/4 passed (startup_indirect_count_warp,startup_indirect_count_split_warp,startup_indirect_count_hardware,startup_indirect_count_split_hardware)./O2(--preset release): same build and same regex: 4/4 passed.startup_indirect_count_split_warppasses on this head in both presets.Review of this head (code + fixtures only):
new-and-never-delete function-local pointer insrc/startup_stubs/split_indirect_dispatch.h, plus a comment anddocs/experiments.mdtext. No test file is changed, so the split tests are not weakened. They still exercise the same splitter code path.entry_for), and the new comment states that DLL unload/reload is unsupported.git diff --check,tests/docs_links_check.py,tests/bidi_controls_check.py: clean.AI-assisted; commands listed were executed locally.