Skip to content

KhrSurface API not finding any native functions #819

@Fullbrik

Description

@Fullbrik

Summary

I'm following the tutorial over at vulkan-tutorial.com, but in c# with Silk.Net.Vulkan and Silk.Net.GLFW. Most of the tutorial translated well, except for GetPhysicalDeviceSurfaceSupport which throws Silk.NET.Core.Loader.SymbolLoadingException: Native symbol not found (Symbol: vkGetPhysicalDeviceSurfaceSupportKHR).

Steps to reproduce

  • Platform: Desktop (PopOS/Linux)
  • Framework Version: .NET 6
  • API: Vulkan
  • API Version: Vulkan 1.2
  1. Initialize vulkan instance with GLFW extensions
  2. Enumerate over GetPhysicalDeviceQueueFamilyProperties
  3. Check if a family index returns true when using GetPhysicalDeviceSurfaceSupport
  4. Crash with the exception above

Comments

I am new to vulkan, but decently know c#. I have tested the tutorial's c++ example, it compiled an ran, so the function does exist on my computer.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions