mirror of
https://github.com/storytold/photocraft.git
synced 2026-10-27 16:37:18 +01:00
The tests' setup returned None, without a message, when the device request or the pipeline build failed, so every test passed early: with a type error appended to camera_raw.wgsl all 13 tests still passed on a machine with a GPU. A pipeline that doesn't build on a supported adapter now fails the tests, a missing device skips with a message (and fails with WGPU_BACKEND set, as in parity.rs), and a naga validation of the shader fails on runners without a GPU too. Found by CodeRabbit on #9386. Co-authored-by: p0rps <134095787+fjamesprice@users.noreply.github.com> Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>