4 * require_extensions: GL_EXT_texture_array
7 * Verify that GL_EXT_texture_array can be used in geometry shaders
10 #extension GL_EXT_texture_array: require
12 uniform sampler1DArray s1;
13 uniform sampler2DArray s2;
14 uniform sampler1DArrayShadow s1s;
15 uniform sampler2DArrayShadow s2s;
19 vec4 foo = texture1DArray(s1, vec2(0.0));
20 foo += texture1DArrayLod(s1, vec2(0.0), 0.0);
21 foo += texture2DArray(s2, vec3(0.0));
22 foo += texture2DArrayLod(s2, vec3(0.0), 0.0);
23 foo += shadow1DArray(s1s, vec3(0.0));
24 foo += shadow1DArrayLod(s1s, vec3(0.0), 0.0);
25 foo += shadow2DArray(s2s, vec4(0.0));