Debian Codegraph @

third_party/spirv-cross/reference/opt/shaders/desktop-only/frag/in-block-qualifiers.frag

raw
1 #version 450
2
3 layout(location = 0) out vec4 FragColor;
4 layout(location = 0) in VertexData
5 {
6 flat float f;
7 centroid vec4 g;
8 flat int h;
9 float i;
10 } vin;
11
12 layout(location = 4) flat in float f;
13 layout(location = 5) centroid in vec4 g;
14 layout(location = 6) flat in int h;
15 layout(location = 7) sample in float i;
16
17 void main()
18 {
19 FragColor = ((((((vec4(vin.f) + vin.g) + vec4(float(vin.h))) + vec4(vin.i)) + vec4(f)) + g) + vec4(float(h))) + vec4(i);
20 }
21