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