Update to and adjustments for VK_HEADER_VERSION 136.

This commit is contained in:
asuessenbach
2020-03-25 11:44:45 +01:00
committed by Markus Tavenrath
parent 732274919b
commit a5e8a7ccb8
5 changed files with 209 additions and 88 deletions

View File

@@ -164,7 +164,9 @@ namespace vk
&pipelineMultisampleStateCreateInfo, &pipelineDepthStencilStateCreateInfo, &pipelineColorBlendStateCreateInfo,
&pipelineDynamicStateCreateInfo, pipelineLayout.get(), renderPass.get());
return device->createGraphicsPipelineUnique(pipelineCache.get(), graphicsPipelineCreateInfo);
auto result = device->createGraphicsPipelineUnique(pipelineCache.get(), graphicsPipelineCreateInfo);
assert(result.result == vk::Result::eSuccess);
return std::move(result.value);
}
vk::UniqueInstance createInstance(std::string const& appName, std::string const& engineName, std::vector<std::string> const& layers, std::vector<std::string> const& extensions,