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.build7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/gallium/targets/dri/meson.build b/src/gallium/targets/dri/meson.build
index 88aae56fd8c..8bcef801dbe 100644
--- a/src/gallium/targets/dri/meson.build
+++ b/src/gallium/targets/dri/meson.build
@@ -117,8 +117,13 @@ if with_gallium_r300
gallium_dri_link_with += libr300
gallium_dri_drivers += 'r300_dri.so'
endif
+if with_gallium_r600
+ gallium_dri_c_args += '-DGALLIUM_R600'
+ gallium_dri_link_with += libr600
+ gallium_dri_drivers += 'r600_dri.so'
+endif
-if with_gallium_radeonsi or with_gallium_r300 # TODO: r600
+if with_gallium_radeonsi or with_gallium_r300 or with_gallium_r600
gallium_dri_link_with += libradeonwinsys
endif