| 4894 | } |
| 4895 | |
| 4896 | std::string VulkanHppGenerator::generateCppModuleCommands() const |
| 4897 | { |
| 4898 | // generate PFN_* functions |
| 4899 | auto pfnCommands = std::string{ R"( |
| 4900 | //================== |
| 4901 | //=== PFN TYPEs === |
| 4902 | //================== |
| 4903 | )" }; |
| 4904 | std::set<std::string> listedCommands; // some commands are listed with more than one extension! |
| 4905 | for ( auto const & feature : m_features ) |
| 4906 | { |
| 4907 | appendCppModuleCommands( feature.requireData, listedCommands, feature.name, pfnCommands ); |
| 4908 | } |
| 4909 | for ( auto const & extension : m_extensions ) |
| 4910 | { |
| 4911 | appendCppModuleCommands( extension.requireData, listedCommands, extension.name, pfnCommands ); |
| 4912 | } |
| 4913 | return pfnCommands; |
| 4914 | } |
| 4915 | |
| 4916 | std::string VulkanHppGenerator::generateDataDeclarations( CommandData const & commandData, |
| 4917 | std::vector<size_t> const & returnParams, |
nothing calls this directly
no outgoing calls
no test coverage detected