docs: describe runtime Vulkan pipeline cache loading (OLD-10057) #1806
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
missing claim
needs rebase
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/ubiquitarianism--leonida!1806
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/1806/head"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@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 UTCClaimed 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
GPUs tested: n/a (documentation only)
AI-assisted: yes
Checklist
eeds rebase).
@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.
@PierreEbele on GitHub · 2026-11-25 19:53 UTC · original
Reviewed
4e996c7fa: docs-only README change. I ranscripts/check_no_game_data.py README.md(pass),tests/test_docs_table_rows.py,test_i18n_index.py,test_progress_dashboard.pyandtest_make_game_pipelines.pyon 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 frompipeline_cache.binbesidegta6rt.exewhen 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