docs: describe runtime Vulkan pipeline cache loading (OLD-10057) #1806
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/1806"
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?
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
GPUs tested: n/a (documentation only)
AI-assisted: yes
Checklist
eeds rebase).
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.
Imported from ubiquitarianism/leonida. Originally posted by PierreEbele on 2026-11-25T19:53:07Z.
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