mirror of
https://github.com/storytold/photocraft.git
synced 2026-10-24 02:55:56 +02:00
wgpu's default DX12 compiler (`Auto`) loads `dxcompiler.dll` by name, and the Windows DLL search falls through to the current directory and PATH, so another program's DXC build (a Chrome or SDK folder) was loaded and crashed shader compilation or failed device creation. The app now uses FXC (d3dcompiler_47.dll, part of Windows) unless a dxcompiler.dll ships beside photocraft.exe, which is loaded by its full path. WGPU_DX12_COMPILER still overrides. Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>