mirror of
https://github.com/storytold/wgpu.git
synced 2026-11-19 14:01:08 +01:00
fix: gate on static_dxc not static-dxc (#9785)
This commit is contained in:
1 parent
979ab2bca6
commit
0853e7bdc1
1 file changed
+1
-1
@@ -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(
|
||||
|
||||
Reference in new issue
Block a user