blob: 7c698917e1acbb86c0076fe01d19d3db09c94df8 [file] [log] [blame]
John Kessenich337dbc72013-09-24 21:18:46 +00001#version 130
2
3uniform vec4 uv4;
4uniform vec2 glass;
5
6const int ci = 8;
7
8vec4 d = ci * uv4;
9
10in vec3 iv3;
11flat in vec4 cup;
12
13vec4 e = ci * d;
14
15ivec2 foo()
16{
17 return ivec2(2);
18}
19
20vec4 f = e * e;
John Kessenichf2ee3dd2013-09-28 04:02:08 +000021
22const vec3 cv3 = vec3(43.0, 0.34, 9.9);
23const vec3 cv3e = vec3(43.0, 0.34, 2.9);
24uniform mat2 um2 = mat2(4.0);
25uniform mat2 um2n;
26uniform mat2 um2e = mat2(3.0);
27struct S {
28 int a;
29 float b;
30};
31uniform S s = S(82, 3.9);
32uniform S sn = S(82, 3.9);
33uniform S se = S(81, 3.9);
John Kessenichb4ef9e02014-03-31 22:20:47 +000034
35#extension GL_OES_texture_3D : enable
36#extension GL_OES_standard_derivatives : enable