diff options
author | Bas Nieuwenhuizen <[email protected]> | 2019-06-19 15:03:43 +0200 |
---|---|---|
committer | Bas Nieuwenhuizen <[email protected]> | 2019-06-19 23:27:46 +0000 |
commit | 4c300bd328138949659892447e7e68028cc950cb (patch) | |
tree | 78ef2857a7bae1bdaaa151359f43d990e592b4de /src/amd | |
parent | ef323d02d8711febdccaeafc7596c9ffdf7a3dda (diff) |
radv: Fix vulkan build in meson.
Apparently the android part was never ported to meson.
CC: <[email protected]>
Acked-by: Samuel Pitoiset <[email protected]>
Diffstat (limited to 'src/amd')
-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 faa5f32eba3..2ff2fb34465 100644 --- a/src/amd/vulkan/meson.build +++ b/src/amd/vulkan/meson.build @@ -129,6 +129,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, amd_vk_format_table_c, sha1_h, xmlpool_options_h], |