docs: describe runtime Vulkan pipeline cache loading #323

Closed
Andretuta wants to merge 2 commits from upstream-pr/323 into main
Andretuta commented 2026-11-24 03:10:02 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by Andretuta on 2026-11-24T03:10:02Z.


Carried over from old PR 10057 by Osis78 in the original Leonida repository, which went private on 23 Nov 2026. The code is the branch old-pr/10057, exactly that PR's last commit. All carried-over PRs are listed in #17.
Opened as a draft, and the CI runs the opening started were cancelled so 250 PRs don't fill the queue. Re-run CI here when you review it.
Osis78: this is your work. Feel free to take it over, by pushing to the branch or opening your own PR and closing this one.


Original description (mentions and #N references are disabled; the numbers refer to the old repository):

Claimed in the coordination issue as: correct the English README's pipeline cache sentence

What and why

The build writes pipeline_cache.bin to --out. When the file is beside the executable, the current Vulkan runtime checks its header against the device and cache UUID and passes compatible data to vkCreatePipelineCache. It falls back to an empty cache if it cannot use that file.

This updates the English README to match pipeline_cache_path(), PipelineCacheSeed::compatible() and pipeline_cache() in runtime/shims/d3d12_vulkan_device.cpp. It also gives translation updates such as #10007 the current behavior to describe.

Tested

  • Verified the path, header checks and fallback in the runtime source at de4c373, as well as the output path in make_game.py.
  • Ran tests/test_docs_*.py and tests/test_i18n_index.py on Windows with Python 3.12.14. git diff --check and python -I scripts/check_no_game_data.py README.md passed.
  • Documentation and source verification only.

AI-assisted: yes

Checklist

  • No game data, keys or decryption (CONTRIBUTING.md), including in logs or reports quoted here.
<!-- greyfinch-sync:ubiquitarianism/leonida:issue:5465354566 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/pull/323). Originally posted by [Andretuta](https://github.com/Andretuta) on 2026-11-24T03:10:02Z. --- > Carried over from **old PR 10057** by `Osis78` in the original Leonida repository, which went private on 23 Nov 2026. The code is the branch `old-pr/10057`, exactly that PR's last commit. All carried-over PRs are listed in #17. > Opened as a draft, and the CI runs the opening started were cancelled so 250 PRs don't fill the queue. Re-run CI here when you review it. > `Osis78`: this is your work. Feel free to take it over, by pushing to the branch or opening your own PR and closing this one. --- Original description (mentions and `#N` references are disabled; the numbers refer to the old repository): Claimed in the coordination issue as: [correct the English README's pipeline cache sentence](https://github.com/ProjectLeonida/Leonida/issues/9677#issuecomment-7117100820) ### What and why The build writes `pipeline_cache.bin` to `--out`. When the file is beside the executable, the current Vulkan runtime checks its header against the device and cache UUID and passes compatible data to `vkCreatePipelineCache`. It falls back to an empty cache if it cannot use that file. This updates the English README to match `pipeline_cache_path()`, `PipelineCacheSeed::compatible()` and `pipeline_cache()` in `runtime/shims/d3d12_vulkan_device.cpp`. It also gives translation updates such as `#10007` the current behavior to describe. ### Tested - Verified the path, header checks and fallback in the runtime source at `de4c373`, as well as the output path in `make_game.py`. - Ran `tests/test_docs_*.py` and `tests/test_i18n_index.py` on Windows with Python 3.12.14. `git diff --check` and `python -I scripts/check_no_game_data.py README.md` passed. - Documentation and source verification only. AI-assisted: yes ### Checklist - [x] No game data, keys or decryption (CONTRIBUTING.md), including in logs or reports quoted here.
MoonEyes commented 2026-11-27 18:58:56 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by MoonEyes on 2026-11-27T18:58:56Z.


Thanks a lot for this, @Andretuta. We checked and the change in this pull request is already in main: it landed through #1806, and the lines this PR changes are already in main with the same wording.

Since there is nothing left to merge, I am closing this one to keep the queue clear. Please do reopen it if you see something we missed.

AI-assisted (Claude Code, Claude Opus 5.5)

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7226067893 --> Imported from [ubiquitarianism/leonida](https://github.com/ubiquitarianism/leonida/pull/323#issuecomment-7226067893). Originally posted by [MoonEyes](https://github.com/MoonEyes) on 2026-11-27T18:58:56Z. --- Thanks a lot for this, @Andretuta. We checked and the change in this pull request is already in `main`: it landed through #1806, and the lines this PR changes are already in `main` with the same wording. Since there is nothing left to merge, I am closing this one to keep the queue clear. Please do reopen it if you see something we missed. AI-assisted (Claude Code, Claude Opus 5.5)

Pull request closed

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
ProjectLeonida/mandy!323
No description provided.