1 spv.matFun.vert 2 // Module Version 10000 3 // Generated by (magic number): 80007 4 // Id's are bound by 103 5 6 Capability Shader 7 1: ExtInstImport "GLSL.std.450" 8 MemoryModel Logical GLSL450 9 EntryPoint Vertex 4 "main" 76 81 10 Source GLSL 400 11 Name 4 "main" 12 Name 14 "xf(mf33;vf3;" 13 Name 12 "m" 14 Name 13 "v" 15 Name 21 "Mat3(mf44;" 16 Name 20 "m" 17 Name 26 "mxv(mf44;vf3;" 18 Name 24 "m4" 19 Name 25 "v" 20 Name 65 "param" 21 Name 74 "gl_PerVertex" 22 MemberName 74(gl_PerVertex) 0 "gl_Position" 23 MemberName 74(gl_PerVertex) 1 "gl_PointSize" 24 MemberName 74(gl_PerVertex) 2 "gl_ClipDistance" 25 Name 76 "" 26 Name 77 "bl" 27 MemberName 77(bl) 0 "m4" 28 MemberName 77(bl) 1 "m3" 29 Name 79 "bName" 30 Name 81 "v3" 31 Name 82 "param" 32 Name 86 "param" 33 Name 89 "param" 34 Name 93 "param" 35 MemberDecorate 74(gl_PerVertex) 0 BuiltIn Position 36 MemberDecorate 74(gl_PerVertex) 1 BuiltIn PointSize 37 MemberDecorate 74(gl_PerVertex) 2 BuiltIn ClipDistance 38 Decorate 74(gl_PerVertex) Block 39 MemberDecorate 77(bl) 0 ColMajor 40 MemberDecorate 77(bl) 0 Offset 0 41 MemberDecorate 77(bl) 0 MatrixStride 16 42 MemberDecorate 77(bl) 1 ColMajor 43 MemberDecorate 77(bl) 1 Offset 64 44 MemberDecorate 77(bl) 1 MatrixStride 16 45 Decorate 77(bl) Block 46 Decorate 79(bName) DescriptorSet 0 47 Decorate 79(bName) Binding 0 48 2: TypeVoid 49 3: TypeFunction 2 50 6: TypeFloat 32 51 7: TypeVector 6(float) 3 52 8: TypeMatrix 7(fvec3) 3 53 9: TypePointer Function 8 54 10: TypePointer Function 7(fvec3) 55 11: TypeFunction 7(fvec3) 9(ptr) 10(ptr) 56 16: TypeVector 6(float) 4 57 17: TypeMatrix 16(fvec4) 4 58 18: TypePointer Function 17 59 19: TypeFunction 8 18(ptr) 60 23: TypeFunction 7(fvec3) 18(ptr) 10(ptr) 61 33: TypeInt 32 1 62 34: 33(int) Constant 0 63 35: TypePointer Function 16(fvec4) 64 39: 33(int) Constant 1 65 43: 33(int) Constant 2 66 47: 6(float) Constant 1065353216 67 48: 6(float) Constant 0 68 71: TypeInt 32 0 69 72: 71(int) Constant 1 70 73: TypeArray 6(float) 72 71 74(gl_PerVertex): TypeStruct 16(fvec4) 6(float) 73 72 75: TypePointer Output 74(gl_PerVertex) 73 76: 75(ptr) Variable Output 74 77(bl): TypeStruct 17 8 75 78: TypePointer Uniform 77(bl) 76 79(bName): 78(ptr) Variable Uniform 77 80: TypePointer Input 7(fvec3) 78 81(v3): 80(ptr) Variable Input 79 83: TypePointer Uniform 17 80 90: TypePointer Uniform 8 81 101: TypePointer Output 16(fvec4) 82 4(main): 2 Function None 3 83 5: Label 84 82(param): 18(ptr) Variable Function 85 86(param): 10(ptr) Variable Function 86 89(param): 9(ptr) Variable Function 87 93(param): 10(ptr) Variable Function 88 84: 83(ptr) AccessChain 79(bName) 34 89 85: 17 Load 84 90 Store 82(param) 85 91 87: 7(fvec3) Load 81(v3) 92 Store 86(param) 87 93 88: 7(fvec3) FunctionCall 26(mxv(mf44;vf3;) 82(param) 86(param) 94 91: 90(ptr) AccessChain 79(bName) 39 95 92: 8 Load 91 96 Store 89(param) 92 97 94: 7(fvec3) Load 81(v3) 98 Store 93(param) 94 99 95: 7(fvec3) FunctionCall 14(xf(mf33;vf3;) 89(param) 93(param) 100 96: 7(fvec3) FAdd 88 95 101 97: 6(float) CompositeExtract 96 0 102 98: 6(float) CompositeExtract 96 1 103 99: 6(float) CompositeExtract 96 2 104 100: 16(fvec4) CompositeConstruct 97 98 99 47 105 102: 101(ptr) AccessChain 76 34 106 Store 102 100 107 Return 108 FunctionEnd 109 14(xf(mf33;vf3;): 7(fvec3) Function None 11 110 12(m): 9(ptr) FunctionParameter 111 13(v): 10(ptr) FunctionParameter 112 15: Label 113 28: 7(fvec3) Load 13(v) 114 29: 8 Load 12(m) 115 30: 7(fvec3) VectorTimesMatrix 28 29 116 ReturnValue 30 117 FunctionEnd 118 21(Mat3(mf44;): 8 Function None 19 119 20(m): 18(ptr) FunctionParameter 120 22: Label 121 36: 35(ptr) AccessChain 20(m) 34 122 37: 16(fvec4) Load 36 123 38: 7(fvec3) VectorShuffle 37 37 0 1 2 124 40: 35(ptr) AccessChain 20(m) 39 125 41: 16(fvec4) Load 40 126 42: 7(fvec3) VectorShuffle 41 41 0 1 2 127 44: 35(ptr) AccessChain 20(m) 43 128 45: 16(fvec4) Load 44 129 46: 7(fvec3) VectorShuffle 45 45 0 1 2 130 49: 6(float) CompositeExtract 38 0 131 50: 6(float) CompositeExtract 38 1 132 51: 6(float) CompositeExtract 38 2 133 52: 6(float) CompositeExtract 42 0 134 53: 6(float) CompositeExtract 42 1 135 54: 6(float) CompositeExtract 42 2 136 55: 6(float) CompositeExtract 46 0 137 56: 6(float) CompositeExtract 46 1 138 57: 6(float) CompositeExtract 46 2 139 58: 7(fvec3) CompositeConstruct 49 50 51 140 59: 7(fvec3) CompositeConstruct 52 53 54 141 60: 7(fvec3) CompositeConstruct 55 56 57 142 61: 8 CompositeConstruct 58 59 60 143 ReturnValue 61 144 FunctionEnd 145 26(mxv(mf44;vf3;): 7(fvec3) Function None 23 146 24(m4): 18(ptr) FunctionParameter 147 25(v): 10(ptr) FunctionParameter 148 27: Label 149 65(param): 18(ptr) Variable Function 150 64: 7(fvec3) Load 25(v) 151 66: 17 Load 24(m4) 152 Store 65(param) 66 153 67: 8 FunctionCall 21(Mat3(mf44;) 65(param) 154 68: 7(fvec3) VectorTimesMatrix 64 67 155 ReturnValue 68 156 FunctionEnd 157