generate OpLine before OpFunction
[platform/upstream/glslang.git] / Test / link.vk.inconsistentGLPerVertex.0.vert
1 #version 460 core
2
3 // This test is to test isInconsistentGLPerVertexMember() workarounds.
4 // Without that workaround this compile fails due to block declarations
5 // in gl_PerVertex not being consistent for:
6 // gl_SecondaryPositionNV
7 // gl_PositionPerViewNV
8
9 out vs_output 
10
11         vec4 color;
12 } vs_out; 
13
14 in vec4 P;
15 void main()
16 {
17         vs_out.color = vec4(1.);
18         gl_PointSize = 1.0;
19         gl_Position = P;
20 }