mirror of
https://github.com/storytold/photocraft.git
synced 2026-11-11 12:46:47 +00:00
The decimal 3.40282347e38 is just above f32::MAX; naga rounds it but browsers' Tint rejects it, so the web app had no GPU compositor. Now a hex literal, with a test that every decimal float literal in the shader fits f32. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>