diff options
author | Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl> | 2019-06-19 15:03:43 +0200 |
---|---|---|
committer | Dylan Baker <dylan@pnwbakers.com> | 2019-06-20 10:43:20 -0700 |
commit | 25c3188704831849bf28e877e42a4d0d2ad8ac65 (patch) | |
tree | 2081550db239ac9edb320c37b918288c0134957f | |
parent | 41e3639b3aea87ad7ca9e45a94764fd4ccfcae28 (diff) |
radv: Fix vulkan build in meson.
Apparently the android part was never ported to meson.
CC: <mesa-stable@lists.freedesktop.org>
Acked-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
(cherry picked from commit 4c300bd328138949659892447e7e68028cc950cb)
-rw-r--r-- | src/amd/vulkan/meson.build | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/amd/vulkan/meson.build b/src/amd/vulkan/meson.build index ba43bee3cd9..fe3ce3f369c 100644 --- a/src/amd/vulkan/meson.build +++ b/src/amd/vulkan/meson.build @@ -128,6 +128,13 @@ if with_xlib_lease radv_flags += '-DVK_USE_PLATFORM_XLIB_XRANDR_EXT' endif +if with_platform_android + radv_flags += [ + '-DVK_USE_PLATFORM_ANDROID_KHR' + ] + libradv_files += files('radv_android.c') +endif + libvulkan_radeon = shared_library( 'vulkan_radeon', [libradv_files, radv_entrypoints, radv_extensions_c, vk_format_table_c, sha1_h], |