Rejig some code around to avoid stack size explosion in vulkan serialise
Rejig some code around to avoid stack size explosion in vulkan serialise

baldurk/renderdoc,Zorro666/renderdoc,baldurk/renderdoc,Zorro666/renderdoc,baldurk/renderdoc,Zorro666/renderdoc,Zorro666/renderdoc,Zorro666/renderdoc,baldurk/renderdoc,Zorro666/renderdoc,baldurk/renderdoc,baldurk/renderdoc