Indie developer traces GPU shader stutter to a float rounding quirk in Voronoi noise code
A developer building a Voronoi-diagram shader for a music video noticed the animation stuttered on only one of their machines. A week-long investigation into shader compilation and disassembly revealed the bug stemmed from how the fractional part of a floating-point number was handled differently across hardware, causing visible artifacts.
GoKawiil's interpretation of the reporting above, not reported fact.
The case is a reminder that GPU shader code can behave inconsistently across different graphics hardware and drivers, even when the underlying math looks correct on paper. It highlights how subtle floating-point precision issues remain a persistent, hard-to-diagnose source of bugs in real-time graphics programming.
- A Voronoi-noise shader for a music video stuttered on only one test machine.
- The root cause traced back to inconsistent handling of a float's fractional component across hardware.
- The debugging process required disassembling shader code, illustrating the complexity of cross-platform GPU behavior.
Source: crocidb.com — Bruno Croci, 2026-09-16
Published there as: “When the fractional part of a float fixes your shader”
Read the original report → The summary and analysis above are GoKawiil's own, written from reporting by the source above. Facts and quotes belong to the original publisher.