John Kessenich | cc16fa0 | 2015-12-10 18:01:54 -0700 | [diff] [blame] | 1 | spv.simpleMat.vert |
John Kessenich | 6c292d3 | 2016-02-15 20:58:50 -0700 | [diff] [blame^] | 2 | WARNING: 0:3: varying deprecated in version 130; may be removed in future release |
| 3 | |
John Kessenich | cc16fa0 | 2015-12-10 18:01:54 -0700 | [diff] [blame] | 4 | |
| 5 | Linked vertex stage: |
| 6 | |
| 7 | |
| 8 | // Module Version 10000 |
| 9 | // Generated by (magic number): 80001 |
John Kessenich | 6c292d3 | 2016-02-15 20:58:50 -0700 | [diff] [blame^] | 10 | // Id's are bound by 39 |
John Kessenich | cc16fa0 | 2015-12-10 18:01:54 -0700 | [diff] [blame] | 11 | |
| 12 | Capability Shader |
| 13 | 1: ExtInstImport "GLSL.std.450" |
| 14 | MemoryModel Logical GLSL450 |
John Kessenich | 6c292d3 | 2016-02-15 20:58:50 -0700 | [diff] [blame^] | 15 | EntryPoint Vertex 4 "main" 9 12 15 19 23 34 |
John Kessenich | cc16fa0 | 2015-12-10 18:01:54 -0700 | [diff] [blame] | 16 | Source GLSL 330 |
| 17 | Name 4 "main" |
| 18 | Name 9 "glPos" |
| 19 | Name 12 "mvp" |
| 20 | Name 15 "v" |
| 21 | Name 19 "f" |
| 22 | Name 23 "am3" |
| 23 | Name 34 "arraym" |
John Kessenich | cc16fa0 | 2015-12-10 18:01:54 -0700 | [diff] [blame] | 24 | 2: TypeVoid |
| 25 | 3: TypeFunction 2 |
| 26 | 6: TypeFloat 32 |
| 27 | 7: TypeVector 6(float) 4 |
| 28 | 8: TypePointer Output 7(fvec4) |
| 29 | 9(glPos): 8(ptr) Variable Output |
| 30 | 10: TypeMatrix 7(fvec4) 4 |
John Kessenich | 6c292d3 | 2016-02-15 20:58:50 -0700 | [diff] [blame^] | 31 | 11: TypePointer Output 10 |
| 32 | 12(mvp): 11(ptr) Variable Output |
John Kessenich | cc16fa0 | 2015-12-10 18:01:54 -0700 | [diff] [blame] | 33 | 14: TypePointer Input 7(fvec4) |
| 34 | 15(v): 14(ptr) Variable Input |
| 35 | 18: TypePointer Output 6(float) |
| 36 | 19(f): 18(ptr) Variable Output |
| 37 | 20: TypeVector 6(float) 3 |
| 38 | 21: TypeMatrix 20(fvec3) 3 |
| 39 | 22: TypePointer Input 21 |
| 40 | 23(am3): 22(ptr) Variable Input |
| 41 | 24: TypeInt 32 1 |
| 42 | 25: 24(int) Constant 2 |
| 43 | 26: TypeInt 32 0 |
| 44 | 27: 26(int) Constant 1 |
| 45 | 28: TypePointer Input 6(float) |
| 46 | 31: 26(int) Constant 3 |
| 47 | 32: TypeArray 10 31 |
| 48 | 33: TypePointer Input 32 |
| 49 | 34(arraym): 33(ptr) Variable Input |
| 50 | 35: 24(int) Constant 1 |
John Kessenich | cc16fa0 | 2015-12-10 18:01:54 -0700 | [diff] [blame] | 51 | 4(main): 2 Function None 3 |
| 52 | 5: Label |
| 53 | 13: 10 Load 12(mvp) |
| 54 | 16: 7(fvec4) Load 15(v) |
| 55 | 17: 7(fvec4) MatrixTimesVector 13 16 |
| 56 | Store 9(glPos) 17 |
| 57 | 29: 28(ptr) AccessChain 23(am3) 25 27 |
| 58 | 30: 6(float) Load 29 |
| 59 | 36: 28(ptr) AccessChain 34(arraym) 35 25 31 |
| 60 | 37: 6(float) Load 36 |
| 61 | 38: 6(float) FAdd 30 37 |
| 62 | Store 19(f) 38 |
| 63 | Return |
| 64 | FunctionEnd |