[PATCH v2 3/3] vkd3d-shader: Implement a function to build a varying map between sm1 stages.