WIP: docs: describe runtime Vulkan pipeline cache loading #323

Closed
leonida/mandy
Andretuta wants to merge 0 commits from old-pr/10057 into main

Pull request closed

This pull request cannot be reopened because the branch was deleted.

Andretuta commented 2026-11-24 03:10:02 +00:00

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.
> 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

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)

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)
Sign in to join this conversation.
No description provided.