mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-09 08:58:02 +02:00
meson: auto-disable draw-use-llvm when llvm=disabled
The option's description is: > Whether to use LLVM for the Gallium draw module, if LLVM is included. Let's disable it right away if LLVM is disabled, to avoid some configurations from failing. Cc: mesa-stable Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38558>
This commit is contained in:
parent
69bb927ebf
commit
37c7d19e46
1 changed files with 1 additions and 1 deletions
|
|
@ -224,7 +224,7 @@ with_gallium_ethosu = gallium_drivers.contains('ethosu')
|
|||
foreach gallium_driver : gallium_drivers
|
||||
pre_args += '-DHAVE_@0@'.format(gallium_driver.to_upper())
|
||||
endforeach
|
||||
draw_with_llvm = get_option('draw-use-llvm')
|
||||
draw_with_llvm = with_llvm.allowed() and get_option('draw-use-llvm')
|
||||
with_llvm = with_llvm \
|
||||
.enable_if(with_gallium_i915, error_message : 'i915 Gallium driver requires LLVM for vertex shaders') \
|
||||
.enable_if(with_gallium_llvmpipe, error_message : 'LLVMPipe Gallium driver requires LLVM') \
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue