2020-09-30 14:37:23 +00:00
|
|
|
|
|
|
|
out vec4 sk_FragColor;
|
|
|
|
in float val;
|
|
|
|
uniform int ui;
|
|
|
|
uniform vec4 uh4;
|
|
|
|
void main() {
|
|
|
|
struct S {
|
|
|
|
vec4[1] ah4;
|
|
|
|
float[1] ah;
|
|
|
|
vec4 h4;
|
|
|
|
float h;
|
|
|
|
} s;
|
|
|
|
s.ah4[0] = vec4(val);
|
|
|
|
s.ah[0] = val;
|
|
|
|
s.h4 = vec4(val);
|
|
|
|
s.h = val;
|
|
|
|
S as[1];
|
|
|
|
as[0].ah4[0] = vec4(val);
|
|
|
|
{
|
|
|
|
sk_FragColor = sk_FragColor.xxxx;
|
|
|
|
}
|
|
|
|
|
2020-10-13 15:19:41 +00:00
|
|
|
|
2020-09-30 14:37:23 +00:00
|
|
|
{
|
|
|
|
sk_FragColor = vec4(s.h);
|
|
|
|
}
|
|
|
|
|
2020-10-13 15:19:41 +00:00
|
|
|
|
2020-09-30 14:37:23 +00:00
|
|
|
{
|
|
|
|
sk_FragColor = s.ah4[0].ywyw;
|
|
|
|
}
|
|
|
|
|
2020-10-13 15:19:41 +00:00
|
|
|
|
2020-09-30 14:37:23 +00:00
|
|
|
{
|
|
|
|
sk_FragColor = as[0].ah4[0].xyxy;
|
|
|
|
}
|
|
|
|
|
2020-10-13 15:19:41 +00:00
|
|
|
|
2020-09-30 14:37:23 +00:00
|
|
|
{
|
|
|
|
sk_FragColor = s.h4.zzzz;
|
|
|
|
}
|
|
|
|
|
2020-10-13 15:19:41 +00:00
|
|
|
|
2020-09-30 14:37:23 +00:00
|
|
|
{
|
|
|
|
sk_FragColor = uh4.xyzx;
|
|
|
|
}
|
|
|
|
|
2020-10-13 15:19:41 +00:00
|
|
|
|
2020-09-30 15:58:16 +00:00
|
|
|
{
|
|
|
|
sk_FragColor = vec3(s.h).xyzx;
|
|
|
|
}
|
|
|
|
|
2020-10-13 15:19:41 +00:00
|
|
|
|
2020-09-30 15:58:16 +00:00
|
|
|
{
|
|
|
|
sk_FragColor = vec4(s.h);
|
|
|
|
}
|
|
|
|
|
2020-10-13 15:19:41 +00:00
|
|
|
|
2020-09-30 14:37:23 +00:00
|
|
|
{
|
|
|
|
sk_FragColor = s.ah4[0].xxxy;
|
|
|
|
}
|
|
|
|
|
2020-10-13 15:19:41 +00:00
|
|
|
|
2020-09-30 14:37:23 +00:00
|
|
|
{
|
|
|
|
sk_FragColor = uh4;
|
|
|
|
}
|
|
|
|
|
2020-10-13 15:19:41 +00:00
|
|
|
|
2020-09-30 14:37:23 +00:00
|
|
|
bool _1_b = !true;
|
|
|
|
{
|
|
|
|
sk_FragColor = _1_b ? sk_FragColor.xxxx : sk_FragColor.yyyy;
|
|
|
|
}
|
|
|
|
|
2020-10-13 15:19:41 +00:00
|
|
|
|
2020-09-30 14:37:23 +00:00
|
|
|
float _2_h = -s.h;
|
|
|
|
{
|
|
|
|
sk_FragColor = vec4(_2_h);
|
|
|
|
}
|
|
|
|
|
2020-10-13 15:19:41 +00:00
|
|
|
|
2020-09-30 14:37:23 +00:00
|
|
|
vec2 _3_h2 = s.ah4[ui].yw;
|
|
|
|
{
|
|
|
|
sk_FragColor = _3_h2.xyxy;
|
|
|
|
}
|
|
|
|
|
2020-10-13 15:19:41 +00:00
|
|
|
|
2020-09-30 14:37:23 +00:00
|
|
|
vec3 _4_h3 = s.h4.yyy + s.h4.zzz;
|
|
|
|
{
|
|
|
|
sk_FragColor = _4_h3.xyzx;
|
|
|
|
}
|
|
|
|
|
2020-10-13 15:19:41 +00:00
|
|
|
|
2020-09-30 15:58:16 +00:00
|
|
|
vec4 _5_h4 = vec3(s.h4.y, 0.0, 1.0).xyyz;
|
2020-09-30 14:37:23 +00:00
|
|
|
{
|
2020-09-30 15:58:16 +00:00
|
|
|
sk_FragColor = _5_h4;
|
2020-09-30 14:37:23 +00:00
|
|
|
}
|
|
|
|
|
2020-10-13 15:19:41 +00:00
|
|
|
|
2020-09-30 14:37:23 +00:00
|
|
|
}
|