CultLib/packages/cultmath/shaders
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Meta Vens 2ba0dc17f4 CultMath GLSL: Phacelle lowered into its own MPL-2.0 file; iv_frustum_ball and iv_exp in the fixture
GlslLowering.SeparateFiles is the one name-keyed rule: CultMath.Phacelle.hlsl
lowers into shaders/CultMath.Phacelle.glsl (MPL-2.0, guard
CULTMATH_PHACELLE_GLSL) and its include line leaves CultMath.glsl, which is
now MIT and says so in its provenance line. ReadShaderSource takes an
include predicate (one resolver); the C# mirror still inlines everything.
GlslMirrorTests pins both files, checks tokens in each, takes the union of
definitions and asserts cultmath_phacelle( and CultPhasor live only in the
Phacelle file. The fixture appends cultmath_iv_frustum_ball (exact) and
cultmath_iv_exp ("ulp-bounded, platform exp", platform named); the
comparison is per family, the platform family within 1 ulp with the
maximum printed. THIRD-PARTY-NOTICES lists CultMath.Phacelle.glsl, not
CultMath.glsl, as MPL-2.0.

Regenerated on Yggdrasil (Ubuntu 24.04.5, .NET 10.0.12); 286/286 green,
iv_exp within 0 ulp.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-03 13:40:16 +02:00
..
CultMath.glsl CultMath GLSL: Phacelle lowered into its own MPL-2.0 file; iv_frustum_ball and iv_exp in the fixture 2026-10-03 13:40:16 +02:00
CultMath.hlsl CultMath HLSL: write the shader in the subset GLSL ES 3.00 shares, bit for bit 2026-10-02 20:09:44 +02:00
CultMath.hlsl.meta Move CultMath into the CultLib monorepo 2026-08-26 17:35:51 +02:00
CultMath.Interval.hlsl CultMath intervals r3: iv_frustum_ball widened by its derived float32 rounding bound; extreme-family enclosure 2026-10-03 11:37:30 +02:00
CultMath.Interval.hlsl.meta CultMath intervals: cultmath_iv_* over float2(lo, hi) in C# and HLSL, with snoise and fbm ball bounds 2026-10-02 19:52:33 +02:00
CultMath.Phacelle.glsl CultMath GLSL: Phacelle lowered into its own MPL-2.0 file; iv_frustum_ball and iv_exp in the fixture 2026-10-03 13:40:16 +02:00
CultMath.Phacelle.hlsl CultMath HLSL: write the shader in the subset GLSL ES 3.00 shares, bit for bit 2026-10-02 20:09:44 +02:00
CultMath.Phacelle.hlsl.meta CultMath: Phacelle port moves into MPL-2.0 files; prune cut pinned by boundary points 2026-09-30 00:34:27 +02:00