diff options
Diffstat (limited to 'devel/electron38/files/patch-gpu_vulkan_vulkan__device__queue.cc')
| -rw-r--r-- | devel/electron38/files/patch-gpu_vulkan_vulkan__device__queue.cc | 20 | 
1 files changed, 20 insertions, 0 deletions
| diff --git a/devel/electron38/files/patch-gpu_vulkan_vulkan__device__queue.cc b/devel/electron38/files/patch-gpu_vulkan_vulkan__device__queue.cc new file mode 100644 index 000000000000..b98b661c3f37 --- /dev/null +++ b/devel/electron38/files/patch-gpu_vulkan_vulkan__device__queue.cc @@ -0,0 +1,20 @@ +--- gpu/vulkan/vulkan_device_queue.cc.orig	2025-06-30 07:04:30 UTC ++++ gpu/vulkan/vulkan_device_queue.cc +@@ -145,7 +145,7 @@ bool VulkanDeviceQueue::Initialize( +  +       // In dual-CPU cases, we cannot detect the active GPU correctly on Linux, +       // so don't select GPU device based on the |gpu_info|. +-#if !BUILDFLAG(IS_LINUX) ++#if !BUILDFLAG(IS_LINUX) && !BUILDFLAG(IS_BSD) +     // If gpu_info is provided, the device should match it. +     if (gpu_info && (device_properties.vendorID != gpu_info->gpu.vendor_id || +                      device_properties.deviceID != gpu_info->gpu.device_id)) { +@@ -292,7 +292,7 @@ bool VulkanDeviceQueue::Initialize( +   // Android, Fuchsia, Linux, and CrOS (VaapiVideoDecoder) need YCbCr sampler +   // support. + #if BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_FUCHSIA) || BUILDFLAG(IS_LINUX) || \ +-    BUILDFLAG(IS_CHROMEOS) ++    BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) +   if (!physical_device_info.feature_sampler_ycbcr_conversion) { +     LOG(ERROR) << "samplerYcbcrConversion is not supported."; +     return false; | 
