CultLib/packages/cultmath/tools
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Meta Vens 77a60d2910 CultMath Cycles: an infinite exponent is even in cycles_power; the oracle's infinite family and the pins for infinite operands
cycles_power read b - 2 floor(0.5 b) != 0 as odd, which is NaN for b = +-inf, so a negative base got a negative result where Cycles' powf(a, +-inf) is never negative. Odd now means the remainder is exactly 1 (C#, HLSL, Unity copy). oracle.py gains the infinite family (operands made in-kernel as +-exp(100), results read through comparisons with 0) for power, modulo and Map Range Smooth Step; the infinite.json fixture and the regenerated GLSL follow in the next commit. This commit builds; InfiniteOperandsFollowBlender and CommittedGlslEqualsLowering fail until it lands.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-14 04:42:39 +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-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