Meta Vens
799029bebe
af_range finds a NaN endpoint by its bit pattern, which dxc's fast-math compare cannot fold [af-range-nan-guard-folded-by-dxc]
...
dxc marks compares fast, so `lo == lo ? lo : -inf` was deleted under default flags and an
overflowed form ranged to NaN on HLSL targets. The guard now tests (asuint(lo) & 0x7fffffff)
> 0x7f800000, in HLSL, the Unity copy, math.Affine.cs and the regenerated CultMath.glsl.
dxc 1.9.0.5402 -T ps_6_0 default flags: before, no fcmp/select/and in the af_range body;
after, and/icmp ugt/select to +-inf for both endpoints (also under -Gis).
AffineRangeMirrorMatchesCSharpBitForBitAtTheFloatExtremes pins the mirror at zero to the
float maximum, infinities and NaN components.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-04 11:09:25 +02:00
..
fixtures
GLSL fixture: the af_* families and iv_snoise_ball(vec2), with enclosure checks for af_snoise, af_fbm and af_frustum_ball
2026-10-04 09:47:49 +02:00
AffineTests.cs
AffineTests: af_range encloses on every overflowed form, the infinity on the NaN side
2026-10-04 07:20:56 +02:00
BatchMathTests.cs
Test that the float2 radial falloff overload accumulates, not assigns
2026-09-24 20:13:05 +02:00
BoundedLeastSquaresTests.cs
cultmath: BoundedLeastSquares tests drive stalled passes to the stall rule
2026-09-29 13:14:21 +02:00
CellularAndSminGradTests.cs
tests: fix hashing fixtures, false comments, and gradient tolerance
2026-09-25 23:13:50 +02:00
CultMath.Tests.csproj
Compile the real HLSL mirror as C# and with dxc; fix its errors
2026-09-14 13:57:03 +02:00
CultMath.Tests.csproj.meta
Move CultMath into the CultLib monorepo
2026-08-26 17:35:51 +02:00
FirstOrderInterceptTests.cs
Fix a tolerance-overload bug that made intercept precision asserts inert
2026-09-24 19:38:30 +02:00
GlslLowering.cs
CultMath GLSL tests: overloads compared by signature; the two-file header contract pinned
2026-10-03 14:15:32 +02:00
GlslMirrorTests.cs
GLSL fixture: the af_* families and iv_snoise_ball(vec2), with enclosure checks for af_snoise, af_fbm and af_frustum_ball
2026-10-04 09:47:49 +02:00
HlslMirrorTests.cs
Affine forms in HLSL: CultMath.Affine.hlsl mirrors math.Affine.cs bit for bit; iv_snoise_ball(float2); the GLSL lowering carries them
2026-10-04 09:47:49 +02:00
HlslMirrorTests.cs.meta
Move CultMath into the CultLib monorepo
2026-08-26 17:35:51 +02:00
HlslSemanticsTests.cs
snoise tie rule: x over y, y over z, x over z (a total order) in C# and both HLSL copies
2026-10-04 03:15:32 +02:00
HlslSemanticsTests.cs.meta
Make CultMath HLSL-shaped: writable components, bool-vector comparisons
2026-09-14 13:29:59 +02:00
HlslSourceCompatibilityTests.cs
af_range finds a NaN endpoint by its bit pattern, which dxc's fast-math compare cannot fold [af-range-nan-guard-folded-by-dxc]
2026-10-04 11:09:25 +02:00
HlslSourceCompatibilityTests.cs.meta
Make CultMath HLSL-shaped: writable components, bool-vector comparisons
2026-09-14 13:29:59 +02:00
IntervalTests.cs
CultMath intervals: enclosure harness, one-ulp shrink mutants, noise bounds, Lipschitz pin, saving
2026-10-02 19:56:30 +02:00
MathTests.cs
CultMath: regenerate snoise golden values for the upstream kernel
2026-09-29 12:09:43 +02:00
MathTests.cs.meta
Move CultMath into the CultLib monorepo
2026-08-26 17:35:51 +02:00
NoiseBoundTests.cs
Affine gate: delete the detail term (saturated at [-0.5, 0.5]); design.md (c) rows re-measured [gate-detail-term-dead]
2026-10-04 11:08:50 +02:00
NoiseGradTests.cs
snoise tie docs: the old rule's jump reaches 1.56 away from the origin, not 0.77
2026-10-04 04:25:58 +02:00
PhacelleTests.cs
CultMath: Phacelle port moves into MPL-2.0 files; prune cut pinned by boundary points
2026-09-30 00:34:27 +02:00
stryker-config.json
Pin mtp test-runner for CultMath and document mutation testing
2026-09-22 21:24:05 +02:00
VectorEqualityTests.cs
Tie the scalar comparison overloads too, not just vector-vector
2026-09-24 19:49:23 +02:00