Missing semaphore on buffer queue changes
For use cases where we use the same buffer from different queues, we absolutely need to use a semaphore to synchronize the buffer properly. We currently don't. This is a bug.
An example of where this causes an issue is when using a shader storage buffer to dispatch the peak detection shader on multiple images at the same time - each compute shader will end up on a different VkQueue
, but they all access the same storage buffer. Since the user is using multiple images, the image semaphores are not sufficient to cover the buffer as well.