2020-08-01 09:20:49 +02:00
|
|
|
uniform vec2 U0[4];
|
2020-07-29 15:43:49 +02:00
|
|
|
|
2020-08-01 09:20:49 +02:00
|
|
|
void F0(out vec2 l0[2]);
|
|
|
|
void F1(out vec2 l0[2]);
|
2020-07-29 15:43:49 +02:00
|
|
|
|
2020-08-01 09:20:49 +02:00
|
|
|
void F0(out vec2 l0[2]) {
|
2020-08-08 21:56:09 +02:00
|
|
|
vec2 l1[2];
|
|
|
|
l1[0] = vec2(0);
|
|
|
|
l1[1] = vec2(0);
|
2020-08-09 11:55:39 +02:00
|
|
|
l0[0] = l1[0];
|
|
|
|
l0[1] = l1[1];
|
2020-07-29 15:43:49 +02:00
|
|
|
return;
|
|
|
|
}
|
2020-07-29 16:25:16 +02:00
|
|
|
|
2020-08-01 09:20:49 +02:00
|
|
|
void F1(out vec2 l0[2]) {
|
2020-08-08 21:56:09 +02:00
|
|
|
vec2 l1[2];
|
|
|
|
l1[0] = vec2(0);
|
|
|
|
l1[1] = vec2(0);
|
|
|
|
vec2 l2[2];
|
|
|
|
l2[0] = vec2(0);
|
|
|
|
l2[1] = vec2(0);
|
2020-07-29 16:25:16 +02:00
|
|
|
(l1)[0] = vec2(1.0);
|
2020-08-09 11:55:39 +02:00
|
|
|
l2[0] = l1[0];
|
|
|
|
l2[1] = l1[1];
|
2022-04-08 15:44:37 +02:00
|
|
|
(l2)[1] = vec2(2.0);
|
2020-08-09 11:55:39 +02:00
|
|
|
l0[0] = l2[0];
|
|
|
|
l0[1] = l2[1];
|
2020-07-29 16:25:16 +02:00
|
|
|
return;
|
|
|
|
}
|