vulkan: Have a dummy format type if there is no Vulkan header
...at application build time. Follow what is already done for some other Vk* types. Supports 1df2cf6bad7207f16ddca17344cc1324e50f287e in qtdeclarative, which puts now also VkFormat into a header. We need the function declaration to compile without a Vulkan SDK (so without vulkan.h). Pick-to: 6.4 Fixes: QTBUG-104501 Change-Id: I09c87149a53a45f03c9f75b87baec4323db16b1d Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
This commit is contained in:
parent
20ae170b35
commit
c0509ef586
@ -36,6 +36,7 @@ typedef void* VkPhysicalDevice;
|
||||
typedef void* VkDevice;
|
||||
// enums
|
||||
typedef int VkResult;
|
||||
typedef int VkFormat;
|
||||
typedef int VkImageLayout;
|
||||
typedef int VkDebugReportFlagsEXT;
|
||||
typedef int VkDebugReportObjectTypeEXT;
|
||||
|
Loading…
x
Reference in New Issue
Block a user