Relative Content

Tag Archive for vulkan

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.