[PATCH v4 05/10] vkd3d-shader/tpf: Pass ctx to sm4_encode_register().