How to draw primitives in Vulkan?
<p>Assuming that Vulkan has already been initialized, you're recording to a command buffer, you have a frame buffer and a render pass, how does one draw primitive 2D geometric shapes using Vulkan?</p>

<pre><code>vkCmdBeginRenderPass(command_buffer, &amp;render_pass_info, VK_SUBPASS_CONTENTS_INLINE);

// Draw primitives here

vkCmdEndRenderPass(command_buffer);
</code></pre>