Debian Codegraph @

third_party/spirv-cross/shaders-msl/desktop-only/tesc/struct-copy.desktop.sso.tesc

raw
1 #version 450
2
3 struct Boo
4 {
5 vec3 a;
6 vec3 b;
7 };
8
9 layout(vertices = 4) out;
10 layout(location = 0) out Boo vVertex[];
11 layout(location = 0) in Boo vInput[];
12
13 void main()
14 {
15 vVertex[gl_InvocationID] = vInput[gl_InvocationID];
16 gl_TessLevelOuter[0] = 1.0;
17 gl_TessLevelOuter[1] = 2.0;
18 gl_TessLevelOuter[2] = 3.0;
19 gl_TessLevelOuter[3] = 4.0;
20 gl_TessLevelInner[0] = 1.0;
21 gl_TessLevelInner[1] = 2.0;
22 }