mirror of
https://github.com/ubiquitarianism/leonida.git
synced 2026-11-26 21:30:53 +01:00
[PR #1157] [CLOSED] Precompile separate shader indexes (BUILD-LIBRARY-PIPELINE-PRECOMPILE) #1190
Labels
No labels
bug
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
starred/leonida#1190
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
📋 Pull Request Information
Original PR: https://github.com/ubiquitarianism/leonida/pull/1157
Author: @silas-rbus
Created: 11/24/2026
Status: ❌ Closed
Base:
main← Head:codex/library-pipeline-precompile📝 Commits (1)
66dc3abPrecompile separate shader indexes into shared Vulkan cache📊 Changes
3 files changed (+125 additions, -25 deletions)
View changed files
📝
docs/pipeline_check.md(+9 -1)📝
make_game.py(+61 -21)📝
tests/test_make_game_pipeline_batches.py(+55 -3)📄 Description
Claimed in the coordination issue as: BUILD-LIBRARY-PIPELINE-PRECOMPILE (claim)
What and why
The pipelines stage checked only the main translated shader index. The shader stage also writes separate library, FSPX and executable indexes. Their pipelines could therefore be compiled during boot even after an offline pipelines pass.
This changes offline cache coverage. A retail startup or cache-hit speedup has not been measured here. Related: #984 tracks BVH precompilation separately; this PR does not include BVH behavior.
Tested
GPUs tested: none for this change (the checker in these tests is synthetic). Host GPU: NVIDIA GeForce RTX 5060 Ti, driver 610.88, Windows 11.
AI-assisted: yes (OpenAI Codex).
Checklist
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.