diff options
author | Dylan Baker <[email protected]> | 2017-10-25 18:55:38 -0700 |
---|---|---|
committer | Dylan Baker <[email protected]> | 2017-11-28 14:06:33 -0800 |
commit | 5060c51b6f4dfb0d5358bde6523285163d3faaad (patch) | |
tree | c195b23e09b93d62e56000f4d97c5771bc13edb2 /src/gallium/targets | |
parent | 4ae08296d09c00dd4650e53929576e00b7e2d1c8 (diff) |
meson: build r600 driver
v4: - Ensure inc_amd_common defined when radeonsi is disabled (needed by
r600)
Signed-off-by: Dylan Baker <[email protected]>
Tested-by: Aaron Watry <[email protected]>
Reviewed-by: Eric Anholt <[email protected]>
Diffstat (limited to 'src/gallium/targets')
-rw-r--r-- | src/gallium/targets/dri/meson.build | 7 |
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 |