Skip to content

Commit bc003ff

Browse files
committed
Switch to DXC to fix CI issues
1 parent e900149 commit bc003ff

File tree

1 file changed

+10
-1
lines changed
  • tests/difftests/lib/src/scaffold/compute

1 file changed

+10
-1
lines changed

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

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,16 @@ where
163163
#[cfg(not(target_os = "linux"))]
164164
backends: wgpu::Backends::PRIMARY,
165165
flags: Default::default(),
166-
backend_options: Default::default(),
166+
backend_options: wgpu::BackendOptions {
167+
#[cfg(target_os = "windows")]
168+
dx12: wgpu::Dx12BackendOptions {
169+
shader_compiler: wgpu::Dx12Compiler::DynamicDxc {
170+
search_paths: vec![],
171+
},
172+
..Default::default()
173+
},
174+
..Default::default()
175+
},
167176
});
168177
let adapter = instance
169178
.request_adapter(&wgpu::RequestAdapterOptions {

0 commit comments

Comments
 (0)