blob: b460b8f7fc94f44cc28b4ff8f291a91f6ee08272 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
--- src/3rdparty/chromium/gpu/vulkan/vulkan_image.cc.orig 2022-09-26 10:05:50 UTC
+++ src/3rdparty/chromium/gpu/vulkan/vulkan_image.cc
@@ -324,7 +324,7 @@ bool VulkanImage::InitializeWithExternalMemory(
// TODO(crbug.com/1052397): Revisit once build flag switch of lacros-chrome is
// complete.
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS) || BUILDFLAG(IS_BSD)
VkPhysicalDeviceImageDrmFormatModifierInfoEXT modifier_info = {
.sType =
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_IMAGE_DRM_FORMAT_MODIFIER_INFO_EXT,
|