4 // require_extensions: GL_MESA_shader_integer_functions
8 #extension GL_MESA_shader_integer_functions: require
10 uniform sampler2DShadow s2D;
11 uniform sampler2DArrayShadow s2DArray;
12 uniform sampler2DRectShadow s2DRect;
19 ivec2 offset = ivec2(-8, 7);
21 res += textureGatherOffset(s2D, vec2(0), refz, offset);
22 res += textureGatherOffset(s2DArray, vec3(0), refz, offset);
23 res += textureGatherOffset(s2DRect, vec2(0), refz, offset);