blob: 134878e0340e795a1bcdb61953f9c1cfc94d26de (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
#version 310 es
precision mediump float;
precision highp int;
struct ResType
{
highp float _m0;
int _m1;
};
struct ResType_1
{
highp vec2 _m0;
ivec2 _m1;
};
layout(location = 0) in float v0;
layout(location = 1) in vec2 v1;
layout(location = 0) out float FragColor;
void main()
{
ResType _22;
_22._m0 = frexp(v0 + 1.0, _22._m1);
highp float _24 = _22._m0;
float mp_copy_24 = _24;
ResType_1 _35;
_35._m0 = frexp(v1, _35._m1);
float r0;
float _41 = modf(v0, r0);
vec2 r1;
vec2 _45 = modf(v1, r1);
FragColor = ((((mp_copy_24 + _35._m0.x) + _35._m0.y) + _41) + _45.x) + _45.y;
}
|