nicebyte / nicegraf

An abstraction layer for graphics APIs.
198 stars 13 forks source link

Validation error when shutting down sample 02-render-to-texture #168

Closed nicebyte closed 1 year ago

nicebyte commented 1 year ago
Validation Error: [ VUID-vkDestroyRenderPass-renderPass-00873 ] Object 0: handle = 0x22c7f61b850, type = VK_OBJECT_TYPE_DEVICE; | MessageID = 0x473619ad | Cannot call vkDestroyRenderPass on VkRenderPass 0x7323f50000000048[] that is currently in use by a command buffer. The Vulkan spec states: All submitted commands that refer to renderPass must have completed execution (https://vulkan.lunarg.com/doc/view/1.3.250.1/windows/1.3-extensions/vkspec.html#VUID-vkDestroyRenderPass-renderPass-00873)