This commit should just shuffle code around with no functional changes. The goal is to ease development of simple vulkan nodes by providing generic helpers.