First samples on using vulkan.hpp: 01_InitInstance, 02_EnumerateDevices, 03_InitDevice, 04_InitCommandBuffer, 05_InitSwapchain, 06_InitDepthBuffer. (#197)
This commit is contained in:
committed by
Markus Tavenrath
parent
f4767bace6
commit
bbaa5956c6
@@ -4910,7 +4910,7 @@ int main( int argc, char **argv )
|
||||
|
||||
std::string filename = (argc == 1) ? VK_SPEC : argv[1];
|
||||
std::cout << "Loading vk.xml from " << filename << std::endl;
|
||||
std::cout << "Writing vulkan.hpp to " << VULKAN_HPP << std::endl;
|
||||
std::cout << "Writing vulkan.hpp to " << VULKAN_HPP_FILE << std::endl;
|
||||
|
||||
tinyxml2::XMLError error = doc.LoadFile(filename.c_str());
|
||||
if (error != tinyxml2::XML_SUCCESS)
|
||||
@@ -4986,7 +4986,7 @@ int main( int argc, char **argv )
|
||||
|
||||
std::map<std::string, std::string> defaultValues = generator.createDefaults();
|
||||
|
||||
std::ofstream ofs(VULKAN_HPP);
|
||||
std::ofstream ofs(VULKAN_HPP_FILE);
|
||||
ofs << generator.getVulkanLicenseHeader() << std::endl
|
||||
<< R"(
|
||||
#ifndef VULKAN_HPP
|
||||
|
||||
Reference in New Issue
Block a user