Debian Codegraph @

third_party/spirv-cross/reference/shaders/vert/invariant.vert

raw
1 #version 310 es
2
3 invariant gl_Position;
4
5 layout(location = 0) in vec4 vInput0;
6 layout(location = 1) in vec4 vInput1;
7 layout(location = 2) in vec4 vInput2;
8 layout(location = 0) invariant out vec4 vColor;
9
10 void main()
11 {
12 vec4 _20 = vInput1 * vInput2;
13 vec4 _21 = vInput0 + _20;
14 gl_Position = _21;
15 vec4 _27 = vInput0 - vInput1;
16 vec4 _29 = _27 * vInput2;
17 vColor = _29;
18 }
19