forked from 1b-agent/fieldcraft-upstream
The adapter selection built its wgpu instance with default backend options, so WGPU_DX12_COMPILER had no effect: on DX12 there was no way to choose between FXC and DXC when measuring them (#561: FXC takes ~8.5 s to create the GPU solver's pipelines and runs it at half of Vulkan's speed, DXC 0.5 s and full speed). The options now come from wgpu's own environment variables. staticdxc is refused with an error: it needs wgpu's static-dxc feature, which FieldCraft does not build, and wgpu would panic on it. Part of #561.