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

Merged
Ch1mpleo merged 2 commits from upstream-pr/1806 into main 2026-11-25 21:27:09 +00:00
Ch1mpleo commented 2026-11-25 12:20:44 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by Ch1mpleo on 2026-11-25T12:20:44Z.


Claimed in the coordination issue as: OLD-10057 (https://github.com/ubiquitarianism/leonida/issues/1608#issuecomment-7162240466)

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)
<!-- greyfinch-sync:ubiquitarianism/leonida:issue:5491213200 --> Imported from [ubiquitarianism/leonida](https://github.com/ubiquitarianism/leonida/pull/1806). Originally posted by [Ch1mpleo](https://github.com/Ch1mpleo) on 2026-11-25T12:20:44Z. --- Claimed in the coordination issue as: OLD-10057 (https://github.com/ubiquitarianism/leonida/issues/1608#issuecomment-7162240466) ### 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)
MSedgeMC commented 2026-11-25 19:19:26 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by MSedgeMC on 2026-11-25T19:19:26Z.

Review: APPROVED


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.

<!-- greyfinch-sync:ubiquitarianism/leonida:review:6063593610 --> Imported from [ubiquitarianism/leonida](https://github.com/ubiquitarianism/leonida/pull/1806#pullrequestreview-6063593610). Originally posted by [MSedgeMC](https://github.com/MSedgeMC) on 2026-11-25T19:19:26Z. **Review:** APPROVED --- 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.
PierreEbele commented 2026-11-25 19:53:07 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by PierreEbele on 2026-11-25T19:53:07Z.


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

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7172895953 --> Imported from [ubiquitarianism/leonida](https://github.com/ubiquitarianism/leonida/pull/1806#issuecomment-7172895953). Originally posted by [PierreEbele](https://github.com/PierreEbele) on 2026-11-25T19:53:07Z. --- 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
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!1806
No description provided.