Repository navigation
Conversation
Adapt xcl-dev#2551 (3567b2e) by Rene / DTsordas to nvidia-dev integration. The ordinary offline pass omitted whole chain forms, leaving the runtime to compile them synchronously when needed. Reuse the existing chain root signature and driver-cache path, and remove the startup-only duplicate call. Preserve WholeSource and earlier memory repairs. Extend synthetic cache reuse and cap coverage; native tests are delegated to the integration owner and have not yet run for this commit. Co-authored-by: René <153442863+DTsordas@users.noreply.github.com> Assisted-by: Codex (GPT-6)
|
Ran the whole-fallback preparation tests at Environment: Windows 11 Pro build 26200 x64, NVIDIA GeForce RTX 5070 Ti (Blackwell, wave32 only, 16 GB) driver 32.0.16.2124, Intel Core i5-12400F, 64 GB RAM, rustc 1.100.0 (0ef1bc386 2026-11-09), MSVC 14.44.35207, DXC 1.9.2609.5, debug build. Both tests pass: the whole Not tested: a title's indirect dispatch, a paired smoke run, the full workspace suite, AMD and Intel GPUs, native wave64 hosts, Wine, release profile, game data. AI-assisted (OpenCode), model: DeepSeek V4.1 Flash Free - checked out the PR's head commit in a detached worktree, built it, ran the tests, wrote this report; the worktree was not modified; no game data was used. |
The Windows CI compiler emitted a whole fixture no larger than its pieces, so the size-order assertion failed before the cold whole cache-cap check. Rebuild the previously rejected piece first, then remove only the whole cache entry and cap it at its own DXIL length minus one. Assert both cached pieces are reused and the missing whole is capped independently of compiler size ordering. Fixture only; runtime behavior unchanged. Reviewed the fixture and diff; git diff --check passes. Native execution is deferred to the integration owner after gameplay ends. Assisted-by: Codex (GPT-6)
|
Re-ran the whole-fallback preparation tests at Environment: Windows 11 Pro build 26200 x64, NVIDIA GeForce RTX 5070 Ti (Blackwell, wave32 only, 16 GB) driver 32.0.16.2124, Intel Core i5-12400F, 64 GB RAM, rustc 1.100.0 (0ef1bc386 2026-11-09), MSVC 14.44.35207, DXC 1.9.2609.5, debug build. Both tests still pass at the new head, which changes the whole-pipeline cap test to be independent of DXIL size. The thread already has my report at Not tested: a title's indirect dispatch, a paired smoke run, the full workspace suite, AMD and Intel GPUs, native wave64 hosts, Wine, release profile, game data. AI-assisted (OpenCode), model: DeepSeek V4.1 Flash Free - checked out the PR's head commit in a detached worktree, built it, ran the tests, wrote this report; the worktree was not modified; no game data was used. |
|
@Prime1997 we ran the whole suite of your head on an RTX 3090 against its base on the same machine: no failure the base doesn't have. Your two changed tests pass:
Tested:
A note from reading it: a title's launch workers already build the whole forms, since Not tested: a timed offline AI use: an agent swarm: Claude Fable 5.2, Claude Opus 5.5, GPT-6.2-Sol and Gemini 4 Neon. |
|
One cache-layout control on I extended the stock synthetic split fixture locally. Both pieces were already cached. I removed the chained whole and used production
The ordinary blob remained byte-for-byte unchanged in all three passes. Thus an over-cap missing fallback still needs one preparation pass that permits its cold build; afterwards the lower cap admits its valid cached form. AI use: OpenAI Codex prepared the test-only extension, ran the controls and wrote this report. |
Adapt #2551 by René (@DTsordas), original commit
3567b2efdc94617de71e50be77e107991a6bd41c, ontonvidia-dev54225f5884a94cd23b7aab3f703a7c975070aa77. Ordinary--precompile --pipelinesprepared split pieces but omitted the whole fallback needed by indirect dispatch. Preparing that fallback ahead of play can avoid its cold driver compile on the game's thread. This is a NVIDIA adaptation of the existing main PR.What is in it
.chain.psocache namespace alongside the split pieces.Tested
73872c0d487c6f7b001a78424e5e49ad819b9fef.d50f6656fb50b7927a2279d4c78b24222be3da54:cargo build --locked --release -p xcl --target-dir <isolated-target>exited 0 in 228.576s, with 9 warnings. This includes the change but is not a standalone build/test of this PR head.cargo test --locked --release -p xcl --test gpu_compute_e2e <filter> --target-dir <isolated-target> -- --exact --test-threads=1 --nocapture. Filtersoffline_split_compute_pipeline_is_reused_by_a_second_processanda_preparation_worker_also_builds_a_split_programs_whole_form: each 1 passed, 0 failed, 0 ignored, 7 filtered, no SKIPPED messages. Covers cold synthetic whole/piece creation, fresh-process reuse, corrupt-blob recovery and startup avoiding duplicate whole preparation.xcl.exe shaders <private-exact-four> --precompile --only cs --pipelines --windows 16 --split 1. Each accepted 60/60 cached native pipelines, 0 refused, 4 split programs/56 pieces plus four whole forms, with one pipeline worker and matching adapter/DXC/translation settings. The four whole blobs already existed after the prior failed play session; this proves current driver acceptance, not a controlled 113-second before/after reduction or successful world entry.cargo test --locked --release -p xcl --lib shaders::pipeline_cap_tests::split_compute_program_prebuilds_and_caches_chain_pieces --target-dir <isolated-target> -- --exact --test-threads=1 --nocapture: 1 passed, 0 failed, 0 ignored, 1805 filtered, no SKIPPED messages; command wall time 384.914s including compilation. This is a synthetic native PSO/cache check, without shader dispatch. The previous head failed this test in Windows CI because it assumed the whole DXIL was larger than each piece. This fixture-only follow-up restores the rejected piece before testing a cold whole cap, so it no longer depends on compiler-specific sizes. The earlier runtime change is preserved; the full suite and new-head CI are not claimed here.Regression run
Pending paired clean-head main/PR title runs. No smoke result or successful world-entry result is claimed. Draft while required validation remains incomplete.
Not tested
AI use
Codex (GPT-6) checked overlap, adapted and reviewed the NVIDIA integration and tests, and prepared this description. René's original #2551 work is credited in the commit.
Optional temporary Discord for coordinating contributor work, testing and comparing results: https://discord.gg/6B4TykyC4W