[PATCH v5 4/7] vkd3d-shader/spirv: Normalise the shader before allocating registers.