[Mesa-dev] [PATCH V2 0/3] ARB_gpu_shader5 textureGather*, Part 5

Chris Forbes chrisf at ijw.co.nz
Mon Oct 14 10:36:34 CEST 2013

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.

More information about the mesa-dev mailing list