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