Skip to content

Remove/Fix Vulkan "out"-binding overloads where pNext structures need to be created #626

Description

@p3t3rix

For example:
public partial void GetPhysicalDeviceMemoryProperties2(PhysicalDevice physicalDevice, out PhysicalDeviceMemoryProperties2 pMemoryProperties);

This overload just does not work because Vulkan expects the struct to have the proper SType property set. Also without specifying a pNext chain, this overload would (even if it worked as expected) do little more than the normal GetPhysicalDeviceMemoryProperties function.

Possible fixes:

  1. Removal of these methods
  2. Create the structs with the right SType set
  3. Find a way to specify a pNext chain (probably in combination with 1)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions