1#version 150 core 2 3in vec4 iv4; 4 5in float ps; 6in int ui; 7uniform sampler2D s2D; 8 9invariant gl_Position; 10 11struct s1 { 12 int a; 13 int a2; 14 vec4 b[3]; 15}; 16 17struct s2 { 18 int c; 19 s1 d[4]; 20}; 21 22out s2 s2out; 23 24void main() 25{ 26 gl_Position = iv4; 27 gl_PointSize = ps; 28 gl_ClipDistance[2] = iv4.x; 29 int i; 30 s2out.d[i].b[2].w = ps; 31 32 // test non-implicit lod 33 texture(s2D, vec2(0.5)); 34 textureProj(s2D, vec3(0.5)); 35 textureLod(s2D, vec2(0.5), 3.2); 36} 37 38out float gl_ClipDistance[4]; 39