summaryrefslogtreecommitdiffstats
path: root/src/intel/vulkan/anv_android_stubs.c
diff options
context:
space:
mode:
authorTapani Pälli <[email protected]>2018-11-08 10:02:42 +0200
committerTapani Pälli <[email protected]>2018-12-19 09:38:41 +0200
commit884fc90fdebaad93986c80752df3723b7f8f1392 (patch)
tree6cc30a4cafc212070eea3f6a497ea3f93ef966b6 /src/intel/vulkan/anv_android_stubs.c
parent1e6a44400aa2bf8d169a876ffb339418a5bdc3a0 (diff)
anv: add anv_ahw_usage_from_vk_usage helper function
v2: rebase to b43f955037c changes Signed-off-by: Tapani Pälli <[email protected]> Reviewed-by: Lionel Landwerlin <[email protected]>
Diffstat (limited to 'src/intel/vulkan/anv_android_stubs.c')
-rw-r--r--src/intel/vulkan/anv_android_stubs.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/intel/vulkan/anv_android_stubs.c b/src/intel/vulkan/anv_android_stubs.c
index a6fe5a5e6b3..0671d5635ee 100644
--- a/src/intel/vulkan/anv_android_stubs.c
+++ b/src/intel/vulkan/anv_android_stubs.c
@@ -32,3 +32,10 @@ anv_image_from_gralloc(VkDevice device_h,
{
return VK_ERROR_EXTENSION_NOT_PRESENT;
}
+
+uint64_t
+anv_ahw_usage_from_vk_usage(const VkImageCreateFlags vk_create,
+ const VkImageUsageFlags vk_usage)
+{
+ return 0;
+}