when should i re-record a command buffer in vulkan?
The Vulkan specification allows a command buffer to be re-executed without re-recording it if there were no changes made to the resources used by the command buffer, including VkBuffer, VkImage, and other types of resources.
Dynamic selection of command buffer updates
For submitting Vulkan rendering commands via VkQueueSubmit(), I know that most renderers just rebuild the cmdbufs every frame, since that makes it simpler to deal with dynamic scenes.
However, I wanted to challenge myself to build a renderer that only updates/invalidates the cmdbufs as needed, and reuses them otherwise.
Levels in nested command buffers
I was reading the Vulkan Spec about extension VK_EXT_nested_command_buffer
Question about vulkan depency chain, how to interpret Scope1st and Scope2nd int the definition
According to the definition of dependency chain: