aboutsummaryrefslogtreecommitdiffstats
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.build12
1 files changed, 10 insertions, 2 deletions
diff --git a/src/gallium/targets/dri/meson.build b/src/gallium/targets/dri/meson.build
index 4dbda07449a..88aae56fd8c 100644
--- a/src/gallium/targets/dri/meson.build
+++ b/src/gallium/targets/dri/meson.build
@@ -59,8 +59,7 @@ endif
if with_gallium_radeonsi
gallium_dri_c_args += '-DGALLIUM_RADEONSI'
gallium_dri_link_with += [
- libradeonsi, libradeonwinsys, libamdgpuwinsys, libradeon,
- libamd_common,
+ libradeonsi, libamdgpuwinsys, libradeon, libamd_common,
]
gallium_dri_drivers += 'radeonsi_dri.so'
gallium_dri_sources += [si_driinfo_h]
@@ -113,6 +112,15 @@ if with_gallium_i915
gallium_dri_link_with += [libi915, libi915drm]
gallium_dri_drivers += 'i915_dri.so'
endif
+if with_gallium_r300
+ gallium_dri_c_args += '-DGALLIUM_R300'
+ gallium_dri_link_with += libr300
+ gallium_dri_drivers += 'r300_dri.so'
+endif
+
+if with_gallium_radeonsi or with_gallium_r300 # TODO: r600
+ gallium_dri_link_with += libradeonwinsys
+endif
if with_gallium_vc4 or with_gallium_vc5
gallium_dri_link_with += libbroadcom_cle