| spv.simpleMat.vert |
| WARNING: 0:3: varying deprecated in version 130; may be removed in future release |
| |
| // Module Version 10000 |
| // Generated by (magic number): 80007 |
| // Id's are bound by 39 |
| |
| Capability Shader |
| 1: ExtInstImport "GLSL.std.450" |
| MemoryModel Logical GLSL450 |
| EntryPoint Vertex 4 "main" 9 12 15 19 23 34 |
| Source GLSL 330 |
| Name 4 "main" |
| Name 9 "glPos" |
| Name 12 "mvp" |
| Name 15 "v" |
| Name 19 "f" |
| Name 23 "am3" |
| Name 34 "arraym" |
| 2: TypeVoid |
| 3: TypeFunction 2 |
| 6: TypeFloat 32 |
| 7: TypeVector 6(float) 4 |
| 8: TypePointer Output 7(fvec4) |
| 9(glPos): 8(ptr) Variable Output |
| 10: TypeMatrix 7(fvec4) 4 |
| 11: TypePointer Output 10 |
| 12(mvp): 11(ptr) Variable Output |
| 14: TypePointer Input 7(fvec4) |
| 15(v): 14(ptr) Variable Input |
| 18: TypePointer Output 6(float) |
| 19(f): 18(ptr) Variable Output |
| 20: TypeVector 6(float) 3 |
| 21: TypeMatrix 20(fvec3) 3 |
| 22: TypePointer Input 21 |
| 23(am3): 22(ptr) Variable Input |
| 24: TypeInt 32 1 |
| 25: 24(int) Constant 2 |
| 26: TypeInt 32 0 |
| 27: 26(int) Constant 1 |
| 28: TypePointer Input 6(float) |
| 31: 26(int) Constant 3 |
| 32: TypeArray 10 31 |
| 33: TypePointer Input 32 |
| 34(arraym): 33(ptr) Variable Input |
| 35: 24(int) Constant 1 |
| 4(main): 2 Function None 3 |
| 5: Label |
| 13: 10 Load 12(mvp) |
| 16: 7(fvec4) Load 15(v) |
| 17: 7(fvec4) MatrixTimesVector 13 16 |
| Store 9(glPos) 17 |
| 29: 28(ptr) AccessChain 23(am3) 25 27 |
| 30: 6(float) Load 29 |
| 36: 28(ptr) AccessChain 34(arraym) 35 25 31 |
| 37: 6(float) Load 36 |
| 38: 6(float) FAdd 30 37 |
| Store 19(f) 38 |
| Return |
| FunctionEnd |