D3D12.X: record bounded shadow BLAS and TLAS builds #2175
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/2185"
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 rison1337 on 2026-11-25T08:16:57Z.
Stacked on #2085 and the preceding native-AS preparation branches. Immediate predecessor:
feat/host-dxr-inputs(1c43107a1179). Only commitd4d128f061a3belongs to this PR; earlier commits are dependencies.Add native shadow BLAS/TLAS construction and native clone handling for #1751. Input copies and barriers are recorded on the supplied list; buffers remain retained under the hard allocation cap. This backend is not connected to title exports yet.
What is in it
Tested
x86_64-pc-windows-gnullvmcross-build, debug tests and release runtime. Executed under Proton Experimental, with DXC 1.9.2609.5 and the local vkd3d-proton compatibility build.cargo test --locked --target x86_64-pc-windows-gnullvm -p xcl --lib --no-run, then run through the local Proton runner with--test-threads=4: 1100 passed, 2 failed, 26 ignored; 24 explicit SKIPPED messages.XCL_HOST_RAYQUERY=1; the private shader sample was available throughXCL_SAMPLE_RAYQUERY. No title bytes are committed.main(568e7db7729c), same runner and hardware: 1096 passed, 2 failed, 26 ignored; 24 explicit SKIPPED messages. Both fail the same existing depth-state negative check (gpu_depth_buffer_created_for_unordered_access_is_placed) and XMA voice check (xma2_source_voice_decodes_and_manages_lifetime). Skips include unavailable hardware wave64 and Windows Developer Mode.24206a657b11:cargo build --locked --target x86_64-pc-windows-gnullvm --workspaceandcargo test --locked --target x86_64-pc-windows-gnullvm --workspace --no-runpassed after adapting the four integration-test accesses to the shared-DXILArcAPI in #2085.Regression run
The repository's unchanged
scripts/smoke.ps1generated these blocks, using PowerShell 7.7.0 on Linux and a shell wrapper that executes the EXE through Proton.Z:is mapped for reading the Windows log path. Both clean-source runs use the same title/profile copy, 90 s,XCL_PSO_PRELOAD=0, no automatic input, and a separate Xwayland surface on a background workspace. The PR's opt-in flag is enabled where available. Coverage is startup/start screen/menu, not world loading or native traversal execution.Both runs exited without recorded crashes or device removals. Wine prints 0 MB for process commit, so the memory-growth comparison is not established by this counter. The existing queue-drain warning may be present at timer shutdown.
Not tested
24206a657b11, all 19 non-library workspace executables were attempted under Proton.e2e,pls_quota,gpu_compute_e2eandpredication_e2efail on both main and head. The resource/sync executable aborts with four test threads on both (main: access violation; head: division by zero), so no aggregate pass is claimed.AI use
Codex (GPT-6 family; exact variant unavailable in this session) prepared the implementation, split the commits, cross-built the binaries, ran the listed Linux/Proton checks and drafted this description. No game data or console SDK headers are included.
Imported from ivall/xcl. Originally posted by DavidM1911 on 2026-11-25T15:39:46Z.
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!
Imported from ivall/xcl. Originally posted by github-actions[bot] on 2026-11-29T20:43:09Z.
Nothing has happened on this PR for 3 days, so it is marked
staleand will be closed in 4 days. A push or a comment takes the mark off: rebase it ontomainif it conflicts, and say in one line what it still fixes. If it only waits for a maintainer, a comment saying so is enough.Imported from ivall/xcl. Originally posted by Foniass on 2026-12-01T07:32:32Z.
Triage (#1607) – head
d4d128fStacked on #2184, with #2186 to #2189 stacked on top; only
d4d128f(record_on/record_copy_oninhost_bvh.rs) belongs here. The shared lines with those PRs come from the stack, not from duplicate work.The base also includes
529d13ffrom #2085, which is closed without merging.Note:
State::retainnever frees buffers, so once the 256 MiBLIMITis reached, every later build in that state fails. This is acceptable while nothing calls it, but it needs a release path before the observer is connected.Recommendation: keep open.
AI review: Claude Code (Claude Opus 5.5), diffs read only, not built or run; not checked by a human.
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.