upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/runtime/opus_decoder/src
diff options
context:
space:
mode:
authorcole <unitjc@gmail.com>2026-11-23 20:38:06 -0500
committercole <unitjc@gmail.com>2026-11-23 20:38:06 -0500
commitee2b087b66867dbca03462f716c3ba37c48def51 (patch)
tree9356c4dbef10d3d612e202c4668b7e50cccb0c4c /runtime/opus_decoder/src
parent41478fc0cadfd1972f4a8d274d6219d25765e67e (diff)
shaders: add library_shaders build stage and guard NONE compute states
Add the build-side pipeline-library translation stage to make_game.py on top of the .state emission already merged in tools/shader_library.py, and fix a TypeError when a compute pipeline record has a NONE (0xFFFFFFFF) state index. - tools/shader_library.py: filter NONE program/state indices when building cs_state so records without a state blob do not crash with TypeError. - make_game.py: add LIBRARY_ARCHIVE, LIBRARY_TOOLS, library_settings(), and library_shaders() to the shaders() stage (unpacking cs programs with --disasm and --carve, translating via rdna2spirv.py, validating fspx_key_clash against non-dict/unreadable indexes, cleaning stale unpacked artifacts, and writing library_build.json). - docs/fspx.md, docs/shader_library.md: document library_shaders(), .state emission, and runtime loading of library/index.json. - tests/test_shader_library.py, tests/test_library_shaders_stage.py: add NONE-state cleanup and shared-code/distinct-state regression tests plus full stage reuse, invalidation, stale-artifact cleanup, clash, malformed-index, and real-tool tests.
Diffstat (limited to 'runtime/opus_decoder/src')
0 files changed, 0 insertions, 0 deletions