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