Manager: fix debug layers on Android#341
Manager: fix debug layers on Android#341cebtenzzre wants to merge 2 commits intoKomputeProject:masterfrom
Conversation
|
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 |
Signed-off-by: Jared Van Bortel <jared@nomic.ai>
689ff84 to
791f1a4
Compare
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: