4 // require_extensions: GL_ARB_gpu_shader5 GL_ARB_texture_cube_map_array
8 #extension GL_ARB_gpu_shader5: require
9 #extension GL_ARB_texture_cube_map_array: require
11 uniform isampler2D s2D;
12 uniform isampler2DArray s2DArray;
13 uniform isamplerCube sCube;
14 uniform isamplerCubeArray sCubeArray;
15 uniform isampler2DRect s2DRect;
21 res += textureGather(s2D, vec2(0), 0);
22 res += textureGather(s2DArray, vec3(0), 1);
23 res += textureGather(sCube, vec3(0), 2);
24 res += textureGather(sCubeArray, vec4(0), 3);
25 res += textureGather(s2DRect, vec2(0), 0);
27 gl_FragColor = vec4(res);