D3D12.X: opt-in XCL_HW_RT shadow builder #3700
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/3700"
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 Kalmarv on 2026-12-02T15:37:09Z.
Add the opt-in
XCL_HW_RT=1native DXR 1.1 shadow builder that mirrorsXboxBvhBuilderbottom-level builds, top-level builds, rehydrates, and copies into host DXR acceleration structures recorded on the title's own command list after the console build. Off by default: no extra hooks are installed for it whenXCL_HW_RTis unset (on the 16-window layout #3662's hooks still run and checkhw_rt::enabled()per call;XCL_RAYTRACING=0also disables it).Part of #1751. Stacked on #3697 (and #3662 on
main5eaadb54c; commit93ac81233is the new diff here). Note:title_list::active_backing(and its unit test) was moved here from #3653 because this PR is its only caller, so #3653 can drop it.Related: #2184, #2185. Unlike those earlier PRs, this stacks on #3662's GPU-view hooks and #3697's pure registry/geometry translator, mirrors
XboxBvhBuilderBuildRaytracingAccelerationStructureBatched2X,RehydrateRaytracingAccelerationStructureBatched2X, andCopyRaytracingAccelerationStructureXwith explicit UAV barriers between BLAS/TLAS/copy phases, resolves consoleR16_TYPELESS/R32_TYPELESSindex formats, retires native AS buffers vialate_releaseGPU fences, and includes WARP DXR 1.1 tests covering builds, rehydration, and copies.Why this PR is over 800 changed lines: The diff is +1795 / -16 lines across 5 files, consisting of ~1235 production lines (
hw_rt.rshost DXR state, scratch/staging pools,Batched2XBLAS/TLAS/rehydrate/copy recording,bvh_builder.rshook wiring,late_release.rsfence-backed retirement,title_list.rsactive backing helper,host.rsperiodic summary logging) and ~560 lines of WARP DXR 1.1, cross-tile GPU-view read, and command-list tests. The pure registry and geometry translation were already split out into #3697; splitting the remaining host state from its hook callers or its WARP tests would either introduce unused code or land unverified host DXR command recording.What is in it
crates/xcl/src/hle/d3d12x/hw_rt.rs:HostDxr(DXR 1.1 device/tier probe),ShadowState(registry, pooled scratch/staging buffers reused after 4 presents under a configurable VRAM budget, retired list draining throughlate_release),on_build_batched2x(two-phase BLAS then TLAS recording with UAV barrier; TLAS instance arrays/pointer arrays read tile-by-tile across 64 KiB GPU-view boundaries viabvh_builder::read_gpu_bytes+view_want::cpu_run+dstorage::read_ownand capped atMAX_TLAS_INSTANCES),on_rehydrate_batched2x(native rebuild when geometry count matches, fallback tracking otherwise),on_copy_as(nativeCopyRaytracingAccelerationStructurefor clone/compact with surrounding UAV barriers), periodicHW RT shadow (XCL_HW_RT):summary formatting, cross-tile/cap unit test (read_console_instances_crosses_view_tiles_and_caps_count), and 3 WARP DXR 1.1 integration tests.crates/xcl/src/hle/bvh_builder.rs: hookBuild*Batched2X,Rehydrate*Batched2X, andCopy*Xto forward tohw_rtwhenXCL_HW_RT=1; exposepub(crate) read_gpu_bytesandMAX_TLAS_INSTANCESand read packed archive headers (read_archive_prims) throughread_gpu_bytes(tile-safe and TOCTOU-free, with unit testread_archive_prims_crosses_view_tile_and_handles_failed_read).crates/xcl/src/hle/d3d12x/late_release.rs:hold_owned_resourcehelper so replaced native AS buffers wait until every active queue is past a fence before release.crates/xcl/src/hle/d3d12x/title_list.rs:active_backinghelper (moved from #3653, its only caller) returning the active PC command list backing a wrapped console list across split segments, plus unit testactive_backing_tracks_primary_and_split_segment.crates/xcl/src/host.rs: loghw_rt::summary_line()every 10 s when active.Tested
Hardware: Windows 11 x64, NVIDIA GeForce RTX 5070 Ti (15995 MiB VRAM, DXR Tier 1.1), AMD Ryzen 9 9950X,
rustc 1.99.0, DXC1.9.2609.5(XCL_DXC_DIR).cargo build --release -p xcl(commit93ac812337a7171f3c16bb28f007682e2d9c8f59): succeeded, 39 warnings (0 new vsmain; 0 inbvh_builder.rsorhw_rt.rs)..\scripts\test.ps1(commit93ac812337a7171f3c16bb28f007682e2d9c8f59): 2998 passed, 0 failed, 52 ignored across 43 test targets + doc-tests; 24 GPU tests skipped on this adapter (22no wave64, 2no heap windows). All 10hle::d3d12x::hw_rttests (includingread_console_instances_crosses_view_tiles_and_caps_countand all 3 WARP DXR 1.1 tests), all 13hle::bvh_buildertests (includingread_archive_prims_crosses_view_tile_and_handles_failed_read), andactive_backing_tracks_primary_and_split_segmentpassed.vertex buffer VA outside UMA: the geometry lives at GPU-view addresses that only the 16-window layout maps), so native bottom levels are built primarily withXCL_HEAP_WINDOWS=1 XCL_UMA_WINDOWS=16.XCL_HW_RT=1run on3620d76522ae28985d4f0d982b3afd16732adbda(before restacking on updated #3662) (default memory layout,XCL_PREPARE=0,XCL_NETWORK=0,XCL_PSO_EVICT_FRAMES=600, automated title-screen advance):exit: 0x0,2149frames shown,0device removals,0crashes:HW RT shadow (XCL_HW_RT): live 2 BLAS / 5 TLAS / 90 rehydrated (1 MiB AS, 6 MiB pools); built 2 BLAS (0 updates, 2324 skipped), 75 TLAS (35 complete, 40 hybrid, 0 skipped); insts 34307 resolved / 0 null / 1487 rehydrated-skip / 29212 missing-skip; 1137 rehydrated recorded (0 built natively, 95 count mismatch), 0 stale invalidated, 0 copy-invalidated, 0 copied natively, 0 alloc-err, 0 budget-skipXCL_HW_RT=1 XCL_HEAP_WINDOWS=1 XCL_UMA_WINDOWS=16run on3620d76522ae28985d4f0d982b3afd16732adbda(before restacking on updated #3662) (same settings, with GPU view windows active):exit: 0x0,2016frames shown,0device removals,0crashes:HW RT shadow (XCL_HW_RT): live 2654 BLAS / 5 TLAS / 140 rehydrated (238 MiB AS, 118 MiB pools); built 1199 BLAS (0 updates, 1371 skipped), 154 TLAS (82 complete, 72 hybrid, 0 skipped); insts 104399 resolved / 0 null / 2188 rehydrated-skip / 31495 missing-skip; 1960 rehydrated recorded (1809 built natively, 151 count mismatch), 158 stale invalidated, 0 copy-invalidated, 0 copied natively, 0 alloc-err, 0 budget-skipXCL_HW_RT=1runs that hit0x887a0006.)Regression run
Base (
main):PR (
pr/hw-rt-shadow):Not tested
XCL_SAMPLE_*unset).XCL_HW_RT_TRAVERSE=1; handled in the follow-up stacked PRs).XCL_HW_RT=1run was not re-run on93ac81233(the cross-tile read changes are covered by unit tests and the 60 s default-layout smoke run above).late_releaseuntil every active queue is past a fence).AccelerationStructure = 0, InstanceMask = 0so there is no GPU fault, though those instances are skipped until the BLAS is known).XCL_HW_RT=1runs (including #3705's 180 sXCL_HW_RT_TRAVERSE=1run) ended in0x887a0006(DEVICE_HUNG) at154.2 s/ frame1969with+3.9 GiBVRAM overcommit (last recorded:DispatchMesh in two passes); one 180 sXCL_HW_RT=0control finished (1920frames,0removals). Cause not determined; the native structures add about 360 MiB of VRAM (238 MiB AS + 118 MiB poolsat180 s).AI use
Claude Opus 5.5): architecture, hang/TDR audit, barrier and lifetime review, and final diff/description review.Gemini 4 Neon): split, rebase ontomain, cross-tileread_gpu_bytes+MAX_TLAS_INSTANCESfixes and tests, builds, test suite, smoke runs, liveXCL_HW_RT=1verification, and PR description.Imported from ivall/xcl. Originally posted by Jockerino on 2026-12-02T15:48:29Z.
merge-check claim
head: 3620d76522ae28985d4f0d982b3afd16732adbda
Imported from ivall/xcl. Originally posted by Jockerino on 2026-12-02T16:42:51Z.
merge-check
base:
5eaadb54c1head:
3620d76522merge: clean
build: cargo build --workspace -> ok (cargo build --release -p xcl: 39 lib warnings on the base and on the merge, none new)
tests: cargo test at 1 thread instead of --test-threads=4, as one cargo process a group (the library's 2879 tests in 11 groups by module, then --bins, each of the 38 integration tests, the two test packages and the doc tests; this PC has gone down under the parallel run before) -> 2995 passed, 0 failed, 52 ignored, each test counted once; SKIPPED: 26 (22 no wave64, 2 no heap windows, 2 cannot disable the driver cache: Windows Developer Mode is off here); failing: none. All 9 hle::d3d12x::hw_rt tests ran, the 3 WARP DXR 1.1 ones without a SKIPPED notice, and the 11 hle::bvh_builder tests. cargo bench -p xcl --bench '*' -- --test: ok.
review: whole diff read, all three commits (+3707/-1, 9 files;
a65c38b16is #3662's andb1bd0a442is #3697's, both still open;3620d7652is this PR's own). (1) Not verified here: XCL_HW_RT=1 inside the world. On this machine main itself loses the device when a save in the first interior is continued (scripts/smoke.ps1 settings plus XCL_PRESS_AT): 0x887a0006 at the first world submits - base5eaadb54cat 138 s; the merge with XCL_HW_RT unset at 142 s; the merge with XCL_HW_RT=1 at 329 s (that run was still compiling shaders before); video memory was 2.0 to 2.4 GB over budget in these three. With XCL_DEVICE_TYPE=lockhart the merge (XCL_HW_RT unset) lost the device at 137 s as well, 0.9 GB under budget, so the budget alone does not explain it. So the removal is not this PR's, and no native structure was exercised through world frames. Up to the removal the XCL_HW_RT=1 run logged "XboxBvhBuilder: builds, rehydrates and copies wrapped (GPU views: no view windows, XCL_HW_RT on)", "native DXR 1.1 shadow builder active (host RaytracingTier=12, budget=1024 MiB)" and one summary line: live 2 BLAS / 5 TLAS / 11 rehydrated (1 MiB AS, 1 MiB pools); built 2 BLAS (0 updates, 683 skipped), 5 TLAS (3 complete, 2 hybrid, 0 skipped); 160 rehydrated recorded (0 built natively, 11 count mismatch); 0 alloc-err, 0 budget-skip - in line with the description's default-layout numbers. The 16-window layout was not run here. (2) hw_rt.rs: the scratch and staging pools only grow. acquire_scratch (~918) and acquire_staging (~964) push a new buffer and add to pool_bytes (~954, ~1005); nothing removes one. pool_bytes counts against XCL_HW_RT_BUDGET_MB together with the live structures (total_bytes ~884), so after a peak - one batch sizes a single scratch buffer for all its bottom levels - that video memory stays for the life of the process, and once pools plus structures reach the budget every later allocation fails with "budget exceeded" (~941, ~987: the build is skipped and its entry invalidated) although idle pool buffers could be freed first. Opt-in path only. (3) Minor: bvh_builder.rs resolve_scratch_bytes (~440) treats a PERFORM_UPDATE with Source = 0 as an update in place (it falls back to the destination), but execute_shadow_batch passes d.build.source to Registry::can_update (~1177, ~1321), which returns None for 0 (~352): such an update is rebuilt natively, not refitted. Correct output, more GPU work, and only if a title passes 0. (4) Minor: Copy_hook (bvh_builder.rs ~683) has no forwarding test; the build and rehydrate hooks have one each, the copy only the wrap_with mapping (~776). (5) Fine: the gate (hw_rt::enabled() = XCL_HW_RT and not XCL_RAYTRACING=0) is checked in wrap, in every hook and in summary_line; with it unset and no view windows nothing is wrapped (no "XboxBvhBuilder:" line in the merge's default-layout smoke log); UAV barriers follow the bottom-level phase, the top-level phase and surround native copies; unresolved instances are masked (AccelerationStructure 0, mask 0); replaced buffers wait 4 presents and then go through late_release's fences; read_archive_prims goes through list_x::cpu_at, which leaves a CPU address as it is.performance: off by default. With XCL_HW_RT unset the added work is one enabled() check per hook call (16-window layout only) and one summary_line() call every 10 s that returns None. Measured, 60 s smoke pair on the default layout (blocks below): 1582 -> 1574 frames shown (99.5 %), presents per 2 s 60 60 60 in both, peak commit 17482 -> 18457 MB (105.6 %), 0 device removals, 0 crashes. A repeat of the base right after the pair gave 1329 frames and 26189 MB, so on this machine two runs of main differ more than main and the merge do. With XCL_HW_RT=1: not measured in the world (review 1); by reading, up to XCL_HW_RT_BUDGET_MB (1024 MiB by default) of video memory for native structures and pools; in the default profile this card is already about 2 GB over budget at world load here.
verdict: safe to merge (after #3662 and #3697, which it carries): the default path is unchanged and measured clean, build and suite pass, and the review found nothing blocking; the opt-in XCL_HW_RT=1 path starts and builds structures here but could not be followed into the world because main itself does not survive that world load on this machine.
hardware / tool and model: NVIDIA GeForce RTX 5070 Ti (driver 621.40), AMD Ryzen 7 7800X3D, Windows 11 Pro 26300, rustc 1.101.0-nightly (clang-cl with an xwin sysroot, not the stable MSVC toolchain), DXC 1.9.2609 / Claude Code with Claude Fable 5.2 (ran the build, the tests and the runs and drafted this report)
Regression run,
scripts/smoke.ps1unchanged, one isolated data root for both, after a warm-up run of the base:Imported from ivall/xcl. Originally posted by Foniass on 2026-12-03T02:07:50Z.
merge-check
base:
078358a058head:
150a158411merge: clean
build: ok
tests: 3028 passed, 0 failed, 52 ignored; 28 skipped, the same as on main
review: 1 high, 3 medium, 1 nit (below)
performance: 60 s smoke run: 1669 → 1679 frames (100 % of main), peak commit 17577 → 17862 MB, no device removal, no crash
title run: retail title on the RTX 5070 Ti (driver 621.14), into the world by scripted presses: 223 s there, 0 device removals, 0 crashes, 3.1 presents/s; run with
XCL_SKIP_CS=95cc13288a27a96e(the NVIDIA hang at the end of loading, #3541) and NVIDIA's 2048 MB shader heap (#2590)verdict: not yet: 1 blocking finding (critical or high, below); also
PR descriptionis redhardware / tool and model: RTX 5070 Ti (driver 621.14), Ryzen 7 7800X3D, Windows 11 26300 / Claude Code with Claude Opus 5.5
In short: Adds the opt-in XCL_HW_RT=1 shadow builder. After each XboxBvhBuilder build, rehydrate or copy it records a native DXR 1.1 BLAS, TLAS or clone on the title's own list; nothing reads these yet (traversal is #3705). It is stacked on #3662 and #3697, whose heads match, and only
150a1584is its own. The default path is unchanged, but the TLAS instance read ignores 64 KiB view-tile boundaries, which gives wrong instances on the 16-window layout this feature mainly runs on.High
Medium
3620d765, before the restack, not this head. It is opt-in, so this does not block, but find the cause before anything turns it on, or rule the shadow builds in or out with XCL_HW_RT=0 runs of the same length.Nit
Checked and fine
f783a5f5is #3697's head and4082300bis #3662'sHow this was tested
078358a0, thencargo build --workspaceandcargo test --workspace --no-fail-fast -- --test-threads=4.scripts/smoke.ps1: 60 s of a retail title on main078358a0and on this merge; presents per 2 s at the end: 60 60 61.XCL_RUN_SECONDS=300and scripted A presses counted from the first frame (XCL_PRESS_BASE=frame, #3712) into the world from an existing save; time in the world is counted from the first in-world draw call to the end of the run.Written by Claude Code (Claude Opus 5.5) and posted by Foniass without a human check of each point.
Imported from ivall/xcl. Originally posted by Kalmarv on 2026-12-03T02:29:10Z.
Thanks for the review, @Foniass — updated
pr/hw-rt-shadowto93ac81233:MAX_TLAS_INSTANCEScap): Exposedpub(crate) bvh_builder::read_gpu_bytesandMAX_TLAS_INSTANCES, rewrotehw_rt::read_console_instances(viaread_console_instances_with) to readLAYOUT_ARRAY,LAYOUT_ARRAY_OF_POINTERStables, and each 64-byte element throughread_gpu_bytes(view_want::cpu_run+dstorage::read_own) across 64 KiB GPU-view tile boundaries, and rejectnum_descs > MAX_TLAS_INSTANCEScleanly without allocating. Added unit testhw_rt::tests::read_console_instances_crosses_view_tiles_and_caps_count.bvh_builder::read_archive_prims): Replacedreadable()+read_unalignedwith the sameread_gpu_byteshelper (read_archive_prims_with) so both GPU-memory read paths are tile-safe and TOCTOU-free, with unit testbvh_builder::tests::read_archive_prims_crosses_view_tile_and_handles_failed_read.PR descriptioncheck: Verifiedscripts/pr_check.py --localpasses (description ok) on93ac81233(the earlier red check on150a15841was GitHub Actions' repo-widepull_request_targetstartup_failure).Re-verified on
93ac81233:cargo build --release -p xcl(39 warnings, 0 new vsmain),.\scripts\test.ps1(2998 passed, 0 failed, 52 ignored,24 SKIPPED: 22no wave64, 2no heap windows), and fresh 60 s retail smoke (1701frames,60 60 60presents/2 s,16200 MBpeak commit,0removals,0crashes,exit: 0x0).Imported from ivall/xcl. Originally posted by Foniass on 2026-12-03T07:03:08Z.
merge-check
base:
078358a058head:
93ac812337merge: clean
build: ok
tests: 3030 passed, 0 failed, 52 ignored; 28 skipped, the same as on main
review: 3 medium (below)
performance: 60 s smoke run: 1669 → 1667 frames (99 % of main), peak commit 17577 → 18251 MB, no device removal, no crash
title run: retail title on the RTX 5070 Ti (driver 621.14), into the world by scripted presses: 232 s there, 0 device removals, 0 crashes, 2.7 presents/s; run with
XCL_SKIP_CS=95cc13288a27a96e(the NVIDIA hang at the end of loading, #3541) and NVIDIA's 2048 MB shader heap (#2590)verdict: not yet:
PR descriptionis red; otherwise no blocking finding, the suite passes and the smoke run is cleanhardware / tool and model: RTX 5070 Ti (driver 621.14), Ryzen 7 7800X3D, Windows 11 26300 / Claude Code with Claude Opus 5.5
In short: Adds the opt-in XCL_HW_RT=1 shadow builder, which records a native DXR 1.1 BLAS, TLAS or copy after each XboxBvhBuilder build, rehydrate or copy. It is stacked on #3662 (
4082300b) and #3697 (f783a5f5), both unchanged, and only93ac8123is its own. This push fixes the high finding and the nit from my last merge-check, and the read_archive_prims point from the #3704 review. Nothing blocks merging; the three mediums from my last merge-check are still open and the author has left them unchanged on purpose.Medium
3620d765, and the description says they were not repeated on93ac8123, so the new tile-by-tile reads have not run in a live 16-window session either. It is opt-in, so this does not block, but the cause should be found, or the shadow builds ruled in or out with XCL_HW_RT=0 runs of the same length, before anything turns it on.93ac8123is +1795/-16 across 5 files (up from about 1612), over the ~800 limit. The reason given in the description is plausible, but about 1235 production lines in one commit are hard to review. late_release::hold_owned_resource and title_list::active_backing, with their tests, could still go first as their own PR.Checked and fine
4082300bandf783a5f5identical to the150a1584push and to the current heads of #3662 and #3697. Only hw_rt.rs and bvh_builder.rs changed since150a1584, and no assertion was removed or weakenedHow this was tested
078358a0, thencargo build --workspaceandcargo test --workspace --no-fail-fast -- --test-threads=4.scripts/smoke.ps1: 60 s of a retail title on main078358a0and on this merge; presents per 2 s at the end: 60 60 60.XCL_RUN_SECONDS=300and scripted A presses counted from the first frame (XCL_PRESS_BASE=frame, #3712) into the world from an existing save; time in the world is counted from the first in-world draw call to the end of the run.Written by Claude Code (Claude Opus 5.5) and posted by Foniass without a human check of each point.
Imported from ivall/xcl. Originally posted by Kalmarv on 2026-12-03T07:23:29Z.
Thanks for the re-check, smoke run, and title run @Foniass!
PR descriptionis red: everypull_request_targetworkflow onxcl-dev/xcl(PR checks,Auto triage,Testing feed,Discord mirror) has been failing withstartup_failurerepo-wide since ~22:47 UTC on 2026-12-02 (still failing at07:18 UTC), soPR descriptionnever started on93ac81233(runs47020074504/47020076295). Runningmain'sscripts/pr_check.py --localagainst PR #3700's current description and 9-file list for93ac812337a7171f3c16bb28f007682e2d9c8f59passes (description ok), andBuild and test (Windows, no GPU)is green (run47020078504). Oncepull_request_targetrecovers, I'll retriggerPR checksvia a description edit without changing93ac81233.XCL_HW_RT=1run on93ac81233): ran a fresh 180 sXCL_HW_RT=1 XCL_HEAP_WINDOWS=1 XCL_UMA_WINDOWS=16retail session directly on93ac81233(XCL_PREPARE=0,XCL_NETWORK=0,XCL_PSO_EVICT_FRAMES=600, automated title-screen advance) to exercise the new tile-by-tileread_console_instancesandread_archive_primsread_gpu_bytespaths:exit: 0x0,1841frames shown (1842PresentX calls),0device removals,0crashes:HW RT shadow (XCL_HW_RT): live 3542 BLAS / 5 TLAS / 180 rehydrated (347 MiB AS, 136 MiB pools); built 1729 BLAS (0 updates, 1671 skipped), 193 TLAS (105 complete, 88 hybrid, 0 skipped); insts 138984 resolved / 0 null / 3387 rehydrated-skip / 42060 missing-skip; 2715 rehydrated recorded (2522 built natively, 193 count mismatch), 391 stale invalidated, 0 copy-invalidated, 0 copied natively, 0 alloc-err, 0 budget-skipXCL_HW_RT=1runs to 3 clean 180 s sessions vs. the 1 earlier0x887a0006(DEVICE_HUNG); agreed the hang root cause should be nailed down before anything enables hardware RT by default.93ac81233untouched so this merge-check, title run, and green CI remain valid and the stacked PRs (#3704/#3705) stay aligned, and keeping fence-backed pool reuse for follow-up before default-on.(Verified and replied via Antigravity (Gemini 4 Neon).)
Imported from ivall/xcl. Originally posted by Foniass on 2026-12-03T15:32:08Z.
merge-check
base:
078358a058head:
93ac812337merge: clean
build: ok
tests: 3030 passed, 0 failed, 52 ignored; 28 skipped, the same as on main
review: 3 medium (below)
performance: 60 s smoke run: 1669 → 1667 frames (99 % of main), peak commit 17577 → 18251 MB, no device removal, no crash
title run: retail title on the RTX 5070 Ti (driver 621.14), into the world by scripted presses: 232 s there, 0 device removals, 0 crashes, 2.7 presents/s; run with
XCL_SKIP_CS=95cc13288a27a96e(the NVIDIA hang at the end of loading, #3541) and NVIDIA's 2048 MB shader heap (#2590)verdict: safe to merge: no blocking finding (the points below are medium or nits), the suite passes and the smoke run is clean
hardware / tool and model: RTX 5070 Ti (driver 621.14), Ryzen 7 7800X3D, Windows 11 26300 / Claude Code with Claude Opus 5.5
In short: Adds the opt-in XCL_HW_RT=1 shadow builder, which records a native DXR 1.1 BLAS, TLAS or copy after each XboxBvhBuilder build, rehydrate or copy. It is stacked on #3662 (
4082300b) and #3697 (f783a5f5), both unchanged, and only93ac8123is its own. This push fixes the high finding and the nit from my last merge-check, and the read_archive_prims point from the #3704 review. Nothing blocks merging; the three mediums from my last merge-check are still open and the author has left them unchanged on purpose.Medium
3620d765, and the description says they were not repeated on93ac8123, so the new tile-by-tile reads have not run in a live 16-window session either. It is opt-in, so this does not block, but the cause should be found, or the shadow builds ruled in or out with XCL_HW_RT=0 runs of the same length, before anything turns it on.93ac8123is +1795/-16 across 5 files (up from about 1612), over the ~800 limit. The reason given in the description is plausible, but about 1235 production lines in one commit are hard to review. late_release::hold_owned_resource and title_list::active_backing, with their tests, could still go first as their own PR.Checked and fine
4082300bandf783a5f5identical to the150a1584push and to the current heads of #3662 and #3697. Only hw_rt.rs and bvh_builder.rs changed since150a1584, and no assertion was removed or weakenedHow this was tested
078358a0, thencargo build --workspaceandcargo test --workspace --no-fail-fast -- --test-threads=4.scripts/smoke.ps1: 60 s of a retail title on main078358a0and on this merge; presents per 2 s at the end: 60 60 60.XCL_RUN_SECONDS=300and scripted A presses counted from the first frame (XCL_PRESS_BASE=frame, #3712) into the world from an existing save; time in the world is counted from the first in-world draw call to the end of the run.Written by Claude Code (Claude Opus 5.5) and posted by Foniass without a human check of each point.
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.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.