summaryrefslogtreecommitdiffstats
path: root/src/gallium/targets/dri/meson.build
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/targets/dri/meson.build')
-rw-r--r--src/gallium/targets/dri/meson.build11
1 files changed, 10 insertions, 1 deletions
diff --git a/src/gallium/targets/dri/meson.build b/src/gallium/targets/dri/meson.build
index 2dc0de6a4d0..02ea2e26bcd 100644
--- a/src/gallium/targets/dri/meson.build
+++ b/src/gallium/targets/dri/meson.build
@@ -54,7 +54,7 @@ endif
if with_gallium_radeonsi
gallium_dri_c_args += '-DGALLIUM_RADEONSI'
gallium_dri_link_with += [
- libradeonsi, libnir, libradeonwinsys, libamdgpuwinsys, libradeon,
+ libradeonsi, libradeonwinsys, libamdgpuwinsys, libradeon,
libamd_common,
]
gallium_dri_drivers += 'radeonsi_dri.so'
@@ -76,6 +76,15 @@ if with_gallium_softpipe
gallium_dri_link_with += libllvmpipe
endif
endif
+if with_gallium_vc4
+ gallium_dri_c_args += '-DGALLIUM_VC4'
+ gallium_dri_link_with += [libvc4, libvc4winsys, libbroadcom_cle]
+ gallium_dri_drivers += 'vc4_dri.so'
+endif
+
+if with_gallium_vc4 or with_gallium_radeonsi
+ gallium_dri_link_with += libnir
+endif
libgallium_dri = shared_library(
'gallium_dri',