vk/Pipelines: Unpack pipeline result.

The Vulkan C++ API apparently changed.
This commit is contained in:
Lubosz Sarnecki 2024-03-29 11:07:04 +01:00
parent 43bc517042
commit 79a2dbfd34

View file

@ -154,7 +154,8 @@ namespace vks {
vk::Pipeline create(const vk::PipelineCache& cache) {
update();
return device.createGraphicsPipeline(cache, pipelineCreateInfo);
vk::ResultValue<vk::Pipeline> res = device.createGraphicsPipeline(cache, pipelineCreateInfo);
return res.value;
}
vk::Pipeline create() {