yum-mirror/glslang

git clone https://git.yummers.dev/yum-mirror/glslang

John KessenichSPV: Require desktop 140 or ES 310 or above.f6eae2a5

main
272 B22 linesraw
1#version 310 es
2
3precision mediump float;
4
5in vec4 pos;
6in vec3 color;
7
8layout(location = 7) out vec3 c;
9layout(LocatioN = 3) out vec4 p[2];
10
11struct S {
12    vec3 c;
13    float f;
14};
15
16in S s;
17
18void main()
19{
20    c = color + s.c;
21    p[1] = pos * s.f;
22}