Dejan Mircevski | c8fbbab | 2016-01-11 14:48:36 -0500 | [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 39 |
| 12 | |
| 13 | Capability Shader |
| 14 | 1: ExtInstImport "GLSL.std.450" |
| 15 | MemoryModel Logical GLSL450 |
Dejan Mircevski | dba2826 | 2016-01-11 16:26:18 -0500 | [diff] [blame] | 16 | EntryPoint Vertex 4 "main" 24 27 33 38 |
Dejan Mircevski | c8fbbab | 2016-01-11 14:48:36 -0500 | [diff] [blame] | 17 | Source GLSL 130 |
| 18 | Name 4 "main" |
| 19 | Name 8 "i" |
| 20 | Name 24 "colorOut" |
| 21 | Name 27 "color" |
| 22 | Name 33 "gl_Position" |
| 23 | Name 38 "gl_VertexID" |
| 24 | Decorate 33(gl_Position) BuiltIn Position |
| 25 | Decorate 38(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 | 15: 6(int) Constant 5 |
| 32 | 16: TypeBool |
| 33 | 18: TypeFloat 32 |
| 34 | 19: TypeVector 18(float) 4 |
| 35 | 20: TypeInt 32 0 |
| 36 | 21: 20(int) Constant 6 |
| 37 | 22: TypeArray 19(fvec4) 21 |
| 38 | 23: TypePointer Output 22 |
| 39 | 24(colorOut): 23(ptr) Variable Output |
| 40 | 26: TypePointer Input 19(fvec4) |
| 41 | 27(color): 26(ptr) Variable Input |
| 42 | 29: TypePointer Output 19(fvec4) |
| 43 | 33(gl_Position): 29(ptr) Variable Output |
| 44 | 34: 6(int) Constant 2 |
| 45 | 37: TypePointer Input 6(int) |
| 46 | 38(gl_VertexID): 37(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 |
Dejan Mircevski | 832c65c | 2016-01-11 15:57:11 -0500 | [diff] [blame] | 51 | Branch 10 |
Dejan Mircevski | c8fbbab | 2016-01-11 14:48:36 -0500 | [diff] [blame] | 52 | 10: Label |
Dejan Mircevski | 832c65c | 2016-01-11 15:57:11 -0500 | [diff] [blame] | 53 | 14: 6(int) Load 8(i) |
| 54 | 17: 16(bool) SLessThan 14 15 |
| 55 | LoopMerge 12 13 None |
| 56 | BranchConditional 17 11 12 |
| 57 | 11: Label |
| 58 | 25: 6(int) Load 8(i) |
| 59 | 28: 19(fvec4) Load 27(color) |
| 60 | 30: 29(ptr) AccessChain 24(colorOut) 25 |
| 61 | Store 30 28 |
| 62 | Branch 13 |
Dejan Mircevski | e7f6cac | 2016-01-19 16:47:41 -0500 | [diff] [blame] | 63 | 13: Label |
| 64 | 31: 6(int) Load 8(i) |
| 65 | 32: 6(int) IAdd 31 9 |
| 66 | Store 8(i) 32 |
John Kessenich | cc16fa0 | 2015-12-10 18:01:54 -0700 | [diff] [blame] | 67 | Branch 10 |
Dejan Mircevski | 832c65c | 2016-01-11 15:57:11 -0500 | [diff] [blame] | 68 | 12: Label |
Dejan Mircevski | c8fbbab | 2016-01-11 14:48:36 -0500 | [diff] [blame] | 69 | 35: 29(ptr) AccessChain 24(colorOut) 34 |
| 70 | 36: 19(fvec4) Load 35 |
| 71 | Store 33(gl_Position) 36 |
| 72 | Return |
Dejan Mircevski | 832c65c | 2016-01-11 15:57:11 -0500 | [diff] [blame] | 73 | FunctionEnd |