On Linux when compiling with Clang the extensions variable is optimized away causing createInfo.ppEnabledExtensionNames to contain a pointer to invalid data. This causes the Vulkan backend to crash with a SIGSEGV. Just making extensions a const-reference fixes this issue.
On Linux when compiling with Clang the
extensions
variable is optimized away causingcreateInfo.ppEnabledExtensionNames
to contain a pointer to invalid data. This causes the Vulkan backend to crash with aSIGSEGV
. Just makingextensions
a const-reference fixes this issue.