1 spv.simpleMat.vert 2 WARNING: 0:3: varying deprecated in version 130; may be removed in future release 3 4 // Module Version 10000 5 // Generated by (magic number): 80007 6 // Id's are bound by 39 7 8 Capability Shader 9 1: ExtInstImport "GLSL.std.450" 10 MemoryModel Logical GLSL450 11 EntryPoint Vertex 4 "main" 9 12 15 19 23 34 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" 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 27 11: TypePointer Output 10 28 12(mvp): 11(ptr) Variable Output 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 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 61