1spv.debuginfo.glsl.vert 2Validation failed 3// Module Version 10000 4// Generated by (magic number): 8000b 5// Id's are bound by 374 6 7 Capability Shader 8 Extension "SPV_KHR_non_semantic_info" 9 1: ExtInstImport "NonSemantic.Shader.DebugInfo.100" 10 2: ExtInstImport "GLSL.std.450" 11 MemoryModel Logical GLSL450 12 EntryPoint Vertex 13 "main" 30 36 40 47 55 70 247 264 269 293 307 325 359 367 13 8: String "uint" 14 14: String "main" 15 17: String "" 16 25: String "float" 17 32: String "outColor" 18 38: String "inColor" 19 42: String "outUV" 20 49: String "inUV" 21 52: String "int" 22 57: String "instanceTexIndex" 23 66: String "s" 24 72: String "instanceRot" 25 84: String "modelview" 26 89: String "lightPos" 27 92: String "globSpeed" 28 96: String "UBO" 29 100: String "ubo" 30 109: String "c" 31 123: String "mx" 32 157: String "my" 33 185: String "mz" 34 201: String "rotMat" 35 225: String "gRotMat" 36 244: String "locPos" 37 249: String "inPos" 38 259: String "pos" 39 266: String "instanceScale" 40 271: String "instancePos" 41 282: String "gl_Position" 42 285: String "gl_PointSize" 43 287: String "gl_CullDistance" 44 290: String "gl_PerVertex" 45 309: String "outNormal" 46 327: String "inNormal" 47 342: String "lPos" 48 361: String "outLightVec" 49 369: String "outViewVec" 50 Name 13 "main" 51 Name 30 "outColor" 52 Name 36 "inColor" 53 Name 40 "outUV" 54 Name 47 "inUV" 55 Name 55 "instanceTexIndex" 56 Name 64 "s" 57 Name 70 "instanceRot" 58 Name 82 "UBO" 59 MemberName 82(UBO) 0 "projection" 60 MemberName 82(UBO) 1 "modelview" 61 MemberName 82(UBO) 2 "lightPos" 62 MemberName 82(UBO) 3 "locSpeed" 63 MemberName 82(UBO) 4 "globSpeed" 64 Name 98 "ubo" 65 Name 107 "c" 66 Name 121 "mx" 67 Name 155 "my" 68 Name 183 "mz" 69 Name 199 "rotMat" 70 Name 223 "gRotMat" 71 Name 242 "locPos" 72 Name 247 "inPos" 73 Name 257 "pos" 74 Name 264 "instanceScale" 75 Name 269 "instancePos" 76 Name 280 "gl_PerVertex" 77 MemberName 280(gl_PerVertex) 0 "gl_Position" 78 MemberName 280(gl_PerVertex) 1 "gl_PointSize" 79 MemberName 280(gl_PerVertex) 2 "gl_ClipDistance" 80 MemberName 280(gl_PerVertex) 3 "gl_CullDistance" 81 Name 293 "" 82 Name 307 "outNormal" 83 Name 325 "inNormal" 84 Name 340 "lPos" 85 Name 359 "outLightVec" 86 Name 367 "outViewVec" 87 Decorate 30(outColor) Location 1 88 Decorate 36(inColor) Location 3 89 Decorate 40(outUV) Location 2 90 Decorate 47(inUV) Location 2 91 Decorate 55(instanceTexIndex) Location 7 92 Decorate 70(instanceRot) Location 5 93 MemberDecorate 82(UBO) 0 ColMajor 94 MemberDecorate 82(UBO) 0 Offset 0 95 MemberDecorate 82(UBO) 0 MatrixStride 16 96 MemberDecorate 82(UBO) 1 ColMajor 97 MemberDecorate 82(UBO) 1 Offset 64 98 MemberDecorate 82(UBO) 1 MatrixStride 16 99 MemberDecorate 82(UBO) 2 Offset 128 100 MemberDecorate 82(UBO) 3 Offset 144 101 MemberDecorate 82(UBO) 4 Offset 148 102 Decorate 82(UBO) Block 103 Decorate 98(ubo) DescriptorSet 0 104 Decorate 98(ubo) Binding 0 105 Decorate 247(inPos) Location 0 106 Decorate 264(instanceScale) Location 6 107 Decorate 269(instancePos) Location 4 108 MemberDecorate 280(gl_PerVertex) 0 BuiltIn Position 109 MemberDecorate 280(gl_PerVertex) 1 BuiltIn PointSize 110 MemberDecorate 280(gl_PerVertex) 2 BuiltIn ClipDistance 111 MemberDecorate 280(gl_PerVertex) 3 BuiltIn CullDistance 112 Decorate 280(gl_PerVertex) Block 113 Decorate 307(outNormal) Location 0 114 Decorate 325(inNormal) Location 1 115 Decorate 359(outLightVec) Location 4 116 Decorate 367(outViewVec) Location 3 117 3: TypeVoid 118 4: TypeFunction 3 119 6: TypeInt 32 0 120 9: 6(int) Constant 32 121 10: 6(int) Constant 6 122 11: 6(int) Constant 0 123 7: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 2(RoundEven) 8 9 10 11 124 12: 6(int) Constant 3 125 5: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 8(Floor) 12 3 126 16: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 35(Modf) 0 17 127 19: 6(int) Constant 1 128 20: 6(int) Constant 4 129 21: 6(int) Constant 2 130 18: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 1(Round) 19 20 16 21 131 15: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 20(Cosh) 14 5 16 11 11 18 14 12 11 132 24: TypeFloat 32 133 26: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 2(RoundEven) 25 9 12 11 134 27: TypeVector 24(float) 3 135 28: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 6(FSign) 26 12 136 29: TypePointer Output 27(fvec3) 137 30(outColor): 29(ptr) Variable Output 138 33: 6(int) Constant 56 139 34: 6(int) Constant 8 140 31: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(Atan) 32 28 16 33 11 18 32 30(outColor) 34 141 35: TypePointer Input 27(fvec3) 142 36(inColor): 35(ptr) Variable Input 143 37: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(Atan) 38 28 16 33 11 18 38 36(inColor) 34 144 40(outUV): 29(ptr) Variable Output 145 43: 6(int) Constant 57 146 41: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(Atan) 42 28 16 43 11 18 42 40(outUV) 34 147 44: TypeVector 24(float) 2 148 45: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 6(FSign) 26 21 149 46: TypePointer Input 44(fvec2) 150 47(inUV): 46(ptr) Variable Input 151 48: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(Atan) 49 45 16 43 11 18 49 47(inUV) 34 152 51: TypeInt 32 1 153 53: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 2(RoundEven) 52 9 20 11 154 54: TypePointer Input 51(int) 15555(instanceTexIndex): 54(ptr) Variable Input 156 56: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(Atan) 57 53 16 43 11 18 57 55(instanceTexIndex) 34 157 63: TypePointer Function 24(float) 158 67: 6(int) Constant 62 159 65: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(Pow) 66 26 16 67 11 15 20 160 69: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 31(Sqrt) 161 70(instanceRot): 35(ptr) Variable Input 162 71: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(Atan) 72 28 16 67 11 18 72 70(instanceRot) 34 163 73: TypePointer Input 24(float) 164 76: TypeVector 24(float) 4 165 77: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 6(FSign) 26 20 166 78: TypeMatrix 76(fvec4) 4 167 80: TypeBool 168 81: 80(bool) ConstantTrue 169 79: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 108 77 20 81 170 82(UBO): TypeStruct 78 78 76(fvec4) 24(float) 24(float) 171 85: 6(int) Constant 42 172 86: 6(int) Constant 7 173 83: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(Radians) 84 79 16 85 86 11 11 12 174 87: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(Radians) 84 79 16 85 86 11 11 12 175 90: 6(int) Constant 43 176 88: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(Radians) 89 77 16 90 86 11 11 12 177 93: 6(int) Constant 45 178 91: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(Radians) 92 26 16 93 34 11 11 12 179 94: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(Radians) 92 26 16 93 34 11 11 12 180 95: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 10(Fract) 96 19 16 67 11 18 96 11 12 83 87 88 91 94 181 97: TypePointer Uniform 82(UBO) 182 98(ubo): 97(ptr) Variable Uniform 183 99: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(Atan) 100 95 16 67 11 18 100 98(ubo) 34 184 101: 51(int) Constant 3 185 102: TypePointer Uniform 24(float) 186 110: 6(int) Constant 63 187 108: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(Pow) 109 26 16 110 11 15 20 188 118: TypeMatrix 27(fvec3) 3 189 119: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 108 28 12 81 190 120: TypePointer Function 118 191 124: 6(int) Constant 65 192 122: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(Pow) 123 119 16 124 11 15 20 193 126: 51(int) Constant 0 194 129: 24(float) Constant 0 195 131: TypePointer Function 27(fvec3) 196 133: 51(int) Constant 1 197 139: 51(int) Constant 2 198 140: 24(float) Constant 1065353216 199 141: 27(fvec3) ConstantComposite 129 129 140 200 158: 6(int) Constant 73 201 156: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(Pow) 157 119 16 158 11 15 20 202 164: 27(fvec3) ConstantComposite 129 140 129 203 186: 6(int) Constant 81 204 184: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(Pow) 185 119 16 186 11 15 20 205 188: 27(fvec3) ConstantComposite 140 129 129 206 202: 6(int) Constant 85 207 200: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(Pow) 201 119 16 202 11 15 20 208 211: 51(int) Constant 4 209 222: TypePointer Function 78 210 226: 6(int) Constant 90 211 224: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(Pow) 225 79 16 226 11 15 20 212 231: TypePointer Function 76(fvec4) 213 233: 76(fvec4) ConstantComposite 129 140 129 129 214 240: 76(fvec4) ConstantComposite 129 129 129 140 215 245: 6(int) Constant 95 216 243: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(Pow) 244 77 16 245 11 15 20 217 247(inPos): 35(ptr) Variable Input 218 248: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(Atan) 249 28 16 245 11 18 249 247(inPos) 34 219 260: 6(int) Constant 96 220 258: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(Pow) 259 77 16 260 11 15 20 221264(instanceScale): 73(ptr) Variable Input 222 265: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(Atan) 266 26 16 260 11 18 266 264(instanceScale) 34 223269(instancePos): 35(ptr) Variable Input 224 270: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(Atan) 271 28 16 260 11 18 271 269(instancePos) 34 225 278: TypeArray 24(float) 19 226 279: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 5(SAbs) 26 19 227280(gl_PerVertex): TypeStruct 76(fvec4) 24(float) 278 278 228 283: 6(int) Constant 24 229 281: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(Radians) 282 77 16 19 283 11 11 12 230 284: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(Radians) 285 26 16 19 85 11 11 12 231 286: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(Radians) 287 279 16 19 202 11 11 12 232 288: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 11(Radians) 287 279 16 19 202 11 11 12 233 291: 6(int) Constant 98 234 289: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 10(Fract) 290 19 16 291 11 18 290 11 12 281 284 286 288 235 292: TypePointer Output 280(gl_PerVertex) 236 293: 292(ptr) Variable Output 237 294: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(Atan) 17 289 16 291 11 18 17 293 34 238 295: TypePointer Uniform 78 239 305: TypePointer Output 76(fvec4) 240 307(outNormal): 29(ptr) Variable Output 241 310: 6(int) Constant 99 242 308: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(Atan) 309 28 16 310 11 18 309 307(outNormal) 34 243 325(inNormal): 35(ptr) Variable Input 244 326: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(Atan) 327 28 16 310 11 18 327 325(inNormal) 34 245 343: 6(int) Constant 102 246 341: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 26(Pow) 342 28 16 343 11 15 20 247 354: TypePointer Uniform 76(fvec4) 248359(outLightVec): 29(ptr) Variable Output 249 362: 6(int) Constant 103 250 360: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(Atan) 361 28 16 362 11 18 361 359(outLightVec) 34 251 367(outViewVec): 29(ptr) Variable Output 252 370: 6(int) Constant 104 253 368: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 18(Atan) 369 28 16 370 11 18 369 367(outViewVec) 34 254 13(main): 3 Function None 4 255 22: Label 256 64(s): 63(ptr) Variable Function 257 107(c): 63(ptr) Variable Function 258 121(mx): 120(ptr) Variable Function 259 155(my): 120(ptr) Variable Function 260 183(mz): 120(ptr) Variable Function 261 199(rotMat): 120(ptr) Variable Function 262 223(gRotMat): 222(ptr) Variable Function 263 242(locPos): 231(ptr) Variable Function 264 257(pos): 231(ptr) Variable Function 265 340(lPos): 131(ptr) Variable Function 266 23: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 101 15 13(main) 267 39: 27(fvec3) Load 36(inColor) 268 Store 30(outColor) 39 269 50: 44(fvec2) Load 47(inUV) 270 58: 51(int) Load 55(instanceTexIndex) 271 59: 24(float) ConvertSToF 58 272 60: 24(float) CompositeExtract 50 0 273 61: 24(float) CompositeExtract 50 1 274 62: 27(fvec3) CompositeConstruct 60 61 59 275 Store 40(outUV) 62 276 68: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 28(Log) 65 64(s) 69 277 74: 73(ptr) AccessChain 70(instanceRot) 11 278 75: 24(float) Load 74 279 103: 102(ptr) AccessChain 98(ubo) 101 280 104: 24(float) Load 103 281 105: 24(float) FAdd 75 104 282 106: 24(float) ExtInst 2(GLSL.std.450) 13(Sin) 105 283 Store 64(s) 106 284 111: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 28(Log) 108 107(c) 69 285 112: 73(ptr) AccessChain 70(instanceRot) 11 286 113: 24(float) Load 112 287 114: 102(ptr) AccessChain 98(ubo) 101 288 115: 24(float) Load 114 289 116: 24(float) FAdd 113 115 290 117: 24(float) ExtInst 2(GLSL.std.450) 14(Cos) 116 291 Store 107(c) 117 292 125: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 28(Log) 122 121(mx) 69 293 127: 24(float) Load 107(c) 294 128: 24(float) Load 64(s) 295 130: 27(fvec3) CompositeConstruct 127 128 129 296 132: 131(ptr) AccessChain 121(mx) 126 297 Store 132 130 298 134: 24(float) Load 64(s) 299 135: 24(float) FNegate 134 300 136: 24(float) Load 107(c) 301 137: 27(fvec3) CompositeConstruct 135 136 129 302 138: 131(ptr) AccessChain 121(mx) 133 303 Store 138 137 304 142: 131(ptr) AccessChain 121(mx) 139 305 Store 142 141 306 143: 73(ptr) AccessChain 70(instanceRot) 19 307 144: 24(float) Load 143 308 145: 102(ptr) AccessChain 98(ubo) 101 309 146: 24(float) Load 145 310 147: 24(float) FAdd 144 146 311 148: 24(float) ExtInst 2(GLSL.std.450) 13(Sin) 147 312 Store 64(s) 148 313 149: 73(ptr) AccessChain 70(instanceRot) 19 314 150: 24(float) Load 149 315 151: 102(ptr) AccessChain 98(ubo) 101 316 152: 24(float) Load 151 317 153: 24(float) FAdd 150 152 318 154: 24(float) ExtInst 2(GLSL.std.450) 14(Cos) 153 319 Store 107(c) 154 320 159: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 28(Log) 156 155(my) 69 321 160: 24(float) Load 107(c) 322 161: 24(float) Load 64(s) 323 162: 27(fvec3) CompositeConstruct 160 129 161 324 163: 131(ptr) AccessChain 155(my) 126 325 Store 163 162 326 165: 131(ptr) AccessChain 155(my) 133 327 Store 165 164 328 166: 24(float) Load 64(s) 329 167: 24(float) FNegate 166 330 168: 24(float) Load 107(c) 331 169: 27(fvec3) CompositeConstruct 167 129 168 332 170: 131(ptr) AccessChain 155(my) 139 333 Store 170 169 334 171: 73(ptr) AccessChain 70(instanceRot) 21 335 172: 24(float) Load 171 336 173: 102(ptr) AccessChain 98(ubo) 101 337 174: 24(float) Load 173 338 175: 24(float) FAdd 172 174 339 176: 24(float) ExtInst 2(GLSL.std.450) 13(Sin) 175 340 Store 64(s) 176 341 177: 73(ptr) AccessChain 70(instanceRot) 21 342 178: 24(float) Load 177 343 179: 102(ptr) AccessChain 98(ubo) 101 344 180: 24(float) Load 179 345 181: 24(float) FAdd 178 180 346 182: 24(float) ExtInst 2(GLSL.std.450) 14(Cos) 181 347 Store 107(c) 182 348 187: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 28(Log) 184 183(mz) 69 349 189: 131(ptr) AccessChain 183(mz) 126 350 Store 189 188 351 190: 24(float) Load 107(c) 352 191: 24(float) Load 64(s) 353 192: 27(fvec3) CompositeConstruct 129 190 191 354 193: 131(ptr) AccessChain 183(mz) 133 355 Store 193 192 356 194: 24(float) Load 64(s) 357 195: 24(float) FNegate 194 358 196: 24(float) Load 107(c) 359 197: 27(fvec3) CompositeConstruct 129 195 196 360 198: 131(ptr) AccessChain 183(mz) 139 361 Store 198 197 362 203: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 28(Log) 200 199(rotMat) 69 363 204: 118 Load 183(mz) 364 205: 118 Load 155(my) 365 206: 118 MatrixTimesMatrix 204 205 366 207: 118 Load 121(mx) 367 208: 118 MatrixTimesMatrix 206 207 368 Store 199(rotMat) 208 369 209: 73(ptr) AccessChain 70(instanceRot) 19 370 210: 24(float) Load 209 371 212: 102(ptr) AccessChain 98(ubo) 211 372 213: 24(float) Load 212 373 214: 24(float) FAdd 210 213 374 215: 24(float) ExtInst 2(GLSL.std.450) 13(Sin) 214 375 Store 64(s) 215 376 216: 73(ptr) AccessChain 70(instanceRot) 19 377 217: 24(float) Load 216 378 218: 102(ptr) AccessChain 98(ubo) 211 379 219: 24(float) Load 218 380 220: 24(float) FAdd 217 219 381 221: 24(float) ExtInst 2(GLSL.std.450) 14(Cos) 220 382 Store 107(c) 221 383 227: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 28(Log) 224 223(gRotMat) 69 384 228: 24(float) Load 107(c) 385 229: 24(float) Load 64(s) 386 230: 76(fvec4) CompositeConstruct 228 129 229 129 387 232: 231(ptr) AccessChain 223(gRotMat) 126 388 Store 232 230 389 234: 231(ptr) AccessChain 223(gRotMat) 133 390 Store 234 233 391 235: 24(float) Load 64(s) 392 236: 24(float) FNegate 235 393 237: 24(float) Load 107(c) 394 238: 76(fvec4) CompositeConstruct 236 129 237 129 395 239: 231(ptr) AccessChain 223(gRotMat) 139 396 Store 239 238 397 241: 231(ptr) AccessChain 223(gRotMat) 101 398 Store 241 240 399 246: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 28(Log) 243 242(locPos) 69 400 250: 27(fvec3) Load 247(inPos) 401 251: 118 Load 199(rotMat) 402 252: 27(fvec3) VectorTimesMatrix 250 251 403 253: 24(float) CompositeExtract 252 0 404 254: 24(float) CompositeExtract 252 1 405 255: 24(float) CompositeExtract 252 2 406 256: 76(fvec4) CompositeConstruct 253 254 255 140 407 Store 242(locPos) 256 408 261: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 28(Log) 258 257(pos) 69 409 262: 76(fvec4) Load 242(locPos) 410 263: 27(fvec3) VectorShuffle 262 262 0 1 2 411 267: 24(float) Load 264(instanceScale) 412 268: 27(fvec3) VectorTimesScalar 263 267 413 272: 27(fvec3) Load 269(instancePos) 414 273: 27(fvec3) FAdd 268 272 415 274: 24(float) CompositeExtract 273 0 416 275: 24(float) CompositeExtract 273 1 417 276: 24(float) CompositeExtract 273 2 418 277: 76(fvec4) CompositeConstruct 274 275 276 140 419 Store 257(pos) 277 420 296: 295(ptr) AccessChain 98(ubo) 126 421 297: 78 Load 296 422 298: 295(ptr) AccessChain 98(ubo) 133 423 299: 78 Load 298 424 300: 78 MatrixTimesMatrix 297 299 425 301: 78 Load 223(gRotMat) 426 302: 78 MatrixTimesMatrix 300 301 427 303: 76(fvec4) Load 257(pos) 428 304: 76(fvec4) MatrixTimesVector 302 303 429 306: 305(ptr) AccessChain 293 126 430 Store 306 304 431 311: 295(ptr) AccessChain 98(ubo) 133 432 312: 78 Load 311 433 313: 78 Load 223(gRotMat) 434 314: 78 MatrixTimesMatrix 312 313 435 315: 76(fvec4) CompositeExtract 314 0 436 316: 27(fvec3) VectorShuffle 315 315 0 1 2 437 317: 76(fvec4) CompositeExtract 314 1 438 318: 27(fvec3) VectorShuffle 317 317 0 1 2 439 319: 76(fvec4) CompositeExtract 314 2 440 320: 27(fvec3) VectorShuffle 319 319 0 1 2 441 321: 118 CompositeConstruct 316 318 320 442 322: 118 Load 199(rotMat) 443 323: 118 ExtInst 2(GLSL.std.450) 34(MatrixInverse) 322 444 324: 118 MatrixTimesMatrix 321 323 445 328: 27(fvec3) Load 325(inNormal) 446 329: 27(fvec3) MatrixTimesVector 324 328 447 Store 307(outNormal) 329 448 330: 295(ptr) AccessChain 98(ubo) 133 449 331: 78 Load 330 450 332: 27(fvec3) Load 247(inPos) 451 333: 27(fvec3) Load 269(instancePos) 452 334: 27(fvec3) FAdd 332 333 453 335: 24(float) CompositeExtract 334 0 454 336: 24(float) CompositeExtract 334 1 455 337: 24(float) CompositeExtract 334 2 456 338: 76(fvec4) CompositeConstruct 335 336 337 140 457 339: 76(fvec4) MatrixTimesVector 331 338 458 Store 257(pos) 339 459 344: 3 ExtInst 1(NonSemantic.Shader.DebugInfo.100) 28(Log) 341 340(lPos) 69 460 345: 295(ptr) AccessChain 98(ubo) 133 461 346: 78 Load 345 462 347: 76(fvec4) CompositeExtract 346 0 463 348: 27(fvec3) VectorShuffle 347 347 0 1 2 464 349: 76(fvec4) CompositeExtract 346 1 465 350: 27(fvec3) VectorShuffle 349 349 0 1 2 466 351: 76(fvec4) CompositeExtract 346 2 467 352: 27(fvec3) VectorShuffle 351 351 0 1 2 468 353: 118 CompositeConstruct 348 350 352 469 355: 354(ptr) AccessChain 98(ubo) 139 470 356: 76(fvec4) Load 355 471 357: 27(fvec3) VectorShuffle 356 356 0 1 2 472 358: 27(fvec3) MatrixTimesVector 353 357 473 Store 340(lPos) 358 474 363: 27(fvec3) Load 340(lPos) 475 364: 76(fvec4) Load 257(pos) 476 365: 27(fvec3) VectorShuffle 364 364 0 1 2 477 366: 27(fvec3) FSub 363 365 478 Store 359(outLightVec) 366 479 371: 76(fvec4) Load 257(pos) 480 372: 27(fvec3) VectorShuffle 371 371 0 1 2 481 373: 27(fvec3) FNegate 372 482 Store 367(outViewVec) 373 483 Return 484 FunctionEnd 485