diff options
Diffstat (limited to 'www/chromium/patches/patch-gpu_vulkan_vulkan_device_queue_cc')
| -rw-r--r-- | www/chromium/patches/patch-gpu_vulkan_vulkan_device_queue_cc | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/www/chromium/patches/patch-gpu_vulkan_vulkan_device_queue_cc b/www/chromium/patches/patch-gpu_vulkan_vulkan_device_queue_cc deleted file mode 100644 index 59ba241..0000000 --- a/www/chromium/patches/patch-gpu_vulkan_vulkan_device_queue_cc +++ /dev/null | |||
| @@ -1,21 +0,0 @@ | |||
| 1 | Index: gpu/vulkan/vulkan_device_queue.cc | ||
| 2 | --- gpu/vulkan/vulkan_device_queue.cc.orig | ||
| 3 | +++ gpu/vulkan/vulkan_device_queue.cc | ||
| 4 | @@ -85,7 +85,7 @@ bool VulkanDeviceQueue::Initialize( | ||
| 5 | |||
| 6 | // In dual-CPU cases, we cannot detect the active GPU correctly on Linux, | ||
| 7 | // so don't select GPU device based on the |gpu_info|. | ||
| 8 | -#if !BUILDFLAG(IS_LINUX) | ||
| 9 | +#if !BUILDFLAG(IS_LINUX) && !BUILDFLAG(IS_BSD) | ||
| 10 | // If gpu_info is provided, the device should match it. | ||
| 11 | if (gpu_info && (device_properties.vendorID != gpu_info->gpu.vendor_id || | ||
| 12 | device_properties.deviceID != gpu_info->gpu.device_id)) { | ||
| 13 | @@ -229,7 +229,7 @@ bool VulkanDeviceQueue::Initialize( | ||
| 14 | enabled_device_features_2_ = {VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FEATURES_2}; | ||
| 15 | |||
| 16 | // Android, Fuchsia, and Linux(VaapiVideoDecoder) need YCbCr sampler support. | ||
| 17 | -#if BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_FUCHSIA) || BUILDFLAG(IS_LINUX) | ||
| 18 | +#if BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_FUCHSIA) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) | ||
| 19 | if (!physical_device_info.feature_sampler_ycbcr_conversion) { | ||
| 20 | LOG(ERROR) << "samplerYcbcrConversion is not supported."; | ||
| 21 | return false; | ||
