projects
/
platform
/
upstream
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ec1968d
)
anv: fix build errors after commit 8b7ff78
author
Yiwei Zhang
<zzyiwei@chromium.org>
Tue, 15 Jun 2021 05:39:39 +0000
(
05:39
+0000)
committer
Marge Bot
<eric+marge@anholt.net>
Wed, 16 Jun 2021 19:55:48 +0000
(19:55 +0000)
Signed-off-by: Yiwei Zhang <zzyiwei@chromium.org>
Reviewed-by: Roman Stratiienko <r.stratiienko@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11373>
src/intel/vulkan/anv_android.h
patch
|
blob
|
history
diff --git
a/src/intel/vulkan/anv_android.h
b/src/intel/vulkan/anv_android.h
index
809b060
..
81ecf67
100644
(file)
--- a/
src/intel/vulkan/anv_android.h
+++ b/
src/intel/vulkan/anv_android.h
@@
-24,6
+24,9
@@
#ifndef ANV_ANDROID_H
#define ANV_ANDROID_H
+#if defined(ANDROID) && ANDROID_API_LEVEL >= 26
+#include <vndk/hardware_buffer.h>
+#endif
#include <vulkan/vulkan.h>
#include <vulkan/vulkan_android.h>
#include <vulkan/vk_android_native_buffer.h>