John Kessenich | cc16fa0 | 2015-12-10 18:01:54 -0700 | [diff] [blame^] | 1 | spv.dataOutIndirect.vert |
| 2 | WARNING: 0:3: attribute deprecated in version 130; may be removed in future release |
| 3 | WARNING: 0:4: varying deprecated in version 130; may be removed in future release |
| 4 | |
| 5 | |
| 6 | Linked vertex stage: |
| 7 | |
| 8 | |
| 9 | // Module Version 10000 |
| 10 | // Generated by (magic number): 80001 |
| 11 | // Id's are bound by 38 |
| 12 | |
| 13 | Capability Shader |
| 14 | 1: ExtInstImport "GLSL.std.450" |
| 15 | MemoryModel Logical GLSL450 |
| 16 | EntryPoint Vertex 4 "main" 26 23 37 |
| 17 | Source GLSL 130 |
| 18 | Name 4 "main" |
| 19 | Name 8 "i" |
| 20 | Name 23 "colorOut" |
| 21 | Name 26 "color" |
| 22 | Name 32 "gl_Position" |
| 23 | Name 37 "gl_VertexID" |
| 24 | Decorate 32(gl_Position) BuiltIn Position |
| 25 | Decorate 37(gl_VertexID) BuiltIn VertexId |
| 26 | 2: TypeVoid |
| 27 | 3: TypeFunction 2 |
| 28 | 6: TypeInt 32 1 |
| 29 | 7: TypePointer Function 6(int) |
| 30 | 9: 6(int) Constant 1 |
| 31 | 14: 6(int) Constant 5 |
| 32 | 15: TypeBool |
| 33 | 17: TypeFloat 32 |
| 34 | 18: TypeVector 17(float) 4 |
| 35 | 19: TypeInt 32 0 |
| 36 | 20: 19(int) Constant 6 |
| 37 | 21: TypeArray 18(fvec4) 20 |
| 38 | 22: TypePointer Output 21 |
| 39 | 23(colorOut): 22(ptr) Variable Output |
| 40 | 25: TypePointer Input 18(fvec4) |
| 41 | 26(color): 25(ptr) Variable Input |
| 42 | 28: TypePointer Output 18(fvec4) |
| 43 | 32(gl_Position): 28(ptr) Variable Output |
| 44 | 33: 6(int) Constant 2 |
| 45 | 36: TypePointer Input 6(int) |
| 46 | 37(gl_VertexID): 36(ptr) Variable Input |
| 47 | 4(main): 2 Function None 3 |
| 48 | 5: Label |
| 49 | 8(i): 7(ptr) Variable Function |
| 50 | Store 8(i) 9 |
| 51 | Branch 10 |
| 52 | 10: Label |
| 53 | 13: 6(int) Load 8(i) |
| 54 | 16: 15(bool) SLessThan 13 14 |
| 55 | LoopMerge 11 10 None |
| 56 | BranchConditional 16 12 11 |
| 57 | 12: Label |
| 58 | 24: 6(int) Load 8(i) |
| 59 | 27: 18(fvec4) Load 26(color) |
| 60 | 29: 28(ptr) AccessChain 23(colorOut) 24 |
| 61 | Store 29 27 |
| 62 | 30: 6(int) Load 8(i) |
| 63 | 31: 6(int) IAdd 30 9 |
| 64 | Store 8(i) 31 |
| 65 | Branch 10 |
| 66 | 11: Label |
| 67 | 34: 28(ptr) AccessChain 23(colorOut) 33 |
| 68 | 35: 18(fvec4) Load 34 |
| 69 | Store 32(gl_Position) 35 |
| 70 | Return |
| 71 | FunctionEnd |