Shaders: publish semantic corpus identities #3046

Merged
bmjask merged 20 commits from upstream-pr/3046 into main 2026-11-28 01:12:44 +00:00
bmjask commented 2026-11-27 17:54:05 +00:00 (Migrated from github.com)

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 --nocapture 1 passed, 0 failed, 0 ignored, 0 skipped. - Full-stack head e475c76f, Windows 11, NVIDIA RTX 4090: cargo build --workspace passed; cargo test --workspace -- --test-threads=4 passed 1,510 tests in 38 suites, with 0 failed, 47 ignored, and 26 explicitly reported SKIPPED capability 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.

<!-- greyfinch-sync:ivall/xcl:issue:5530969012 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/3046). Originally posted by [bmjask](https://github.com/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 --nocapture` 1 passed, 0 failed, 0 ignored, 0 skipped. - Full-stack head `e475c76f`, Windows 11, NVIDIA RTX 4090: `cargo build --workspace` passed; `cargo test --workspace -- --test-threads=4` passed 1,510 tests in 38 suites, with 0 failed, 47 ignored, and 26 explicitly reported `SKIPPED` capability 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.
Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
xcl-dev/xcl!3046
No description provided.