mirror of
https://github.com/storytold/effectcraft.git
synced 2026-10-14 19:27:05 -04:00
egui-wgpu creates its device on GL with WebGL2's limits (no storage buffers), so the desktop app on FreeBSD built the compositor's pipelines on it: validation errors (only logged in release builds) and wrong frames. GpuContext::new now checks the limits its pipelines bind (storage buffers and textures per stage, bind groups, workgroup sizes) and returns Err, which keeps the app on the CPU. ui_gpu skips its GPU-vs-CPU comparison when that happens on GL. Co-Authored-By: Claude Opus 5.5 <[email protected]>