By Default, Backends are set to Backends::all(), and FXC is chosen as the dx12_shader_compiler

pull/537/head
zahash 3 months ago
parent 2bb2f8373b
commit 6b2869fd4a

@ -59,12 +59,8 @@ impl State {
let size = window.inner_size();
// The instance is a handle to our GPU
// Backends::all => Vulkan + Metal + DX12 + Browser WebGPU
let instance = wgpu::Instance::new(wgpu::InstanceDescriptor {
backends: wgpu::Backends::all(),
..Default::default()
});
let instance = wgpu::Instance::default();
// # Safety
//
// The surface needs to live as long as the window that created it.

Loading…
Cancel
Save