Skip to content

Actually load Vulkan symbols from the VkDevice after creation #2018

Closed

Description

@benvanik

Right now we aren't properly calling DynamicSymbols::LoadFromDevice anywhere. On certain devices/loaders/etc this causes issues as function pointers may come back from VkInstance queries even if they are not valid.

We should avoid querying DEV fns from the instance at all, and always query them from devices. We can probably hide LoadFromDevice and instead just make a version that can copy the already-populated instance pointers and overwrite any with the device pointers.

Activity

  1. added
    bug 🐞
    on May 27, 2020
  2. added this to the milestone on May 27, 2020
  3. self-assigned this
    on May 27, 2020
  4. benvanik commented on May 27, 2020

    @benvanik
    CollaboratorAuthor

    EXCLUDE these: vkTrimCommandPool, vkGetDescriptorSetLayoutSupport, vkCmdDispatchBase

  5. added 3 commits that reference this issue on May 27, 2020
    10881dd
    b1368af
    e71f323
  6. added a commit that references this issue on Jun 4, 2020
    49e0a73
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bug 🐞

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions