Hi, These patches firstly rework the softpipe internal sampling interfaces (and save a couple of k codesize), they then add the missing textureOffset support and finally add ARB_texture_gather and gpu_shader5 texture gather support. Dave.