When running the multi draw indirect sample on Windows with an RTX 4070 and the latest SDK I get multiple validation errors at startup:
[error] 1142734219 - VUID-VkBufferMemoryBarrier-None-09050: Validation Error: [ VUID-VkBufferMemoryBarrier-None-09050 ] Object 0: handle = 0x213ba640090, type = VK_OBJECT_TYPE_COMMAND_BUFFER; | MessageID = 0x441cbd8b | vkCmdPipelineBarrier(): pBufferMemoryBarriers[0].buffer barrier using VkBuffer VkBuffer 0x38ea17000000074c[] created with sharingMode VK_SHARING_MODE_CONCURRENT, has srcQueueFamilyIndex 0 (VALID). Source queue family must be VK_QUEUE_FAMILY_IGNORED or VK_QUEUE_FAMILY_EXTERNAL. The Vulkan spec states: If the synchronization2 feature is not enabled, and buffer was created with a sharing mode of VK_SHARING_MODE_CONCURRENT, srcQueueFamilyIndex must be VK_QUEUE_FAMILY_IGNORED or VK_QUEUE_FAMILY_EXTERNAL (https://vulkan.lunarg.com/doc/view/1.3.290.0/windows/1.3-extensions/vkspec.html#VUID-VkBufferMemoryBarrier-None-09050)
When running the multi draw indirect sample on Windows with an RTX 4070 and the latest SDK I get multiple validation errors at startup: