Ash not loading some methods when loading Vulkan on Windows #714
-
I'm getting a panic when trying to create a swapchain.
I'm following the tutorials at the bottom of the README.md but I had to modify them a bit to handle the new api for ash. Certain things seem to have changed since those were written. This panic seems to me it can't find a method called 'create_swapchain_khr' in the dll to call against. let entry = ash::Entry::linked() Main difference is linking to find Vulkan. I have VULKAN_SDK and VK_SDK_PATH variables. Vulkano doesn't have any issue working so don't think it has to do with my Vulkan installation at all. I'm using Vulkan 1.3.239, any ideas? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
As always, the repository for a crate may contain new development that has not made it into a public release yet. Either consult the corresponding (Related though, @Ralith it seems the removal of builder structs in #602 didn't make it to the readme snippets, should you or I correct that?)
This means Lines 270 to 279 in 7b3df84 (It doesn't need to be exported for that, depending on the implementation of the driver)
Linking or loading only affects how we get to Line 319 in 7b3df84 If you enable the validation layer it should™ point this out. |
Beta Was this translation helpful? Give feedback.
As always, the repository for a crate may contain new development that has not made it into a public release yet. Either consult the corresponding
README.md
on crates.io or view the repo on the corresponding release tag, likely0.37.2
for the latest release.(Related though, @Ralith it seems the removal of builder structs in #602 didn't make it to the readme snippets, should you or I correct that?)