Skip to content

Commit

Permalink
default to DXC shader compiler
Browse files Browse the repository at this point in the history
  • Loading branch information
Elabajaba committed Jan 26, 2023
1 parent f60fc7a commit e768e3e
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion crates/bevy_render/src/settings.rs
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,11 @@ impl Default for WgpuSettings {
limits
};

let dx12_compiler = wgpu::util::dx12_shader_compiler_from_env().unwrap_or_default();
let dx12_compiler =
wgpu::util::dx12_shader_compiler_from_env().unwrap_or(Dx12Compiler::Dxc {
dxil_path: None,
dxc_path: None,
});

Self {
device_label: Default::default(),
Expand Down

0 comments on commit e768e3e

Please sign in to comment.