I’ve been following the tutorial on vulkan tutorials website and am stuck just before displaying a triangle.
Double checked my code and it seems to line up with the tutorial, therefore i’m not sure what i’m doing wrong.
Visual studio throws a debug assertion on line
submitInfo.pCommandBuffers = &commandBuffers[imageIndex];
If running from command line, I get the std::runtime_error printed as expected “Failed to submit draw command buffer
”.
I’m not sure what other code is required to help with the issue, but any input would be appreciated. I’m sure the tutorial is well known, and perhaps someone is able to give some direction.
Thank you