From de24d61765011ed4bfc169b8ad8cf67e86b1f3bd Mon Sep 17 00:00:00 2001 From: Dylan Baker Date: Tue, 10 Oct 2017 14:27:19 -0700 Subject: meson: build softpipe This doesn't include llvmpipe. v2: - Fix inconsistent use of with_gallium_swrast and with_gallium_softpipe. Signed-off-by: Dylan Baker Reviewed-by: Eric Anholt --- src/gallium/targets/dri/meson.build | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/gallium/targets/dri') diff --git a/src/gallium/targets/dri/meson.build b/src/gallium/targets/dri/meson.build index 771a38d3214..2601f151f0e 100644 --- a/src/gallium/targets/dri/meson.build +++ b/src/gallium/targets/dri/meson.build @@ -64,6 +64,14 @@ if with_gallium_nouveau gallium_dri_link_with += [libnouveauwinsys, libnouveau] gallium_dri_drivers += 'nouveau_dri.so' endif +if with_gallium_softpipe + gallium_dri_c_args += '-DGALLIUM_SOFTPIPE' + gallium_dri_link_with += libsoftpipe + gallium_dri_drivers += 'swrast_dri.so' + if with_gallium_drisw_kms + gallium_dri_drivers += 'kms_swrast_dri.so' + endif +endif libgallium_dri = shared_library( 'gallium_dri', -- cgit v1.2.3