From: Dmitry Baryshkov Date: Mon, 24 Jul 2023 13:32:01 +0000 (+0300) Subject: mesa: enable swrast Vulkan driver if LLVM drivers are enabled X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~274 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=4c95a7381ea835dce8119845d6c146800e98f960;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git mesa: enable swrast Vulkan driver if LLVM drivers are enabled The software Vulkan driver requires the LLVM to be built. Make this driver enabled if the `gallium-llvm' config option is enabled. Signed-off-by: Dmitry Baryshkov Signed-off-by: Alexandre Belloni --- diff --git a/meta/recipes-graphics/mesa/mesa.inc b/meta/recipes-graphics/mesa/mesa.inc index ade097d7cc5..79a1d975bf7 100644 --- a/meta/recipes-graphics/mesa/mesa.inc +++ b/meta/recipes-graphics/mesa/mesa.inc @@ -106,6 +106,7 @@ VULKAN_DRIVERS:append:x86-64 = ",intel" VULKAN_DRIVERS:append:i686 = ",intel" VULKAN_DRIVERS:append ="${@bb.utils.contains('PACKAGECONFIG', 'freedreno', ',freedreno', '', d)}" VULKAN_DRIVERS:append ="${@bb.utils.contains('PACKAGECONFIG', 'broadcom', ',broadcom', '', d)}" +VULKAN_DRIVERS:append ="${@bb.utils.contains('PACKAGECONFIG', 'gallium-llvm', ',swrast', '', d)}" PACKAGECONFIG[vulkan] = "-Dvulkan-drivers=${@strip_comma('${VULKAN_DRIVERS}')}, -Dvulkan-drivers='',glslang-native vulkan-loader vulkan-headers" # mesa development and testing tools support, per driver