textureGather: add support for rectangle samplers

Graphics / Mesa 3D Graphics Library / Piglit - Chris Forbes [ijw.co.nz] - 26 October 2013 03:42 UTC

Slightly fiddly:- Unnormalized coords- GL_REPEAT is not supported with rectangle textures, so we grow support for specifying the address mode.

2faee3a textureGather: add support for rectangle samplers
tests/texturing/shaders/textureGather.c | 98 ++++++++++++++++++++-----------
1 file changed, 65 insertions(+), 33 deletions(-)

Upstream: cgit.freedesktop.org


  • Share