Repository navigation
Conversation
Record supported console mesh streams with their fixed-function state and source shader keys. Replay through the existing graphics worker and two-pass translator to populate the runtime driver caches. Keep legacy graphics history compatible and leave unsupported streams to the existing runtime path.
Resolve shader and fixed-state selectors using a local layout profile. Publish a deduplicated native preparation job only after its recipes and shader references have been validated.
Share native replay between an offline CLI and the launch gate. Count successful recipes, propagate driver failures and cancellation, and scope recorded history to each title. Draw progress in the presentation window while workers prepare graphics, mesh and compute pipelines.
Avoid decoding the entire graphics job in both the launcher and worker. Validate the independent worker completion count and reject incompatible corpus configurations. Preserve cache reuse for inert mesh shader slots and cover the headless launch gate.
Match shader bytes and full graphics descriptors against the mandatory staged job. Keep distinct fixed-state variants and resolve their shader inputs from the staged corpus. A 48-recipe overlap fixture removed 48 redundant native submissions before the staged pass.
Limit record slicing to offline workers. An inherited slice from an earlier CLI run must not make the launch gate overlook an unstaged shader.
|
Regression run of Setup: RTX 3060 12 GB (NVIDIA 581.80), i9-14900KF, Windows 11 26200, release builds of main
So with this PR, a launch on this title starts with a pass over every shader record of the pack, even with a warm cache. Unless that is meant to happen on every launch, it looks like the discovery picks up all records instead of the recipes earlier runs recorded, or the cache keys it looks up differ from the ones Update: this head is 36,287 added lines in 98 files against Update 2: with Not tested: how long the pass takes to finish here; a second launch after it finishes; the suite on this head; AMD. AI use: Claude Code (Claude Opus 5.5) ran these on this machine and wrote this report. |
|
Source review of
The preparation went on and the title started (RTX 5090, two runs). With this head, would those 3 now be found through the new Not tested: this head in the title. AI use: Gemini (Antigravity) flagged it in a review. Claude Code (Claude Opus 5.5) checked the source at |
Stacked on #2828 against
nvidia-dev. Related to #2088.What and why
Known pipeline recipes can be prepared before guest entry. The offline command and the game window use the same staged corpus and validate native completion before reporting success.
What is in it
xcl shaders <folder> --prepare-corpus --threads 8for offline graphics, two-pass mesh and compute preparation. Select up to 32 workers.Tested
python -B -m unittest discover -s scripts/pso_corpus -vpassed 15 tests, with zero failures or skips.cargo build --workspace --lockedpassed on Windows x64. On head1eb656b4,cargo test --workspace --locked --no-fail-fast -- --test-threads=4 --show-outputreported 1,762 passed, 5 failed and 48 ignored across 40 targets. Sixteen reported-pass tests logged 26 skipped GPU subcases. All five failing tests also failed on the clean Shaders: replay compatible two-pass mesh pipelines at startup #2828 base: two texture upload tests, the AS-slot mesh diagnostic, async compute registration, and two-pass state cleanup. All head launcher end-to-end tests passed.Regression run
Paired title smoke runs are pending. This work has been exercised offline.
Not tested
Complete native compilation of the largest staged corpus on this branch. Gameplay coverage beyond supplied recipes and matched history.
AI use
Codex, GPT-6, implemented and reviewed the changes and ran the checks.