• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1#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;
21
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);
34
35#extension GL_OES_texture_3D : enable
36#extension GL_OES_standard_derivatives : enable
37