mirror of
https://github.com/storytold/photocraft.git
synced 2026-11-01 22:07:28 -06:00
Loading the Intel Vulkan driver on Windows (igvk64.dll) crashes the process with STATUS_ACCESS_VIOLATION (#4). The app leaves Vulkan out on Intel, but the tests use wgpu's defaults, so on such a machine `cargo test` dies in the first GPU test (ui-egui's background_redraw, adjust_preview_gpu, ...). WGPU_BACKEND=dx12 avoids it for the kittest harnesses, but seven tests and four benches built their instance with wgpu::Instance::default(), which takes every backend and ignores the environment. They now use InstanceDescriptor::new_without_display_handle_from_env(): the same defaults with WGPU_BACKEND and friends applied, so nothing changes where it is unset. Document the workaround in docs/development.md and the testkit driver notes.