mirror of
https://github.com/KhronosGroup/Vulkan-Headers
synced 2024-11-21 14:29:07 -07:00
android: Fix android build.
Temporarily disable shader checker which now depends on glslang Fix xcb guards and set the ifdef based on platform
This commit is contained in:
parent
cde126104d
commit
810530e917
1 changed files with 12 additions and 0 deletions
|
@ -14,6 +14,18 @@
|
|||
#else
|
||||
# define VK_LAYER_EXPORT
|
||||
#endif
|
||||
#if defined(__ANDROID__)
|
||||
#define VK_USE_PLATFORM_ANDROID_KHR
|
||||
#elif defined(_WIN32)
|
||||
#define VK_USE_PLATFORM_WIN32_KHR
|
||||
#elif defined(__unix__)
|
||||
#define VK_USE_PLATFORM_MIR_KHR
|
||||
#define VK_USE_PLATFORM_WAYLAND_KHR
|
||||
#define VK_USE_PLATFORM_XLIB_KHR
|
||||
#define VK_USE_PLATFORM_XCB_KHR
|
||||
#else
|
||||
#error "Unsupported Platform!"
|
||||
#endif
|
||||
|
||||
typedef void * (VKAPI_PTR *PFN_vkGPA)(void* obj, const char * pName);
|
||||
typedef struct VkBaseLayerObject_
|
||||
|
|
Loading…
Reference in a new issue