mirror of
https://github.com/storytold/lightcraft.git
synced 2026-11-01 22:17:53 -06:00
The kernels were only compiled when a device was created, so a module that doesn't build (a function defined twice after an automatic merge, a type error) passed CI on machines without a GPU and failed on users' machines. naga (re-exported by wgpu) now parses and validates every module as it is handed to the device: the finish, blur, resize, map, mask and geometry modules with their generated constants and bindings, the denoise convolution for every block size the planner picks, the pooling kernel and the face detector's two. A test checks that a duplicate definition is caught. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>