meson: Add an error message for llvmpipe without llvm draw support

Fixes: 010b2f9497 ("gallium/meson: Deconflate swrast/softpipe/llvmpipe")
Reviewed-by: Eric Engestrom <eric@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30577>
This commit is contained in:
Jesse Natalie
2024-08-08 12:56:37 -07:00
committed by Marge Bot
parent 70fc5987d4
commit 169f8ec227

View File

@@ -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