Replies: 10 comments
|
How did you call the function? Did you specify the extension when creating the device? |
|
Thanks for getting back to me. I first call
|
|
Are you using the TryGetExtension method to get your KhrSurface? |
|
I call |
|
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 |
|
I did that, and it returned VK_KHR_surface and VK_KHR_xcb_surface |
|
Can you run the SDK included vkcube? If not it's probably not our issue but a problem with your computer. |
|
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 |
|
Going to migrate this to a discussion until we know for sure that this is a silk bug. |
|
Did you remember to enable the device extension "VK_KHR_swapchain"? |
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.
All reactions