diff options
author | Dmitry Baryshkov <dbaryshkov@gmail.com> | 2023-07-24 16:32:01 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-07-27 21:07:53 +0100 |
commit | 0da5484b2f1667c3fb46f7b074e1b231ca93212f (patch) | |
tree | 298ddc76cb80f45e8557ba9cbd7429e07d633fa3 /meta/recipes-graphics | |
parent | 8e4a74ed98b196f51fa808f285576a4956952ddc (diff) | |
download | poky-0da5484b2f1667c3fb46f7b074e1b231ca93212f.tar.gz |
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>
Diffstat (limited to 'meta/recipes-graphics')
-rw-r--r-- | meta/recipes-graphics/mesa/mesa.inc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-graphics/mesa/mesa.inc b/meta/recipes-graphics/mesa/mesa.inc index ade097d7cc..79a1d975bf 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" | |||
106 | VULKAN_DRIVERS:append:i686 = ",intel" | 106 | VULKAN_DRIVERS:append:i686 = ",intel" |
107 | VULKAN_DRIVERS:append ="${@bb.utils.contains('PACKAGECONFIG', 'freedreno', ',freedreno', '', d)}" | 107 | VULKAN_DRIVERS:append ="${@bb.utils.contains('PACKAGECONFIG', 'freedreno', ',freedreno', '', d)}" |
108 | VULKAN_DRIVERS:append ="${@bb.utils.contains('PACKAGECONFIG', 'broadcom', ',broadcom', '', d)}" | 108 | VULKAN_DRIVERS:append ="${@bb.utils.contains('PACKAGECONFIG', 'broadcom', ',broadcom', '', d)}" |
109 | VULKAN_DRIVERS:append ="${@bb.utils.contains('PACKAGECONFIG', 'gallium-llvm', ',swrast', '', d)}" | ||
109 | PACKAGECONFIG[vulkan] = "-Dvulkan-drivers=${@strip_comma('${VULKAN_DRIVERS}')}, -Dvulkan-drivers='',glslang-native vulkan-loader vulkan-headers" | 110 | PACKAGECONFIG[vulkan] = "-Dvulkan-drivers=${@strip_comma('${VULKAN_DRIVERS}')}, -Dvulkan-drivers='',glslang-native vulkan-loader vulkan-headers" |
110 | 111 | ||
111 | # mesa development and testing tools support, per driver | 112 | # mesa development and testing tools support, per driver |