upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/runtime/src/main.cpp
diff options
context:
space:
mode:
authorSuarezPM <SuarezPM@users.noreply.github.com>2026-11-22 02:01:58 -0300
committerSuarezPM <SuarezPM@users.noreply.github.com>2026-11-22 02:01:58 -0300
commit67c22b3da0516a9de9c9c71a968cc0026f52aea8 (patch)
tree9a850cfa01d322e98a05cba1e7e75c2c2bfa8a28 /runtime/src/main.cpp
parent6169f9be2598ea79be10e9c4e9323206cbd75a66 (diff)
image_fuzz: compare the f32 bits, not Python floats (signed zero)
Vonsek reproduced a blind spot: +0.0 == -0.0 in Python, so a wrong binding that returns +0 where the texture holds -0 passed silently (4096/4096 raw words differ, compare() reported none; 192/4096 on a generated float case). same_component() now compares the packed f32 words and keeps the any-NaN policy (payloads are not modelled). Two CPU regressions: one flips a single output channel from -0 to +0 and expects exactly that pixel; the other feeds a different NaN payload and expects no mismatch. 40/40 programs still match on the RTX 2060 SUPER with validation, so the GPU preserves signed zeros for these formats.
Diffstat (limited to 'runtime/src/main.cpp')
0 files changed, 0 insertions, 0 deletions