Open splace opened 3 years ago
deviceCreate requires swapchain, my vulkan setup doesn't have it, so this errors.
actually vulkaninfo (the CLI) shows it does, i did wonder, vulkaninfo (the example) says, when fixed, that it doesn't.
in fact; about half the device extensions aren't being reported.
on investigating seems to be three issues in play (see below code extract)
deviceCreate requires swapchain, my vulkan setup doesn't have it, so this errors.
but swapchain doesn't actually seem to be needed anyway, so it just commented it out to fix.
but when erroring the code calls DestroySurface without first having setup one, so this is the seqfault.
again i just commented out to get to work; correctly report unavailable extension.
when i looked in the docs of DistroySurface, to see if the surface could be null, the link in the docs is broken, seems the url changed? this;
needs the uppercase 'V' changed to lowercase to work.