Signed-off-by: Eric Engestrom <eric.engestrom@intel.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/3161>
libradv_files += files('radv_wsi_wayland.c')
endif
-if with_platform_drm
+if system_has_kms_drm
radv_flags += '-DVK_USE_PLATFORM_DISPLAY_KHR'
libradv_files += files('radv_wsi_display.c')
endif
libtu_files += files('tu_wsi_wayland.c')
endif
-if with_platform_drm
+if system_has_kms_drm
tu_flags += '-DVK_USE_PLATFORM_DISPLAY_KHR'
libtu_files += files('tu_wsi_display.c')
endif
libanv_files += files('anv_wsi_wayland.c')
endif
-if with_platform_drm
+if system_has_kms_drm
anv_flags += '-DVK_USE_PLATFORM_DISPLAY_KHR'
libanv_files += files('anv_wsi_display.c')
endif
vulkan_wsi_deps += dep_wayland_client
vulkan_wsi_list += ['wayland']
endif
-if with_platform_drm
+if system_has_kms_drm
vulkan_wsi_args += '-DVK_USE_PLATFORM_DISPLAY_KHR'
vulkan_wsi_deps += [dep_libdrm]
vulkan_wsi_list += ['drm']
]
endif
-if with_platform_drm
+if system_has_kms_drm
files_vulkan_wsi += files('wsi_common_display.c')
endif