aboutsummaryrefslogtreecommitdiffstats
path: root/devel/electron35/files/patch-gpu_command__buffer_service_dawn__context__provider.cc
blob: cbe67e056ee2519b4e29ced64618807ee376ceab (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- gpu/command_buffer/service/dawn_context_provider.cc.orig	2025-03-24 20:50:14 UTC
+++ gpu/command_buffer/service/dawn_context_provider.cc
@@ -341,7 +341,7 @@ wgpu::BackendType DawnContextProvider::GetDefaultBacke
   return base::FeatureList::IsEnabled(features::kSkiaGraphiteDawnUseD3D12)
              ? wgpu::BackendType::D3D12
              : wgpu::BackendType::D3D11;
-#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID)
+#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_BSD)
   return wgpu::BackendType::Vulkan;
 #elif BUILDFLAG(IS_APPLE)
   return wgpu::BackendType::Metal;