ludic/tools
Orkuncakilkaya 3fb1b7cd87 feat(render3d): every shader variant as Vulkan SPIR-V, built ahead of time
Vulkan cannot compile GLSL when the game starts, so the programs render3d builds are listed
(shaders/variants.list, 45 of them, collected with R3D_PROGRAMS_LOG across the self-tests, the
screens, the viewpoints and the debug switches) and `ludic-dev shaders` compiles each into
shaders/spv/<id>.vert.spv and .frag.spv with a manifest of what the backend needs: each
stage's uniform block and member offsets, the samplers' bindings, the vertex inputs.

The GLSL is the renderer's own, assembled as programs.ludic assembles it, through glslang's
relaxed Vulkan mode, so gpu_uniform / u_* can write the same uniforms into a block on Vulkan.
Bindings are assigned by the tool (glslang's own numbering put several samplers of one stage
on binding 0): the vertex block is 0, the fragment block 1, samplers from 2 in name order,
shared across both stages. Every stage passes spirv-val; `ludic-dev test` rebuilds and compares
wherever the Vulkan SDK is installed.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-09-15 10:11:31 +03:00
..
ci fix(ci): supply _NSGetExecutablePath on Linux, so the seed links and CI publishes 2026-09-13 03:32:18 +03:00
docgen refactor(cli)!: split the contributor tool out of the ludic CLI 2026-09-05 23:15:12 +03:00
editors refactor(cli)!: split the contributor tool out of the ludic CLI 2026-09-05 23:15:12 +03:00
git-hooks build(git-hooks): enforce Conventional Commits via a hook + CI, record history decision 2026-08-30 23:30:45 +03:00
ludic-cli feat(render3d): every shader variant as Vulkan SPIR-V, built ahead of time 2026-09-15 10:11:31 +03:00
ludic-tools fix(tools): formatter bracket rules, LSP compiler diagnostics, vocabulary sync 2026-09-05 01:12:26 +03:00
ludic-web Baseline: Ludic compiler + toolchain, Phase 1 syntax fixes complete 2026-08-27 15:15:35 +03:00
atlas.ludic refactor(x): per-process scratch dirs, Ludic ports of the LSP test and Forgejo release 2026-09-05 01:12:26 +03:00
test-grammar.js refactor(x): per-process scratch dirs, Ludic ports of the LSP test and Forgejo release 2026-09-05 01:12:26 +03:00