CultLib/packages/cultmath/tools/glsl
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Meta Vens ae838b60fd glsl build: the capacity edit names the site arrays by a sentinel length, with tests for the tool refusals
wrappers.py compiles the library with CULTMATH_MAX_SITES defined as a sentinel no shader file spells, so the three
site arrays get an array length id of their own and spvedit.py converts exactly that constant to the overridable
specialization constant (default from the HLSL guard). A library array of literal length 128 keeps its own id and
stays a plain constant. build-glsl.sh gains the pipeline function and scratch variants: a macro outside a declarator,
a folded expression reaching the capacity id, and a non-site float4 x[128] parameter that a consumer's override must
not resize. The [128] shape arm goes: a non-site 128 array is legitimate output.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-17 22:59:55 +02:00
..
build-glsl.sh glsl build: the capacity edit names the site arrays by a sentinel length, with tests for the tool refusals 2026-10-17 22:59:55 +02:00
partition.py glsl build: the capacity edit names the site arrays by a sentinel length, with tests for the tool refusals 2026-10-17 22:59:55 +02:00
spvedit.py glsl build: the capacity edit names the site arrays by a sentinel length, with tests for the tool refusals 2026-10-17 22:59:55 +02:00
wrappers.py glsl build: the capacity edit names the site arrays by a sentinel length, with tests for the tool refusals 2026-10-17 22:59:55 +02:00