1 spv.300layout.vert 2 // Module Version 10000 3 // Generated by (magic number): 80007 4 // Id's are bound by 163 5 6 Capability Shader 7 1: ExtInstImport "GLSL.std.450" 8 MemoryModel Logical GLSL450 9 EntryPoint Vertex 4 "main" 9 11 98 100 108 114 120 128 10 Source ESSL 310 11 Name 4 "main" 12 Name 9 "pos" 13 Name 11 "p" 14 Name 17 "Transform" 15 MemberName 17(Transform) 0 "M1" 16 MemberName 17(Transform) 1 "M2" 17 MemberName 17(Transform) 2 "N1" 18 MemberName 17(Transform) 3 "iuin" 19 Name 19 "tblock" 20 Name 45 "T3" 21 MemberName 45(T3) 0 "M3" 22 MemberName 45(T3) 1 "M4" 23 MemberName 45(T3) 2 "N2" 24 MemberName 45(T3) 3 "uv3a" 25 Name 47 "" 26 Name 78 "T2" 27 MemberName 78(T2) 0 "b" 28 MemberName 78(T2) 1 "t2m" 29 Name 80 "" 30 Name 98 "color" 31 Name 100 "c" 32 Name 108 "iout" 33 Name 114 "uiuin" 34 Name 120 "aiv2" 35 Name 126 "S" 36 MemberName 126(S) 0 "c" 37 MemberName 126(S) 1 "f" 38 Name 128 "s" 39 Decorate 11(p) Location 3 40 MemberDecorate 17(Transform) 0 RowMajor 41 MemberDecorate 17(Transform) 0 Offset 0 42 MemberDecorate 17(Transform) 0 MatrixStride 16 43 MemberDecorate 17(Transform) 1 ColMajor 44 MemberDecorate 17(Transform) 1 Offset 64 45 MemberDecorate 17(Transform) 1 MatrixStride 16 46 MemberDecorate 17(Transform) 2 RowMajor 47 MemberDecorate 17(Transform) 2 Offset 128 48 MemberDecorate 17(Transform) 2 MatrixStride 16 49 MemberDecorate 17(Transform) 3 Offset 176 50 Decorate 17(Transform) Block 51 Decorate 19(tblock) DescriptorSet 0 52 Decorate 19(tblock) Binding 0 53 Decorate 44 ArrayStride 16 54 MemberDecorate 45(T3) 0 ColMajor 55 MemberDecorate 45(T3) 0 Offset 0 56 MemberDecorate 45(T3) 0 MatrixStride 16 57 MemberDecorate 45(T3) 1 RowMajor 58 MemberDecorate 45(T3) 1 Offset 64 59 MemberDecorate 45(T3) 1 MatrixStride 16 60 MemberDecorate 45(T3) 2 ColMajor 61 MemberDecorate 45(T3) 2 Offset 128 62 MemberDecorate 45(T3) 2 MatrixStride 16 63 MemberDecorate 45(T3) 3 Offset 2048 64 Decorate 45(T3) Block 65 Decorate 47 DescriptorSet 0 66 Decorate 47 Binding 0 67 MemberDecorate 78(T2) 0 Offset 0 68 MemberDecorate 78(T2) 1 RowMajor 69 MemberDecorate 78(T2) 1 Offset 16 70 MemberDecorate 78(T2) 1 MatrixStride 16 71 Decorate 78(T2) Block 72 Decorate 80 DescriptorSet 0 73 Decorate 80 Binding 0 74 Decorate 100(c) Location 7 75 Decorate 108(iout) Flat 76 Decorate 120(aiv2) Location 9 77 2: TypeVoid 78 3: TypeFunction 2 79 6: TypeFloat 32 80 7: TypeVector 6(float) 4 81 8: TypePointer Output 7(fvec4) 82 9(pos): 8(ptr) Variable Output 83 10: TypePointer Input 7(fvec4) 84 11(p): 10(ptr) Variable Input 85 13: TypeMatrix 7(fvec4) 4 86 14: TypeVector 6(float) 3 87 15: TypeMatrix 14(fvec3) 3 88 16: TypeInt 32 1 89 17(Transform): TypeStruct 13 13 15 16(int) 90 18: TypePointer Uniform 17(Transform) 91 19(tblock): 18(ptr) Variable Uniform 92 20: 16(int) Constant 0 93 21: TypePointer Uniform 13 94 24: 16(int) Constant 1 95 40: TypeMatrix 14(fvec3) 2 96 41: TypeInt 32 0 97 42: TypeVector 41(int) 3 98 43: 41(int) Constant 4 99 44: TypeArray 42(ivec3) 43 100 45(T3): TypeStruct 13 13 40 44 101 46: TypePointer Uniform 45(T3) 102 47: 46(ptr) Variable Uniform 103 78(T2): TypeStruct 41(int) 13 104 79: TypePointer Uniform 78(T2) 105 80: 79(ptr) Variable Uniform 106 97: TypePointer Output 14(fvec3) 107 98(color): 97(ptr) Variable Output 108 99: TypePointer Input 14(fvec3) 109 100(c): 99(ptr) Variable Input 110 102: 16(int) Constant 2 111 103: TypePointer Uniform 15 112 107: TypePointer Output 16(int) 113 108(iout): 107(ptr) Variable Output 114 109: 16(int) Constant 3 115 110: TypePointer Uniform 16(int) 116 113: TypePointer Input 41(int) 117 114(uiuin): 113(ptr) Variable Input 118 118: TypeVector 16(int) 2 119 119: TypePointer Input 118(ivec2) 120 120(aiv2): 119(ptr) Variable Input 121 121: 41(int) Constant 1 122 122: TypePointer Input 16(int) 123 126(S): TypeStruct 14(fvec3) 6(float) 124 127: TypePointer Output 126(S) 125 128(s): 127(ptr) Variable Output 126 131: 41(int) Constant 0 127 132: TypePointer Input 6(float) 128 135: TypePointer Output 6(float) 129 137: TypeBool 130 138: TypePointer Uniform 14(fvec3) 131 141: 6(float) Constant 1065353216 132 142: 14(fvec3) ConstantComposite 141 141 141 133 143: TypeVector 137(bool) 3 134 149: TypePointer Uniform 42(ivec3) 135 152: 41(int) Constant 5 136 153: 42(ivec3) ConstantComposite 152 152 152 137 4(main): 2 Function None 3 138 5: Label 139 12: 7(fvec4) Load 11(p) 140 22: 21(ptr) AccessChain 19(tblock) 20 141 23: 13 Load 22 142 25: 21(ptr) AccessChain 19(tblock) 24 143 26: 13 Load 25 144 27: 7(fvec4) CompositeExtract 23 0 145 28: 7(fvec4) CompositeExtract 26 0 146 29: 7(fvec4) FAdd 27 28 147 30: 7(fvec4) CompositeExtract 23 1 148 31: 7(fvec4) CompositeExtract 26 1 149 32: 7(fvec4) FAdd 30 31 150 33: 7(fvec4) CompositeExtract 23 2 151 34: 7(fvec4) CompositeExtract 26 2 152 35: 7(fvec4) FAdd 33 34 153 36: 7(fvec4) CompositeExtract 23 3 154 37: 7(fvec4) CompositeExtract 26 3 155 38: 7(fvec4) FAdd 36 37 156 39: 13 CompositeConstruct 29 32 35 38 157 48: 21(ptr) AccessChain 47 24 158 49: 13 Load 48 159 50: 7(fvec4) CompositeExtract 39 0 160 51: 7(fvec4) CompositeExtract 49 0 161 52: 7(fvec4) FAdd 50 51 162 53: 7(fvec4) CompositeExtract 39 1 163 54: 7(fvec4) CompositeExtract 49 1 164 55: 7(fvec4) FAdd 53 54 165 56: 7(fvec4) CompositeExtract 39 2 166 57: 7(fvec4) CompositeExtract 49 2 167 58: 7(fvec4) FAdd 56 57 168 59: 7(fvec4) CompositeExtract 39 3 169 60: 7(fvec4) CompositeExtract 49 3 170 61: 7(fvec4) FAdd 59 60 171 62: 13 CompositeConstruct 52 55 58 61 172 63: 21(ptr) AccessChain 47 20 173 64: 13 Load 63 174 65: 7(fvec4) CompositeExtract 62 0 175 66: 7(fvec4) CompositeExtract 64 0 176 67: 7(fvec4) FAdd 65 66 177 68: 7(fvec4) CompositeExtract 62 1 178 69: 7(fvec4) CompositeExtract 64 1 179 70: 7(fvec4) FAdd 68 69 180 71: 7(fvec4) CompositeExtract 62 2 181 72: 7(fvec4) CompositeExtract 64 2 182 73: 7(fvec4) FAdd 71 72 183 74: 7(fvec4) CompositeExtract 62 3 184 75: 7(fvec4) CompositeExtract 64 3 185 76: 7(fvec4) FAdd 74 75 186 77: 13 CompositeConstruct 67 70 73 76 187 81: 21(ptr) AccessChain 80 24 188 82: 13 Load 81 189 83: 7(fvec4) CompositeExtract 77 0 190 84: 7(fvec4) CompositeExtract 82 0 191 85: 7(fvec4) FAdd 83 84 192 86: 7(fvec4) CompositeExtract 77 1 193 87: 7(fvec4) CompositeExtract 82 1 194 88: 7(fvec4) FAdd 86 87 195 89: 7(fvec4) CompositeExtract 77 2 196 90: 7(fvec4) CompositeExtract 82 2 197 91: 7(fvec4) FAdd 89 90 198 92: 7(fvec4) CompositeExtract 77 3 199 93: 7(fvec4) CompositeExtract 82 3 200 94: 7(fvec4) FAdd 92 93 201 95: 13 CompositeConstruct 85 88 91 94 202 96: 7(fvec4) VectorTimesMatrix 12 95 203 Store 9(pos) 96 204 101: 14(fvec3) Load 100(c) 205 104: 103(ptr) AccessChain 19(tblock) 102 206 105: 15 Load 104 207 106: 14(fvec3) VectorTimesMatrix 101 105 208 Store 98(color) 106 209 111: 110(ptr) AccessChain 19(tblock) 109 210 112: 16(int) Load 111 211 115: 41(int) Load 114(uiuin) 212 116: 16(int) Bitcast 115 213 117: 16(int) IAdd 112 116 214 123: 122(ptr) AccessChain 120(aiv2) 121 215 124: 16(int) Load 123 216 125: 16(int) IAdd 117 124 217 Store 108(iout) 125 218 129: 14(fvec3) Load 100(c) 219 130: 97(ptr) AccessChain 128(s) 20 220 Store 130 129 221 133: 132(ptr) AccessChain 11(p) 131 222 134: 6(float) Load 133 223 136: 135(ptr) AccessChain 128(s) 24 224 Store 136 134 225 139: 138(ptr) AccessChain 47 102 24 226 140: 14(fvec3) Load 139 227 144: 143(bvec3) FOrdNotEqual 140 142 228 145: 137(bool) Any 144 229 146: 137(bool) LogicalNot 145 230 SelectionMerge 148 None 231 BranchConditional 146 147 148 232 147: Label 233 150: 149(ptr) AccessChain 47 109 102 234 151: 42(ivec3) Load 150 235 154: 143(bvec3) INotEqual 151 153 236 155: 137(bool) Any 154 237 Branch 148 238 148: Label 239 156: 137(bool) Phi 145 5 155 147 240 SelectionMerge 158 None 241 BranchConditional 156 157 158 242 157: Label 243 159: 97(ptr) AccessChain 128(s) 20 244 160: 14(fvec3) Load 159 245 161: 14(fvec3) CompositeConstruct 141 141 141 246 162: 14(fvec3) FAdd 160 161 247 Store 159 162 248 Branch 158 249 158: Label 250 Return 251 FunctionEnd 252