8000 Remove/Fix Vulkan "out"-binding overloads where pNext structures need to be created · Issue #626 · dotnet/Silk.NET · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Remove/Fix Vulkan "out"-binding overloads where pNext structures need to be created #626
Closed
@p3t3rix

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)

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions

    0