docs: describe runtime Vulkan pipeline cache loading (OLD-10057) #1806

Manually merged
github merged 2 commits from gh-pr/1806/head into gh-pr/1806/base 2026-11-26 10:06:19 +00:00
Owner

@⁠Ch1mpleo on GitHub · 2026-11-25 12:20 UTC · original
Ch1mpleo:carry/old-10057 → main · +7 −5 · 1 files · 2 commits · merged 2026-11-25 21:27 UTC

Claimed in the coordination issue as: OLD-10057 (#1608)

What and why

Carries forward old-pr/10057 (draft #323, preserving Osis78's two original commits) rebased onto current main. Updates README.md to describe runtime Vulkan pipeline cache loading and default placement.

Tested

  • python -I tests/test_docs_repeated_lines.py — 2 tests, OK (Windows 11 x64, Python 3.14.7).
  • python -I scripts/check_no_game_data.py README.md — exit 0.

GPUs tested: n/a (documentation only)

AI-assisted: yes

Checklist

  • Based on current main and merges cleanly (a conflicting pull request is labeled
    eeds 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 — documentation only)
**@⁠Ch1mpleo** on GitHub · 2026-11-25 12:20 UTC · [original](https://github.com/ubiquitarianism/leonida/pull/1806) `Ch1mpleo:carry/old-10057` → `main` · +7 −5 · 1 files · 2 commits · merged 2026-11-25 21:27 UTC Claimed in the coordination issue as: OLD-10057 (https://git.gtahub.st/github/ubiquitarianism--leonida/issues/1608) ### What and why Carries forward old-pr/10057 (draft #323, preserving Osis78's two original commits) rebased onto current main. Updates README.md to describe runtime Vulkan pipeline cache loading and default placement. ### Tested - python -I tests/test_docs_repeated_lines.py — 2 tests, OK (Windows 11 x64, Python 3.14.7). - python -I scripts/check_no_game_data.py README.md — exit 0. GPUs tested: n/a (documentation only) AI-assisted: yes ### Checklist - [x] Based on current main and merges cleanly (a conflicting pull request is labeled eeds 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 — documentation only)
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 10:06:17 +00:00
github manually merged commit 4e996c7faf into gh-pr/1806/base 2026-11-26 10:06:19 +00:00
Author
Owner

@⁠MSedgeMC on GitHub · 2026-11-25 19:19 UTC · original · approved these changes

Verified against source: runtime/shims/d3d12_vulkan_device.cpp:1215-1232 resolves pipeline_cache.bin beside the executable (or LEONIDA_PIPELINE_CACHE_DIR), and runtime/src/pipeline_cache_store.h documents/validates the VkPipelineCacheHeaderVersionOne 32-byte header including the device + pipeline-cache UUID check with fallback. The README update correctly replaces the stale 'runtime doesn't load that cache yet' statement. docs tests: python3 -m unittest discover -s tests -p 'test_docs_*.py' -> 47 tests OK. Docs-only, no game data.

**@⁠MSedgeMC** on GitHub · 2026-11-25 19:19 UTC · [original](https://github.com/ubiquitarianism/leonida/pull/1806#pullrequestreview-6063593610) · **approved these changes** Verified against source: runtime/shims/d3d12_vulkan_device.cpp:1215-1232 resolves pipeline_cache.bin beside the executable (or LEONIDA_PIPELINE_CACHE_DIR), and runtime/src/pipeline_cache_store.h documents/validates the VkPipelineCacheHeaderVersionOne 32-byte header including the device + pipeline-cache UUID check with fallback. The README update correctly replaces the stale 'runtime doesn't load that cache yet' statement. docs tests: python3 -m unittest discover -s tests -p 'test_docs_*.py' -> 47 tests OK. Docs-only, no game data.
Author
Owner

@⁠PierreEbele on GitHub · 2026-11-25 19:53 UTC · original

Reviewed 4e996c7fa: docs-only README change. I ran scripts/check_no_game_data.py README.md (pass), tests/test_docs_table_rows.py, test_i18n_index.py, test_progress_dashboard.py and test_make_game_pipelines.py on the PR and main trees - all pass on both. The C++ cache tests could not be run here (no C++ toolchain; the shims build only on Windows), so for those I only read the code: the runtime seeds from pipeline_cache.bin beside gta6rt.exe when its header matches vendor/device/UUID, with an empty-cache fallback on missing, incompatible, or driver-rejected files (d3d12_vulkan_device.cpp; docs/d3d12_vulkan.md agrees). No finding; the i18n quickstarts still carry the old "runtime doesn't load the cache" wording. AI-assisted review.

Recommendation: Merge

**@⁠PierreEbele** on GitHub · 2026-11-25 19:53 UTC · [original](https://github.com/ubiquitarianism/leonida/pull/1806#issuecomment-7172895953) Reviewed 4e996c7fa: docs-only README change. I ran `scripts/check_no_game_data.py README.md` (pass), `tests/test_docs_table_rows.py`, `test_i18n_index.py`, `test_progress_dashboard.py` and `test_make_game_pipelines.py` on the PR and main trees - all pass on both. The C++ cache tests could not be run here (no C++ toolchain; the shims build only on Windows), so for those I only read the code: the runtime seeds from `pipeline_cache.bin` beside `gta6rt.exe` when its header matches vendor/device/UUID, with an empty-cache fallback on missing, incompatible, or driver-rejected files (d3d12_vulkan_device.cpp; docs/d3d12_vulkan.md agrees). No finding; the i18n quickstarts still carry the old "runtime doesn't load the cache" wording. AI-assisted review. **Recommendation:** Merge
This discussion has been locked. Commenting is limited to contributors.
No description provided.