This is the fifth (and final) piece of ARB_gpu_shader5 textureGather* support.
It turns out that unnormalized texcoords and texture offsets don't mix. This series adds yet another lowering pass, so that *sampler2DRect work with gather. 2-3/3 expand the lowering pass to cover integer coordinates too, and use it for texelFetchOffset. This removes a bit of duplication. _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev