1#version 460
2
3#extension GL_NV_mesh_shader: require
4
5layout(location=0)
6in B {
7 perprimitiveNV float f;
8};
9
10layout(location=4)
11in C {
12 flat centroid float h;
13};
14
15layout(location=8)
16out float g;
17
18void main()
19{
20 g = f + h;
21}
22