Open cebtenzzre opened 8 months ago
Actually this isn't enough, because it's crashing while trying to do vk::enumerateInstanceLayerProperties even though it hasn't initialized the dynamic loader yet.
Thank you for submitting - would you be able to test it in the android example? The reason why i ask is because that uses a very particular version of the vulkan libraries for compatibility so it would need to be validated
would you be able to test it in the android example?
Sorry, I don't have the time to attempt something like that. Since the existing code doesn't compile with the latest regular Vulkan headers, I don't see how this PR could be worse. Unless there's some version of Vulkan where vk::DispatchLoaderDynamic::init takes a pointer to a pointer to a function?
Thank you for the heads up - no worries, we'll have to test it before merging it, we'll test it on our side
I haven't tested this on Android, but on a fork that always uses the dynamic symbol lookup, I ran into this compilation error:
It should be possible to reproduce if you build it like this: