diff options
author | Eric Anholt <[email protected]> | 2017-10-12 13:53:12 -0700 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2017-10-17 13:41:59 -0700 |
commit | 1ae8018a6af81eec4832a57d9d0346aa3dd98d28 (patch) | |
tree | eff20ab270ce164b1bd978ac51bfe6b6a0b31372 /src/gallium/targets | |
parent | 2f4705afde707e8eb41b9414c25df91aa1ea2fb3 (diff) |
meson: Add support for the vc4 driver.
Reviewed-by: Dylan Baker <[email protected]>
Diffstat (limited to 'src/gallium/targets')
-rw-r--r-- | src/gallium/targets/dri/meson.build | 11 |
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', |