docs(pso_cache): distinguish Xbox package PSO blob from runtime Vulkan caches #2425

Merged
leonida/mandy
Andretuta merged 1 commit from docs/pso-cache-scope-note into main 2026-11-28 18:29:31 +00:00

Pull request successfully merged and closed

Andretuta commented 2026-11-27 03:17:29 +00:00

Claimed in the coordination issue as: DOC-PSO-CACHE-SCOPE-NOTE (https://github.com/ubiquitarianism/leonida/issues/1608#issuecomment-7208856827)

What and why

  • Add a short opening scope note in docs/pso_cache.md distinguishing the Xbox package shaders.rpf PS\0\x09 PSO blob documented on that page from the runtime's host-side Vulkan VkPipelineCache files (pipeline_cache.bin, pipeline_cache.d/, compute journal).

Tested

  • All tests/test_docs_*.py + tests/test_text_write_line_endings.py: OK.
  • python -I scripts/check_no_game_data.py docs/pso_cache.md: exit 0.

GPUs tested: n/a

AI-assisted: yes (Antigravity gemini-4-neon)

Checklist

  • Based on current main and merges cleanly (a conflicting pull request is labeled needs rebase).
  • One topic; follow-up work goes in a new pull request.
  • No game data, keys or decryption (CONTRIBUTING.md), including in logs or reports quoted here.
  • A new translator rule is in the contract table of docs/design.md, with how it was confirmed. (n/a — not a translator rule)
Claimed in the coordination issue as: DOC-PSO-CACHE-SCOPE-NOTE (https://github.com/ubiquitarianism/leonida/issues/1608#issuecomment-7208856827) ### What and why - Add a short opening scope note in `docs/pso_cache.md` distinguishing the Xbox package `shaders.rpf` `PS\0\x09` PSO blob documented on that page from the runtime's host-side Vulkan `VkPipelineCache` files (`pipeline_cache.bin`, `pipeline_cache.d/`, compute journal). ### Tested - All `tests/test_docs_*.py` + `tests/test_text_write_line_endings.py`: OK. - `python -I scripts/check_no_game_data.py docs/pso_cache.md`: exit 0. GPUs tested: n/a AI-assisted: yes (Antigravity gemini-4-neon) ### Checklist - [x] Based on current `main` and merges cleanly (a conflicting pull request is labeled `needs rebase`). - [x] One topic; follow-up work goes in a new pull request. - [x] No game data, keys or decryption (CONTRIBUTING.md), including in logs or reports quoted here. - [ ] A new translator rule is in the contract table of `docs/design.md`, with how it was confirmed. *(n/a — not a translator rule)*
tiguan26 approved these changes 2026-11-27 06:03:12 +00:00
tiguan26 left a comment

Approving. Merged onto current main together with the other doc PRs of this batch: no conflicts, and the doc validators (tests/ -k doc: 95 passed, 207 subtests) pass. tools/psocache_inspect.py and tools/shader_library.py exist, and pipeline_cache.session.bin, pipeline_cache.heavy.bin and pipeline_cache.d are all names the runtime uses. The scope note does what it should: separates the package PSO blob from the host Vulkan caches.

Approving. Merged onto current main together with the other doc PRs of this batch: no conflicts, and the doc validators (`tests/` -k doc: 95 passed, 207 subtests) pass. `tools/psocache_inspect.py` and `tools/shader_library.py` exist, and `pipeline_cache.session.bin`, `pipeline_cache.heavy.bin` and `pipeline_cache.d` are all names the runtime uses. The scope note does what it should: separates the package PSO blob from the host Vulkan caches.
MoonEyes commented 2026-11-28 18:29:28 +00:00

Red/green: Docs only: Adds a scope note to docs/pso_cache.md separating the package PSO blob from the runtime's Vulkan pipeline caches, as documented on main.
Targeted batch (PR tests, tests importing the changed modules, docs tests, translator when touched) merged on main 7daa4a4a5 in GitHub Actions: no new failure. Docs checked by a separate reviewer against the code on main.
AI-assisted (Claude Code, Claude Opus 5.5)

Red/green: Docs only: Adds a scope note to docs/pso_cache.md separating the package PSO blob from the runtime's Vulkan pipeline caches, as documented on main. Targeted batch (PR tests, tests importing the changed modules, docs tests, translator when touched) merged on main 7daa4a4a5 in GitHub Actions: no new failure. Docs checked by a separate reviewer against the code on main. AI-assisted (Claude Code, Claude Opus 5.5)
Sign in to join this conversation.
No description provided.