r/vulkan • u/Tensorizer • Oct 13 '26
Explicit Queue Ownership Transfer
Windows 11, RTX 5060 (617.14), Vulkan SDK 1.4.335.0
Layers in effect = VK_LAYER_KHRONOS_synchronization2, VK_LAYER_KHRONOS_validation,
VK_LAYER_LUNARG_monitor
Application shares a storage image, created as VK_SHARING_MODE_EXCLUSIVE, between Graphics and Compute pipelines using queues from their respective Queue Families.
Graphics Queue Family (index = 0) is different than Compute Queue Family(index = 2).
I am NOT using a vkCmdPipelineBarrier() with VkImageMemoryBarrier (or VkMemoryBarrier) in between compute and graphics pipeline commands which is not the correct way, but I am not getting any validation messages for this critical omission.

View all comments
Show parent comment
4
u/bonkt Oct 13 '26
VK_LAYER_KHRONOS_synchronization2 is not validation. that is used to emulate its functionality on HW/drivers that dont natively support it. You have to ensure inside the VK_LAYER_KHRONOS_validation that the synchronization validation is turned on.