John Kessenich | 9855bda | 2017-09-11 21:48:19 -0600 | [diff] [blame^] | 1 | glsl.entryPointRename.vert |
| 2 | ERROR: Source entry point must be "main" |
| 3 | |
| 4 | // Module Version 10000 |
| 5 | // Generated by (magic number): 80001 |
| 6 | // Id's are bound by 20 |
| 7 | |
| 8 | Capability Shader |
| 9 | 1: ExtInstImport "GLSL.std.450" |
| 10 | MemoryModel Logical GLSL450 |
| 11 | EntryPoint Vertex 4 "foo" 13 |
| 12 | Source GLSL 460 |
| 13 | Name 4 "foo" |
| 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" |
| 19 | Name 13 "" |
| 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 |
| 25 | 2: TypeVoid |
| 26 | 3: TypeFunction 2 |
| 27 | 6: TypeFloat 32 |
| 28 | 7: TypeVector 6(float) 4 |
| 29 | 8: TypeInt 32 0 |
| 30 | 9: 8(int) Constant 1 |
| 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 |
| 35 | 14: TypeInt 32 1 |
| 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 |
| 41 | 5: Label |
| 42 | 19: 18(ptr) AccessChain 13 15 |
| 43 | Store 19 17 |
| 44 | Return |
| 45 | FunctionEnd |