2018-11-22 10:55:57 +00:00
|
|
|
#version 310 es
|
|
|
|
|
|
|
|
invariant gl_Position;
|
|
|
|
|
|
|
|
layout(location = 0) in vec4 vInput0;
|
|
|
|
layout(location = 1) in vec4 vInput1;
|
|
|
|
layout(location = 2) in vec4 vInput2;
|
|
|
|
layout(location = 0) invariant out vec4 vColor;
|
|
|
|
|
|
|
|
void main()
|
|
|
|
{
|
2022-05-27 10:43:12 +00:00
|
|
|
vec4 _21 = vInput1 * vInput2 + vInput0;
|
2018-11-22 10:55:57 +00:00
|
|
|
gl_Position = _21;
|
|
|
|
vec4 _27 = vInput0 - vInput1;
|
|
|
|
vec4 _29 = _27 * vInput2;
|
|
|
|
vColor = _29;
|
|
|
|
}
|
|
|
|
|