4 // require_extensions: GL_MESA_shader_integer_functions
8 #extension GL_MESA_shader_integer_functions: require
10 uniform sampler2D s2D;
11 uniform sampler2DArray s2DArray;
12 uniform sampler2DRect s2DRect;
14 const ivec2 offset = ivec2(-8, 7);
20 res += textureGatherOffset(s2D, vec2(0), offset);
21 res += textureGatherOffset(s2DArray, vec3(0), offset);
22 res += textureGatherOffset(s2DRect, vec2(0), offset);