1 /* 2 * Copyright (c) Meta Platforms, Inc. and affiliates. 3 * All rights reserved. 4 * 5 * This source code is licensed under the BSD-style license found in the 6 * LICENSE file in the root directory of this source tree. 7 */ 8 9 #pragma once 10 11 #ifdef USE_VULKAN_WRAPPER 12 #ifdef USE_VULKAN_VOLK 13 #ifdef VK_ANDROID_external_memory_android_hardware_buffer 14 #include <android/hardware_buffer.h> 15 #include <vulkan/vulkan.h> 16 #include <vulkan/vulkan_android.h> 17 #endif /* VK_ANDROID_external_memory_android_hardware_buffer */ 18 19 #include <volk.h> 20 #else 21 #include <vulkan_wrapper.h> 22 #endif /* USE_VULKAN_VOLK */ 23 #else 24 #include <vulkan/vulkan.h> 25 #endif /* USE_VULKAN_WRAPPER */ 26