title: How do I access a timer from within a Vulkan shader?
body: <p>In a Vulkan shader I want to query a timer so that I can query it twice at two points in my code and use the difference. For example, I want to convert the difference to a color so I can see a visualization of how long various pixels take.</p>
  <p>I’m looking for something like the Cuda clock() intrinsic function.</p>