docs: describe runtime Vulkan pipeline cache loading #323

Open
github-bot wants to merge 2 commits from github-bot/gh-323 into main AGit
Owner

@⁠Andretuta on GitHub · 2026-11-24 03:10 UTC · original
ubiquitarianism:old-pr/10057 → main · +7 −5 · 1 files · 2 commits · draft

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.
**@⁠Andretuta** on GitHub · 2026-11-24 03:10 UTC · [original](https://github.com/ubiquitarianism/leonida/pull/323) `ubiquitarianism:old-pr/10057` → `main` · +7 −5 · 1 files · 2 commits · draft > 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.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 08:53:24 +00:00
This pull request can be merged automatically.
This branch is out-of-date with the base branch
The changes on this branch are already on the target branch. This will be an empty commit.
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin '+refs/pull/323/head:github-bot/gh-323'
git switch 'github-bot/gh-323'

Merge

Merge the changes and update on Forgejo.
git switch 'main'
git merge --no-ff 'github-bot/gh-323'
git switch 'github-bot/gh-323'
git rebase 'main'
git switch 'main'
git merge --ff-only 'github-bot/gh-323'
git switch 'github-bot/gh-323'
git rebase 'main'
git switch 'main'
git merge --no-ff 'github-bot/gh-323'
git switch 'main'
git merge --squash 'github-bot/gh-323'
git switch 'main'
git merge --ff-only 'github-bot/gh-323'
git switch 'main'
git merge 'github-bot/gh-323'
git push origin 'main'
This discussion has been locked. Commenting is limited to contributors.
No description provided.