Shaders: publish semantic corpus identities #3046
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/3046"
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:54:05Z.
Stacked on #3045 (which is stacked on #2829). ## What and why Give prepared pipeline libraries identities based on semantic corpus and PSO-layout inputs rather than executable or diagnostic build identity. What is in it - A SHA-256 content identity atomically published with newly staged corpora. - Optional parsing for compatibility with existing staged corpora. - A pipeline-layout source identity that excludes compiler, profile, optimization and debug inputs. - No changes to existing shader, PSO, translation or driver-blob cache keys. Tested
python -m unittest discover -s scripts/pso_corpus -p 'test_stage.py'3 passed, 0 failed.cargo test -p xcl --lib shaders::pso_corpus::tests -- --test-threads=1 --nocapture1 passed, 0 failed, 0 ignored, 0 skipped. - 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 full corpus preparation. AI use Codex, GPT-5, traced the staging and preparation identities, implemented the semantic identities and focused tests, and ran the commands above.