mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-20 05:10:11 +01:00
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:
parent
70fc5987d4
commit
169f8ec227
1 changed files with 2 additions and 2 deletions
|
|
@ -1828,8 +1828,8 @@ if with_llvm
|
||||||
pre_args += '-DMESA_LLVM_VERSION_STRING="@0@"'.format(dep_llvm.version())
|
pre_args += '-DMESA_LLVM_VERSION_STRING="@0@"'.format(dep_llvm.version())
|
||||||
pre_args += '-DLLVM_IS_SHARED=@0@'.format(_shared_llvm.to_int())
|
pre_args += '-DLLVM_IS_SHARED=@0@'.format(_shared_llvm.to_int())
|
||||||
|
|
||||||
if with_swrast_vk and not draw_with_llvm
|
if (with_swrast_vk or with_gallium_llvmpipe) and not draw_with_llvm
|
||||||
error('Lavapipe requires LLVM draw support.')
|
error('Lavapipe and llvmpipe require LLVM draw support.')
|
||||||
endif
|
endif
|
||||||
|
|
||||||
if with_gallium_r600 and not amd_with_llvm
|
if with_gallium_r600 and not amd_with_llvm
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue