4 * require_extensions: GL_ARB_texture_multisample
7 * Verify that GL_ARB_texture_multisample can be used in geometry shaders
10 #extension GL_ARB_texture_multisample: require
12 uniform sampler2DMS s;
13 uniform isampler2DMS is;
14 uniform usampler2DMS us;
15 uniform sampler2DMSArray sa;
16 uniform isampler2DMSArray isa;
17 uniform usampler2DMSArray usa;
21 vec4 foo = texelFetch(s, ivec2(0, 0), 0);
22 foo += vec4(texelFetch(is, ivec2(0, 0), 0));
23 foo += vec4(texelFetch(us, ivec2(0, 0), 0));
24 foo += texelFetch(sa, ivec3(0, 0, 0), 0);
25 foo += vec4(texelFetch(isa, ivec3(0, 0, 0), 0));
26 foo += vec4(texelFetch(usa, ivec3(0, 0, 0), 0));