Shaders: import exact PSOs from prior libraries #3100
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/3100"
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 bmjask on 2026-11-28T05:26:23Z.
A semantic receipt change currently discards the previous native pipeline library even when many exact PSOs remain compatible. This makes an otherwise safe cache invalidation rebuild every recipe.
What is in it
Tested
Commit
2de72223on Windows 11, NVIDIA GeForce RTX 4090, DXC 1.9.2602.17, Rust stable MSVC, debug build:cargo test -p xcl --lib pipeline_library -- --test-threads=4: 6 passed, 0 failed, 0 ignored; no skips.cargo test -p xcl --lib warm_library -- --test-threads=4: 4 passed, 0 failed, 0 ignored; no skips.cargo test --workspace -- --test-threads=4: 1,999 passed, 7 failed, 28 ignored; 25 reported GPU skips. Each failure reproduced individually on cleanmaine13d6250; none is in a file changed by this PR. This is not reported as a clean suite. Issue #3093 and draft PRs #3150 / #3157 cover six of the inherited failures;direct_msaa_loads_precede_get_dimensionsis the seventh.Fresh-process synthetic migration at pre-rebase commit
363e4ff3, Windows 11, NVIDIA GeForce RTX 5070 / driver 616.92:Regression run
Not run. This remains a draft until the required clean main/head smoke blocks are available.
Not tested
mainfailures are fixed.2de72223.AI use
Codex with GPT-5 implemented the change, tests and documentation; rebased it, ran the commands above, and reviewed the production logic. A reviewer-agent pass identified and prompted fixes for global load serialization, migration coverage, descriptor-mismatch coverage, unique import counting, and a cross-module test race.
Imported from ivall/xcl. Originally posted by andrewDoing on 2026-11-28T05:41:56Z.
I checked migration across fresh processes on RTX 5070 / NVIDIA 616.92 at head
363e4ff36b599c4b481a94532cb9f20f788c0c5b, with a test-only fixture using productionbegin,load_compute,store,finish, andNativeLibrary::open.All three fresh processes passed without skips. The two disk files were each 67,208 bytes. This checks a bounded synthetic mixed corpus and persistence, not guest execution, shader dispatch, a real title corpus, concurrent workers, or throughput.
AI use: OpenAI Codex with GPT-6.2 Astra built and ran the checks; Codex reviewed and prepared this report.