fn sanitize_func_type(
    func_type: ComponentTransferFuncType,
    values: &[f32]
) -> ComponentTransferFuncType