Support compilation with VK_NO_PROTOTYPES defined (#328)

* Add checks for VK_NO_PROTOTYPES so the can still compile if that is defined
This commit is contained in:
Frank Richter
2019-05-21 14:57:52 +02:00
committed by Markus Tavenrath
parent d566d2200c
commit 0e76bc68e3
3 changed files with 883 additions and 857 deletions

View File

@@ -41,6 +41,7 @@ class VulkanHppGenerator
void writeBitmasks(std::ostream & os) const;
void writeDispatchLoaderDynamic(std::ostream &os); // use vkGet*ProcAddress to get function pointers
void writeDispatchLoaderStatic(std::ostream &os); // use exported symbols from loader
void writeDispatchLoaderDefault(std::ostream &os); // typedef to DispatchLoaderStatic or undefined type, based on VK_NO_PROTOTYPES
void writeEnums(std::ostream & os) const;
void writeForwardDeclarations(std::ostream & os) const;
void writeHandles(std::ostream & os) const;