File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -16,4 +16,4 @@ env_logger.workspace = true
16
16
pico-args.workspace = true
17
17
serde.workspace = true
18
18
serde_json.workspace = true
19
- wgpu = { workspace = true , features = [" serde" ] }
19
+ wgpu = { workspace = true , features = [" serde" , " static-dxc " ] }
Original file line number Diff line number Diff line change @@ -20,7 +20,8 @@ impl GpuReport {
20
20
let instance = wgpu:: Instance :: new ( wgpu:: InstanceDescriptor {
21
21
backends : wgpu:: util:: backend_bits_from_env ( ) . unwrap_or_default ( ) ,
22
22
flags : wgpu:: InstanceFlags :: debugging ( ) . with_env ( ) ,
23
- dx12_shader_compiler : wgpu:: util:: dx12_shader_compiler_from_env ( ) . unwrap_or_default ( ) ,
23
+ dx12_shader_compiler : wgpu:: util:: dx12_shader_compiler_from_env ( )
24
+ . unwrap_or ( wgpu:: Dx12Compiler :: StaticDxc ) ,
24
25
gles_minor_version : wgpu:: util:: gles_minor_version_from_env ( ) . unwrap_or_default ( ) ,
25
26
} ) ;
26
27
let adapters = instance. enumerate_adapters ( wgpu:: Backends :: all ( ) ) ;
You can’t perform that action at this time.
0 commit comments