Tried running the layer example as an implicit layer and it segfaults when creating the Entry. Works fine if used as an explicit layer.
In EntryCommands::Load it crashes when any of these lines are hit:
let value = loader(c"vkEnumerateInstanceExtensionProperties".as_ptr());
let value = loader(c"vkEnumerateInstanceLayerProperties".as_ptr());
let value = loader(c"vkEnumerateInstanceVersion".as_ptr());
Whereas this seems to work as normal.
let value = loader(c"vkCreateInstance".as_ptr());
Tried running the layer example as an implicit layer and it segfaults when creating the Entry. Works fine if used as an explicit layer.
In
EntryCommands::Loadit crashes when any of these lines are hit:Whereas this seems to work as normal.