[PATCH v4 07/10] vkd3d-shader/tpf: Separate src register write function.