Skip to content

Commit 84d166b

Browse files
committed
Use static dxc
1 parent bc003ff commit 84d166b

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

tests/difftests/lib/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ use-compiled-tools = [
1919
spirv-builder.workspace = true
2020
serde = { version = "1.0", features = ["derive"] }
2121
serde_json = "1.0"
22-
wgpu = { version = "25.0.2", features = ["spirv", "vulkan-portability"] }
22+
wgpu = { version = "25.0.2", features = ["spirv", "vulkan-portability", "static-dxc"] }
2323
tempfile = "3.5"
2424
futures = "0.3.31"
2525
bytemuck = "1.21.0"

tests/difftests/lib/src/scaffold/compute/wgpu.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -166,9 +166,7 @@ where
166166
backend_options: wgpu::BackendOptions {
167167
#[cfg(target_os = "windows")]
168168
dx12: wgpu::Dx12BackendOptions {
169-
shader_compiler: wgpu::Dx12Compiler::DynamicDxc {
170-
search_paths: vec![],
171-
},
169+
shader_compiler: wgpu::Dx12Compiler::StaticDxc,
172170
..Default::default()
173171
},
174172
..Default::default()

0 commit comments

Comments
 (0)