3 uniform sampler2D samp2D;
\r
4 in mediump vec2 coord;
\r
20 layout(std140) uniform ub1 { s2 foo2a; } uName1;
\r
21 layout(std430) buffer ub2 { s2 foo2b; } uName2;
\r
27 a = s1[3](s1(int(u.x), u.y), s1(int(u.z), u.w), s1(14, 14.0));
\r
28 b = s1[3](s1(17, 17.0), s1(int(w.x), w.y), s1(int(w.z), w.w));
\r
30 if (uName1.foo2a == uName2.foo2b)
\r
31 v = texture(samp2D, coord);
\r
33 v = texture(samp2D, 2.0*coord);
\r