Files
craft-launcher/apps
.CooCoo e84fa1fa70 macOS: skip wgpu's indirect-call validation on Intel Macs (#569)
wgpu 30 turns on InstanceFlags::VALIDATION_INDIRECT_CALL by default and
compiles its indirect-validation compute shaders in request_device. On
Intel Iris and Iris Pro Macs, Metal's compiler fails on them with an
internal error, the device is lost and the launcher exits at startup.

wgpu_options() on macOS now removes the flag when the build is x86_64,
then applies with_env() so WGPU_VALIDATION_INDIRECT_CALL=1 turns it back
on. The launcher issues no indirect draws or dispatches. Apple silicon,
Windows and Linux keep wgpu's default. This follows PhotoCraft's fix in
storytold/photocraft#3171 (apps/photocraft/src/gpu_startup.rs).

Fixes #344
2026-10-24 01:42:59 -04:00
..