Open hlavaatch opened 4 years ago
Thanks for the report - it's an issue with gfx-rs' swapchain impl https://github.com/gfx-rs/gfx/issues/3184
@hlavaatch to clarify more, this is a known issue, and for a long time we thought that it's a bug in the validation layers, but recently they concluded that the validation error is correct. We are thinking about possible solutions.
Like this one: ''' VALIDATION [VUID-vkDestroyFramebuffer-framebuffer-00892 (0)] : Cannot call vkDestroyFramebuffer on VkFramebuffer 0x236a6d00000002f2[] that is currently in use by a command buffer. The Vulkan spec states: All submitted commands that refer to framebuffer must have completed execution (https://www.khronos.org/registry/vulkan/specs/1.1-extensions/html/vkspec.html#VUID-vkDestroyFramebuffer-framebuffer-00892) object info: (type: FRAMEBUFFER, hndl: 2551971985626235634)'''