Synchronization2 Layer vkCmdPipelineBarrier2KHR fails with Swapchain images
andreasschultes opened this issue · 0 comments
andreasschultes commented
Follow Error occures if a swapchain image from vkGetSwapchainImagesKHR is used in the pipeline barrier:
/build/vulkan-extensionlayer-1.2.189.0~rc1-1lunarg20.04/layers/synchronization2.cpp:885: synchronization2::DependencyInfoV1::DependencyInfoV1(const synchronization2::DeviceData&, uint32_t, const VkDependencyInfoKHR*, const VkAllocationCallbacks*): Assertion `image_data != device_data.image_map.end()' failed.
imaga_data is only filed with the CreateImage HOOK
Images from vkGetSwapcahinImagesKHR are missing, in image_data map
I think that the ImageAspect From Swapchain images is Color.