So I have these 2 lines of code that refuse to compile:
vk::GraphicsPipelineCreateInfo pipeline_info();
device.createGraphicsPipeline({}, pipeline_info);
According to this example this should work. However the compiler complains:
error: no matching function for call to âvk::Device::createGraphicsPipeline(<brace-enclosed initializer list>, vk::GraphicsPipelineCreateInfo (&)())â
device.createGraphicsPipeline({}, pipeline_info);
I don;t understand why this doesn't work, modifying the call to use unique initialization makes no difference.