Closed sugoi1 closed 4 years ago
Friendly ping. Could anyone have a look or investigate this? Thanks.
Hi @sugoi1, sorry for the late reply and thank you for the pull request. We, however, decided to go in a slightly different direction and we fixed the VulkanGlass example. The synchronization in that example was not correct to begin with so the latest commit should fix the validation layers issue you were seeing. I'll close this pull request for now but do let me know if any other issue persists.
Omar.
Great, thanks for fixing this! I'll try testing it locally when I have some time.
Running VulkanGlass with the Vulkan Validation Layers hits errors within: https://github.com/KhronosGroup/Vulkan-ValidationLayers/blob/master/layers/core_validation.cpp#L2211
Adding VK_COMMAND_BUFFER_USAGE_SIMULTANEOUS_USE_BIT on vkBeginCommandBuffer calls fixes this issue and shouldn't hurt any of the other samples.