mirror of
https://github.com/storytold/photocraft.git
synced 2026-10-24 09:57:08 -06:00
* GPU startup: skip wgpu indirect-call validation shaders (#3107) wgpu compiles its indirect-call validation compute shaders inside request_device. On Intel Iris Pro (Metal GPUFamily 1, Monterey) the Metal compiler hits an internal error on them, which wgpu-core reports as Device(Lost), so the window device can't be created in any mode, including --safe-gpu and PHOTOCRAFT_CPU_CANVAS. PhotoCraft issues no indirect draws or dispatches, so drop the flag; WGPU_VALIDATION_INDIRECT_CALL=1 still re-enables it. * gpu_startup: skip indirect-call validation only on Intel Macs Keep wgpu's default validation on Apple silicon, Windows and Linux; only Intel Macs, where Metal's compiler crashed on the validation shaders (#3107), skip them. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Brandon Thomas <echelon@gmail.com> Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>