[PATCH v6 6/9] vkd3d-shader/tpf: Separate src register write function.