• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1#version 130
2
3uniform vec4 uv4;
4uniform vec3 glass;
5
6const int ci = 8;
7
8vec4 a = ci * uv4;
9
10in vec3 iv3;
11in vec4 cup;
12
13void main()
14{
15}
16
17vec4 b = ci * a;
18
19ivec2 foo(mat2 m)
20{
21    return ivec2(m[0]);
22}
23
24vec4 c = b * b;
25
26const vec3 cv3 = vec3(43.0, 0.34, 9.9);
27const vec3 cv3n = vec3(43.0, 0.34, 9.9);
28const vec3 cv3e = vec3(43.0, 0.34, 9.9);
29uniform mat2 um2 = mat2(4.0);
30uniform mat2 um2n = mat2(4.0);
31uniform mat2 um2e = mat2(4.0);
32struct S {
33    int a;
34    float b;
35};
36uniform S s = S(82, 3.9);
37uniform S sn;
38uniform S se = S(82, 3.9);
39