Shaders: prove native pipeline library round trips #3045
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/3045"
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-27T17:52:16Z.
Stacked on #2829. ## What and why Probe D3D12 pipeline libraries before integrating them with offline preparation. The API retains the serialized input pointer, so XCL needs an owner that keeps the bytes alive while the library exists. What is in it - Empty native libraries are created with a null blob pointer and zero length; serialized libraries retain owned backing bytes for the D3D12-required lifetime. - Store, serialize, compute/graphics load, and pipeline-state-stream load operations. - Synthetic compute, graphics, mesh, duplicate-name, corruption, and small scale coverage. Tested Hardware: local D3D12 adapter selected by XCL.
cargo test -p xcl --lib pipeline_library -- --test-threads=1 --nocapture4 passed, 0 failed, 0 ignored, 0 skipped. A 256-name synthetic library serialized to 47,888 bytes and reopened in 113 microseconds. - Full-stack heade475c76f, Windows 11, NVIDIA RTX 4090:cargo build --workspacepassed;cargo test --workspace -- --test-threads=4passed 1,510 tests in 38 suites, with 0 failed, 47 ignored, and 26 explicitly reportedSKIPPEDcapability tests. Regression run Not run. Repository policy requires a real-title smoke pair here, while this task explicitly prohibited launching a retail title. No smoke block or result has been invented. Not tested - Full workspace suite. - Real title data or a full pipeline corpus. - Large sets of unique native PSOs. AI use Codex, GPT-5, traced the existing preparation path, implemented the wrapper and synthetic tests, and ran the focused test command. The user reviewed and authorized the commit.