mesa: add texture gather changes