From 169f8ec2270b54af75a2c7688dcbb461afbb0375 Mon Sep 17 00:00:00 2001 From: Jesse Natalie Date: Thu, 8 Aug 2024 12:56:37 -0700 Subject: [PATCH] meson: Add an error message for llvmpipe without llvm draw support Fixes: 010b2f9497a ("gallium/meson: Deconflate swrast/softpipe/llvmpipe") Reviewed-by: Eric Engestrom Part-of: --- meson.build | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/meson.build b/meson.build index 99a771c737d..0ab94e8c00b 100644 --- a/meson.build +++ b/meson.build @@ -1828,8 +1828,8 @@ if with_llvm pre_args += '-DMESA_LLVM_VERSION_STRING="@0@"'.format(dep_llvm.version()) pre_args += '-DLLVM_IS_SHARED=@0@'.format(_shared_llvm.to_int()) - if with_swrast_vk and not draw_with_llvm - error('Lavapipe requires LLVM draw support.') + if (with_swrast_vk or with_gallium_llvmpipe) and not draw_with_llvm + error('Lavapipe and llvmpipe require LLVM draw support.') endif if with_gallium_r600 and not amd_with_llvm