Skip to content

vulkan fix synchronization issues

vkswapper: missing image barrier after vkCmdClearColorImage

After clear color image command the swapper image needs to add a barrier before copying the buffer to display on it. Otherwise a potential synchronization problem might occur.

Fixes #2403 (closed)


vulkan: use VK_QUEUE_FAMILY_IGNORED in barriers

Instead of using the valid queue family 0 (zero), if there aren't queue transfers there's no need to specify a not validated queue family, but just VK_QUEUE_FAMILY_IGNORED (~0U).

Merge request reports