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