diff options
author | Dylan Baker <[email protected]> | 2017-10-10 14:27:19 -0700 |
---|---|---|
committer | Dylan Baker <[email protected]> | 2017-10-16 16:32:43 -0700 |
commit | de24d61765011ed4bfc169b8ad8cf67e86b1f3bd (patch) | |
tree | bbbf37066b5b5d9ef08120def0529122a1bbf5ea /src/gallium/targets/dri | |
parent | 813b4b09f9d0168357b165566d403186cfe83701 (diff) |
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 <[email protected]>
Reviewed-by: Eric Anholt <[email protected]>
Diffstat (limited to 'src/gallium/targets/dri')
-rw-r--r-- | src/gallium/targets/dri/meson.build | 8 |
1 files changed, 8 insertions, 0 deletions
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', |