vulkan/runtime: refactor to use DETECT_OS_ANDROID instead of ANDROID

Also update vk_android_native_buffer.h to use __ANDROID__ directly.

Signed-off-by: Yiwei Zhang <zzyiwei@chromium.org>
Reviewed-by: Yonggang Luo <luoyonggang@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27374>
This commit is contained in:
Yiwei Zhang
2024-01-30 13:36:17 -08:00
committed by Marge Bot
parent f7d35be362
commit 2dd95bc4b7
9 changed files with 13 additions and 12 deletions

View File

@@ -27,6 +27,7 @@
#include <vulkan/vk_icd.h>
#include "c11/threads.h"
#include "util/detect_os.h"
#include "util/macros.h"
#include "util/sparse_array.h"