[PR #323] docs: describe runtime Vulkan pipeline cache loading #376

Open
opened 2026-11-26 20:17:41 +01:00 by 4ld0 · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ubiquitarianism/leonida/pull/323
Author: @Andretuta
Created: 11/24/2026
Status: 🔄 Open

Base: main ← Head: old-pr/10057


📝 Commits (2)

  • 5c5dc72 docs: describe runtime Vulkan pipeline cache loading
  • 005f6ec docs: clarify default pipeline cache placement

📊 Changes

1 file changed (+7 additions, -5 deletions)

View changed files

📝 README.md (+7 -5)

📄 Description

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.

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/ubiquitarianism/leonida/pull/323 **Author:** [@Andretuta](https://github.com/Andretuta) **Created:** 11/24/2026 **Status:** 🔄 Open **Base:** `main` ← **Head:** `old-pr/10057` --- ### 📝 Commits (2) - [`5c5dc72`](https://github.com/ubiquitarianism/leonida/commit/5c5dc72e0b2dc11476240cf58cbf67acbb48c483) docs: describe runtime Vulkan pipeline cache loading - [`005f6ec`](https://github.com/ubiquitarianism/leonida/commit/005f6ec20f81552052cf7563912a6dff153fb4de) docs: clarify default pipeline cache placement ### 📊 Changes **1 file changed** (+7 additions, -5 deletions) <details> <summary>View changed files</summary> 📝 `README.md` (+7 -5) </details> ### 📄 Description > 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. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Sign in to join this conversation.
No labels
bug
pull-request
No milestone
No project
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.

Dependencies

No dependencies set

Reference
starred/leonida#376
No description provided.