I'm setting up swapchain recreation and keep running into this validation layer message:
The Vulkan spec states: commandBuffer must not be in the recording or pending state (https://docs.vulkan.org/spec/latest/chapters/cmdbuffers.html#VUID-vkBeginCommandBuffer-commandBuffer-00049)
Validation layer: vkBeginCommandBuffer(): on active VkCommandBuffer 0x141c33e1920 before it has completed. You must check command buffer fence before this call.
The Vulkan spec states: commandBuffer must not be in the recording or pending state (https://docs.vulkan.org/spec/latest/chapters/cmdbuffers.html#VUID-vkBeginCommandBuffer-commandBuffer-00049)
Validation layer: vkBeginCommandBuffer(): on active VkCommandBuffer 0x141c33bc860 before it has completed. You must check command buffer fence before this call.
The Vulkan spec states: commandBuffer must not be in the recording or pending state (https://docs.vulkan.org/spec/latest/chapters/cmdbuffers.html#VUID-vkBeginCommandBuffer-commandBuffer-00049)```
But I do wait for fences before the call (I'm pretty sure). Does anyone know where I went wrong