mirror of
https://github.com/ubiquitarianism/leonida.git
synced 2026-11-26 22:20:51 +01:00
[PR #19] [MERGED] Add slot-67 pipeline-library shader build and runtime loading #73
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#73
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/19
Author: @moffington
Created: 11/24/2026
Status: ✅ Merged
Merged: 11/24/2026
Merged by: @ubiquitarianism
Base:
main← Head:contrib/pipeline-library-upstream📝 Commits (3)
41478fcruntime: load pipeline-library shader index for slot 67ee2b087shaders: add library_shaders build stage and guard NONE compute states642880ashaders: translate pipeline library in parallel and align clash/doc details📊 Changes
9 files changed (+695 additions, -15 deletions)
View changed files
📝
docs/fspx.md(+12 -3)📝
docs/shader_library.md(+17 -2)📝
make_game.py(+76 -4)📝
runtime/src/shader_library.h(+9 -5)📝
runtime/test/shader_library_test.cpp(+62 -0)📝
tests/test_fspx_shaders_stage.py(+23 -0)➕
tests/test_library_shaders_stage.py(+456 -0)📝
tests/test_shader_library.py(+38 -0)📝
tools/shader_library.py(+2 -1)📄 Description
Add slot-67 pipeline-library shader build and runtime loading
Summary
Completes the pipeline-library shader path by connecting build-time extraction and translation with runtime shader lookup.
library/index.jsonalongside existing FSPX/BVH indexes.library_shaders()to the game build pipeline, including caching, invalidation, and stale-artifact cleanup.TypeErrorwhen compute pipeline records contain aNONEstate index.Validation
shader_libraryCTest: pass.Limitations
Validation used synthetic shader inputs and a bounded Vulkan runtime fixture. Retail
shaders.rpfprocessing and live Windows D3D12 slot-67 execution have not been verified.One unrelated BVH test failure (
ShadersStageWithTheDlls) also reproduces on the original baseline.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.