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