r/vulkan • u/Tensorizer • 3d ago
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.

0
Upvotes
2
u/Jojonobody2 2d ago
Do you have validation for synchronization enabled, I'm fairly sure it's not on by default?