CultLib/packages/cultmath/tools
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Meta Vens b2852304b1 cultmath: flat integral_clamp_linear returns +0 for a zero-length span; HLSL guard, lo-normalise and pin tests behavioural; owned dxc compile script
The b == 0 branch now guards t1 != t0 like the sloped branch (C# and both HLSL
copies), so an infinite bound times a zero length no longer forms NaN.
Edge-grid mirror test and a counting-clamp shadow test replace the text-order
check; the four pin tests assert equality with their measured expression;
tools/compile-hlsl.ps1 is the one dxc compile verdict for the HLSL copies.

Builds. CultMath.glsl and glsl-parity.json are not yet regenerated, so
CommittedGlslEqualsLowering and GoldenFixtureMatchesCSharp are red at this
commit; the next commit regenerates them.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-16 01:01:54 +02:00
..
cycles-oracle CultMath Cycles: an infinite exponent is even in cycles_power; the oracle's infinite family and the pins for infinite operands 2026-10-14 04:42:39 +02:00
compile-glsl.ps1 CultMath: oracle.py reads Mix and Map Range sockets by identifier; GlslMirrorTests compiles; compile-glsl.ps1 takes -Cycles 2026-10-12 04:41:18 +02:00
compile-glsl.ps1.meta CultMath tools: get-glslang.ps1 (pinned 16.6.0) and compile-glsl.ps1 2026-10-02 20:09:45 +02:00
compile-hlsl-spirv.ps1 Move CultMath into the CultLib monorepo 2026-08-26 17:35:51 +02:00
compile-hlsl-spirv.ps1.meta Move CultMath into the CultLib monorepo 2026-08-26 17:35:51 +02:00
compile-hlsl.ps1 cultmath: flat integral_clamp_linear returns +0 for a zero-length span; HLSL guard, lo-normalise and pin tests behavioural; owned dxc compile script 2026-10-16 01:01:54 +02:00
compile-hlsl.ps1.meta cultmath: flat integral_clamp_linear returns +0 for a zero-length span; HLSL guard, lo-normalise and pin tests behavioural; owned dxc compile script 2026-10-16 01:01:54 +02:00
compile-spirv-metal.ps1 Move CultMath into the CultLib monorepo 2026-08-26 17:35:51 +02:00
compile-spirv-metal.ps1.meta Move CultMath into the CultLib monorepo 2026-08-26 17:35:51 +02:00
generate-swizzles.ps1 Add HLSL vector conversions, int clamp, and double frac to CultMath 2026-09-14 16:16:32 +02:00
generate-swizzles.ps1.meta Generate every HLSL swizzle and mixed constructor; fix intrinsic types 2026-09-14 13:57:02 +02:00
get-dxc.ps1 Pin dxc to dxc_2026_07_29 and verify its SHA256 2026-09-14 14:17:11 +02:00
get-dxc.ps1.meta Move CultMath into the CultLib monorepo 2026-08-26 17:35:51 +02:00
get-glslang.ps1 CultMath tools: get-glslang.ps1 (pinned 16.6.0) and compile-glsl.ps1 2026-10-02 20:09:45 +02:00
get-glslang.ps1.meta CultMath tools: get-glslang.ps1 (pinned 16.6.0) and compile-glsl.ps1 2026-10-02 20:09:45 +02:00
get-spirv-cross.ps1 Move CultMath into the CultLib monorepo 2026-08-26 17:35:51 +02:00
get-spirv-cross.ps1.meta Move CultMath into the CultLib monorepo 2026-08-26 17:35:51 +02:00