mirror of
https://git.yoctoproject.org/poky
synced 2026-04-20 09:32:13 +02:00
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. (From OE-Core rev: 4c95a7381ea835dce8119845d6c146800e98f960) Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
8e4a74ed98
commit
0da5484b2f
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user