This was an oversight when GLSL1.30 was enabled, I think my misunderstanding.
This fixes a bunch of tex-miplevel-selection tests under softpipe, and is required for textureGather support.
I'm not sure this won't make sampling slowering, but its softpipe, correctness first and all that.
3f5c67d softpipe: add textureOffset support.
src/gallium/drivers/softpipe/sp_tex_sample.c | 155 +++++++++++++++-----------
src/gallium/drivers/softpipe/sp_tex_sample.h | 4 +
2 files changed, 97 insertions(+), 62 deletions(-)
Upstream: cgit.freedesktop.org