What’s interesting is that this works fine on my PC running Arch Linux, but the same code compiled on Android is throwing an odd error. vkQueueSubmit is returning VK_ERROR_INITIALIZATION_FAILED (-3) and it’s not an error listed to be returned by vkQueueSubmit. This all works on Android if I don’t load from a thread. I’m currently rendering graphics on the screen when I try to load more.
I have a separate command pool specifically for loading from a thread where I create a primary command buffer from the loading thread.
The main process thread is where the rendering command pool, primary and secondary command buffers are allocated and used. Been doing a lot of tests but I’m stumped.
Any thoughts would be appreciated.