Queue usage in Vulkan overlay layer does not appear to be safe
I was looking through src/vulkan/overlay-layer/overlay.cpp to study how it was performing graphics operations in the vkQueuePresentKHR hook, and noticed the way it was calling vkQueueSubmit seems dangerous. It's fine to submit against the present_queue since the function contract says it will be externally synchronized, but if graphic_queue doesn't match present_queue, then there's nothing to prevent that queue from being used simultaneously on another thread.