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