softpipe: start adding gather support (v2)