gfx-rs / gfx-ocean

Compute based ocean simulation with gfx_hal :ocean:
116 stars 7 forks source link

Running in debug mode with vulkan backend results in flood of validation errors #23

Open hlavaatch opened 4 years ago

hlavaatch commented 4 years ago

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)'''

msiglreith commented 4 years ago

Thanks for the report - it's an issue with gfx-rs' swapchain impl https://github.com/gfx-rs/gfx/issues/3184

kvark commented 4 years ago

@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.