Porting glTF reference renderer code to Vulkan

It appears this may be the cause: