1 glsl.entryPointRename.vert
2 ERROR: Source entry point must be "main"
4 // Module Version 10000
5 // Generated by (magic number): 8000a
6 // Id's are bound by 20
9 1: ExtInstImport "GLSL.std.450"
10 MemoryModel Logical GLSL450
11 EntryPoint Vertex 4 "foo" 13
14 Name 11 "gl_PerVertex"
15 MemberName 11(gl_PerVertex) 0 "gl_Position"
16 MemberName 11(gl_PerVertex) 1 "gl_PointSize"
17 MemberName 11(gl_PerVertex) 2 "gl_ClipDistance"
18 MemberName 11(gl_PerVertex) 3 "gl_CullDistance"
20 MemberDecorate 11(gl_PerVertex) 0 BuiltIn Position
21 MemberDecorate 11(gl_PerVertex) 1 BuiltIn PointSize
22 MemberDecorate 11(gl_PerVertex) 2 BuiltIn ClipDistance
23 MemberDecorate 11(gl_PerVertex) 3 BuiltIn CullDistance
24 Decorate 11(gl_PerVertex) Block
28 7: TypeVector 6(float) 4
31 10: TypeArray 6(float) 9
32 11(gl_PerVertex): TypeStruct 7(fvec4) 6(float) 10 10
33 12: TypePointer Output 11(gl_PerVertex)
34 13: 12(ptr) Variable Output
36 15: 14(int) Constant 0
37 16: 6(float) Constant 1065353216
38 17: 7(fvec4) ConstantComposite 16 16 16 16
39 18: TypePointer Output 7(fvec4)
40 4(foo): 2 Function None 3
42 19: 18(ptr) AccessChain 13 15