blob: f57a6253b724c548c92ac33b02c20492065ea385 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
--- gpu/command_buffer/service/dawn_context_provider.cc.orig 2023-11-22 14:00:11 UTC
+++ gpu/command_buffer/service/dawn_context_provider.cc
@@ -151,7 +151,7 @@ wgpu::BackendType DawnContextProvider::GetDefaultBacke
return base::FeatureList::IsEnabled(features::kSkiaGraphiteDawnUseD3D12)
? wgpu::BackendType::D3D12
: wgpu::BackendType::D3D11;
-#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
+#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
return wgpu::BackendType::Vulkan;
#elif BUILDFLAG(IS_APPLE)
return wgpu::BackendType::Metal;
|