glsl: add ARB_gpu_shader5's additional textureGather signatures
authorChris Forbes <chrisf@ijw.co.nz>
Sat, 5 Oct 2013 04:57:18 +0000 (17:57 +1300)
committerChris Forbes <chrisf@ijw.co.nz>
Sat, 5 Oct 2013 22:13:17 +0000 (11:13 +1300)
commit7335bc7526478637db168128ad989539c8c0211e
treeddb2692989705defbc563171c3bd978bb761c846
parent88ee9bc9d1dd66ddb9721dc44574b8caaa26df70
glsl: add ARB_gpu_shader5's additional textureGather signatures

- gsampler2DRect support
- optional `comp` parameter

Future patches will add shadow sampler support and
textureGatherOffsets().

Signed-off-by: Chris Forbes <chrisf@ijw.co.nz>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/glsl/builtin_functions.cpp