aboutsummaryrefslogtreecommitdiff
path: root/devel/electron28/files/patch-gpu_vulkan_generate__bindings.py
diff options
context:
space:
mode:
Diffstat (limited to 'devel/electron28/files/patch-gpu_vulkan_generate__bindings.py')
-rw-r--r--devel/electron28/files/patch-gpu_vulkan_generate__bindings.py11
1 files changed, 11 insertions, 0 deletions
diff --git a/devel/electron28/files/patch-gpu_vulkan_generate__bindings.py b/devel/electron28/files/patch-gpu_vulkan_generate__bindings.py
new file mode 100644
index 000000000000..1f8cb4602e1f
--- /dev/null
+++ b/devel/electron28/files/patch-gpu_vulkan_generate__bindings.py
@@ -0,0 +1,11 @@
+--- gpu/vulkan/generate_bindings.py.orig 2023-11-29 21:40:03 UTC
++++ gpu/vulkan/generate_bindings.py
+@@ -270,7 +270,7 @@ VULKAN_DEVICE_FUNCTIONS = [
+ ]
+ },
+ {
+- 'ifdef': 'BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)',
++ 'ifdef': 'BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)',
+ 'extension': 'VK_EXT_IMAGE_DRM_FORMAT_MODIFIER_EXTENSION_NAME',
+ 'functions': [
+ 'vkGetImageDrmFormatModifierPropertiesEXT',