Debian Codegraph @

third_party/spirv-cross/reference/shaders-no-opt/asm/vert/semantic-decoration.asm.vert

raw
1 #version 450
2
3 struct VOut
4 {
5 vec4 p;
6 vec4 c;
7 };
8
9 layout(location = 0) out vec4 _entryPointOutput_c;
10
11 VOut _main()
12 {
13 VOut v;
14 v.p = vec4(1.0);
15 v.c = vec4(2.0);
16 return v;
17 }
18
19 void main()
20 {
21 VOut flattenTemp = _main();
22 gl_Position = flattenTemp.p;
23 _entryPointOutput_c = flattenTemp.c;
24 }
25