From 6b2869fd4a546feaacb8a9d8d68ff7704d174cce Mon Sep 17 00:00:00 2001 From: zahash Date: Sat, 2 Mar 2024 09:41:06 +0530 Subject: [PATCH] By Default, Backends are set to Backends::all(), and FXC is chosen as the dx12_shader_compiler --- docs/beginner/tutorial2-surface/README.md | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/docs/beginner/tutorial2-surface/README.md b/docs/beginner/tutorial2-surface/README.md index 4b197471..d61c6056 100644 --- a/docs/beginner/tutorial2-surface/README.md +++ b/docs/beginner/tutorial2-surface/README.md @@ -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.