Replies: 10 comments
-
How did you call the function? Did you specify the extension when creating the device? |
Beta Was this translation helpful? Give feedback.
-
Thanks for getting back to me. I first call
|
Beta Was this translation helpful? Give feedback.
-
Are you using the TryGetExtension method to get your KhrSurface? |
Beta Was this translation helpful? Give feedback.
-
I call |
Beta Was this translation helpful? Give feedback.
-
Everything seems to be in order then, I’m not sure why this is happening. Other than manually validating that GLFW is giving you the correct extensions (using SilkMarshal.PtrToStringArray and then writing that to Console or Debug) I’m not sure what to suggest |
Beta Was this translation helpful? Give feedback.
-
I did that, and it returned VK_KHR_surface and VK_KHR_xcb_surface |
Beta Was this translation helpful? Give feedback.
-
Can you run the SDK included vkcube? If not it's probably not our issue but a problem with your computer. |
Beta Was this translation helpful? Give feedback.
-
I can run VKCube locally. I don't want to share the whole project, but I will share the stuff with Vulkan in it (Also pls ignore the stupid name). The error is in VulkanDeviceManager.cs, line 127. Link: https://drive.google.com/file/d/1WsWFzBzquacGMImiwlyZkDXLDI-d-MYV/view?usp=sharing |
Beta Was this translation helpful? Give feedback.
-
Going to migrate this to a discussion until we know for sure that this is a silk bug. |
Beta Was this translation helpful? Give feedback.
-
Did you remember to enable the device extension "VK_KHR_swapchain"? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
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
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.
Beta Was this translation helpful? Give feedback.
All reactions