Debian Codegraph @

third_party/spirv-cross/reference/opt/shaders/asm/geom/block-name-namespace.asm.geom

raw
1 #version 450
2 layout(triangles) in;
3 layout(max_vertices = 4, triangle_strip) out;
4
5 layout(binding = 0, std140) uniform VertexInput
6 {
7 vec4 a;
8 } VertexInput_1;
9
10 layout(binding = 0, std430) buffer VertexInput
11 {
12 vec4 b;
13 } VertexInput_2;
14
15 layout(location = 0) out VertexInput
16 {
17 vec4 vColor;
18 } VertexInput_3;
19
20 layout(location = 0) in VertexInput
21 {
22 vec4 vColor;
23 } vin[3];
24
25
26 void main()
27 {
28 gl_Position = (vec4(1.0) + VertexInput_1.a) + VertexInput_2.b;
29 VertexInput_3.vColor = vin[0].vColor;
30 EmitVertex();
31 }
32