Skip to content

Segfault when running as implicit layer. #391

@halli2

Description

@halli2

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());

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions