From 0853e7bdc12cf4f0159f2dbdaeb9d957b56f4e43 Mon Sep 17 00:00:00 2001 From: lizelive Date: Wed, 1 Jul 2026 10:18:48 -0700 Subject: [PATCH] fix: gate on static_dxc not static-dxc (#9785) --- wgpu-hal/src/dx12/instance.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wgpu-hal/src/dx12/instance.rs b/wgpu-hal/src/dx12/instance.rs index a420d639f..fdb63bcb6 100644 --- a/wgpu-hal/src/dx12/instance.rs +++ b/wgpu-hal/src/dx12/instance.rs @@ -62,7 +62,7 @@ impl crate::Instance for super::Instance { crate::InstanceError::with_source(String::from("Failed to load FXC"), e) })?, wgt::Dx12Compiler::Auto => { - if cfg!(feature = "static-dxc") { + if cfg!(static_dxc) { // Prefer static DXC if its compiled in CompilerContainer::new_static_dxc().map_err(|e| { crate::InstanceError::with_source(