title: Convert Vulkan nvpro app to vulkan headless
body: <p>I am trying to convert <a href="https://github.com/nvpro-samples/vk_raytrace" rel="nofollow noreferrer">vk_raytrace</a> to headless so that I can run it via commandline and dump rendered image. I am new to vulkan and saw that vulkan supports <a href="https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/VK_EXT_headless_surface.html" rel="nofollow noreferrer">headless surface</a>. My first approach was to replace the surface <a href="https://github.com/nvpro-samples/vk_raytrace/blob/master/src/main.cpp#L143" rel="nofollow noreferrer">created</a> using glfw window to a headless surface. However, I get <code>VK_ERROR_EXTENSION_NOT_PRESENT</code> for <code>VK_EXT_headless_surface</code>. Next I tried removing surface and swapchain related logic and create frame buffers with image view as attachment. Haven't had any luck with that either.</p>
  <p>Any pointers on this would be very helpful.</p>