The truly free, open-source, local-first, cross-platform CapCut replacement. Scriptable through a JSON-RPC API & MCP.
Rust ffmpegfree-video-editormodel-context-protocolnon-linear-editoroffline-firstopen-source-video-editorself-hostedvideo-editingvideo-editing-automationvideo-editing-softwarevideo-editing-toolsvideo-editorvoice-cloningyoutube-automationyoutube-shorts
fix(windows): Direct3D 12 compiles shaders with FXC, never a dxcompiler.dll found on PATH (#418)
Jareerb18c2fe5a3f0
diff --git a/src/crates/concat-render/src/gpu.rs b/src/crates/concat-render/src/gpu.rsindex 40a9e012..7db6c377 100644--- a/src/crates/concat-render/src/gpu.rs+++ b/src/crates/concat-render/src/gpu.rs@@ -847,10 +847,18 @@ impl WgpuCompositor {/// software - or software alone - or `None` when none of them opens a/// device.fn on_backends(backends: wgpu::Backends, software_only: bool) -> Option<Self> {- let instance = wgpu::Instance::new(wgpu::InstanceDescriptor {+ let mut descriptor = wgpu::InstanceDescriptor {backends,..wgpu::InstanceDescriptor::new_without_display_handle()- });+ };+ // FXC, never wgpu's default `Auto`: Concat ships no dxcompiler.dll,+ // so `Auto` loads whichever one Windows finds on PATH - Obsidian's or+ // another Electron app's - and a build that does not match wgpu, or+ // needs instructions the CPU lacks, kills the process at the first+ // shader (0xc000001d). FXC is in System32 and is what every machine+ // without a stray DXC already compiles with (#418).+ descriptor.backend_options.dx12.shader_compiler = wgpu::Dx12Compiler::Fxc;+ let instance = wgpu::Instance::new(descriptor);let choices: &[bool] = if software_only {&[true]} else {diff --git a/src/crates/concat/src/gpu.rs b/src/crates/concat/src/gpu.rsindex 2a252105..7107bda5 100644--- a/src/crates/concat/src/gpu.rs+++ b/src/crates/concat/src/gpu.rs@@ -55,10 +55,18 @@ impl Gpu {} else {wgpu::Backends::VULKAN};- let instance = wgpu::Instance::new(wgpu::InstanceDescriptor {+ let mut descriptor = wgpu::InstanceDescriptor {backends,..wgpu::InstanceDescriptor::new_without_display_handle()- });+ };+ // FXC, never wgpu's default `Auto`: Concat ships no dxcompiler.dll,+ // so `Auto` loads whichever one Windows finds on PATH - Obsidian's or+ // another Electron app's - and a build that does not match wgpu, or+ // needs instructions the CPU lacks, kills the process at the first+ // shader (0xc000001d). FXC is in System32 and is what every machine+ // without a stray DXC already compiles with (#418).+ descriptor.backend_options.dx12.shader_compiler = wgpu::Dx12Compiler::Fxc;+ let instance = wgpu::Instance::new(descriptor);// CONCAT_GPU=software opens the software rasteriser - WARP on// Windows, lavapipe on Linux - in place of the GPU: the way round a// driver that draws the whole window as coloured dots (#389, #242),