1spv.debuginfo.hlsl.comp 2// Module Version 10000 3// Generated by (magic number): 8000b 4// Id's are bound by 953 5 6 Capability Shader 7 Extension "SPV_KHR_non_semantic_info" 8 2: ExtInstImport "NonSemantic.Shader.DebugInfo.100" 9 3: ExtInstImport "GLSL.std.450" 10 MemoryModel Logical GLSL450 11 EntryPoint GLCompute 6 "main" 948 12 ExecutionMode 6 LocalSize 10 10 1 13 1: String "" 14 9: String "float" 15 12: String "uint" 16 29: String "springForce" 17 32: String "// OpModuleProcessed auto-map-locations 18// OpModuleProcessed auto-map-bindings 19// OpModuleProcessed entry-point main 20// OpModuleProcessed client vulkan100 21// OpModuleProcessed target-env vulkan1.0 22// OpModuleProcessed keep-uncalled 23// OpModuleProcessed hlsl-offsets 24#line 1 25" 26 41: String "p0" 27 45: String "p1" 28 49: String "restDist" 29 59: String "@main" 30 65: String "id" 31 73: String "dist" 32 85: String "int" 33 91: String "sphereRadius" 34 102: String "gravity" 35 107: String "particleCount" 36 110: String "UBO" 37 113: String "params" 38 117: String "ubo" 39 142: String "index" 40 165: String "bool" 41 179: String "normal" 42 186: String "pinned" 43 190: String "Particle" 44 195: String "@data" 45 199: String "particleIn" 46 220: String "particleOut" 47 245: String "force" 48 258: String "pos" 49 268: String "vel" 50 552: String "f" 51 601: String "sphereDist" 52 653: String "calculateNormals" 53 657: String "PushConstants" 54 660: String "pushConstants" 55 663: String "$Global" 56 700: String "a" 57 713: String "b" 58 730: String "c" 59 Name 6 "main" 60 Name 27 "springForce(vf3;vf3;f1;" 61 Name 24 "p0" 62 Name 25 "p1" 63 Name 26 "restDist" 64 Name 57 "@main(vu3;" 65 Name 56 "id" 66 Name 71 "dist" 67 Name 89 "UBO" 68 MemberName 89(UBO) 0 "deltaT" 69 MemberName 89(UBO) 1 "particleMass" 70 MemberName 89(UBO) 2 "springStiffness" 71 MemberName 89(UBO) 3 "damping" 72 MemberName 89(UBO) 4 "restDistH" 73 MemberName 89(UBO) 5 "restDistV" 74 MemberName 89(UBO) 6 "restDistD" 75 MemberName 89(UBO) 7 "sphereRadius" 76 MemberName 89(UBO) 8 "spherePos" 77 MemberName 89(UBO) 9 "gravity" 78 MemberName 89(UBO) 10 "particleCount" 79 Name 111 "ubo" 80 MemberName 111(ubo) 0 "params" 81 Name 119 "" 82 Name 140 "index" 83 Name 177 "Particle" 84 MemberName 177(Particle) 0 "pos" 85 MemberName 177(Particle) 1 "vel" 86 MemberName 177(Particle) 2 "uv" 87 MemberName 177(Particle) 3 "normal" 88 MemberName 177(Particle) 4 "pinned" 89 Name 193 "particleIn" 90 MemberName 193(particleIn) 0 "@data" 91 Name 201 "particleIn" 92 Name 216 "particleOut" 93 MemberName 216(particleOut) 0 "@data" 94 Name 222 "particleOut" 95 Name 243 "force" 96 Name 256 "pos" 97 Name 266 "vel" 98 Name 286 "param" 99 Name 290 "param" 100 Name 292 "param" 101 Name 315 "param" 102 Name 319 "param" 103 Name 321 "param" 104 Name 348 "param" 105 Name 352 "param" 106 Name 354 "param" 107 Name 376 "param" 108 Name 380 "param" 109 Name 382 "param" 110 Name 414 "param" 111 Name 418 "param" 112 Name 420 "param" 113 Name 447 "param" 114 Name 451 "param" 115 Name 453 "param" 116 Name 488 "param" 117 Name 492 "param" 118 Name 494 "param" 119 Name 525 "param" 120 Name 529 "param" 121 Name 531 "param" 122 Name 550 "f" 123 Name 599 "sphereDist" 124 Name 651 "PushConstants" 125 MemberName 651(PushConstants) 0 "calculateNormals" 126 Name 658 "$Global" 127 MemberName 658($Global) 0 "pushConstants" 128 Name 665 "" 129 Name 676 "normal" 130 Name 698 "a" 131 Name 711 "b" 132 Name 728 "c" 133 Name 946 "id" 134 Name 948 "id" 135 Name 950 "param" 136 MemberDecorate 89(UBO) 0 Offset 0 137 MemberDecorate 89(UBO) 1 Offset 4 138 MemberDecorate 89(UBO) 2 Offset 8 139 MemberDecorate 89(UBO) 3 Offset 12 140 MemberDecorate 89(UBO) 4 Offset 16 141 MemberDecorate 89(UBO) 5 Offset 20 142 MemberDecorate 89(UBO) 6 Offset 24 143 MemberDecorate 89(UBO) 7 Offset 28 144 MemberDecorate 89(UBO) 8 Offset 32 145 MemberDecorate 89(UBO) 9 Offset 48 146 MemberDecorate 89(UBO) 10 Offset 64 147 MemberDecorate 111(ubo) 0 Offset 0 148 Decorate 111(ubo) Block 149 Decorate 119 DescriptorSet 0 150 Decorate 119 Binding 2 151 MemberDecorate 177(Particle) 0 Offset 0 152 MemberDecorate 177(Particle) 1 Offset 16 153 MemberDecorate 177(Particle) 2 Offset 32 154 MemberDecorate 177(Particle) 3 Offset 48 155 MemberDecorate 177(Particle) 4 Offset 64 156 Decorate 191 ArrayStride 80 157 MemberDecorate 193(particleIn) 0 NonWritable 158 MemberDecorate 193(particleIn) 0 Offset 0 159 Decorate 193(particleIn) BufferBlock 160 Decorate 201(particleIn) DescriptorSet 0 161 Decorate 201(particleIn) Binding 0 162 Decorate 214 ArrayStride 80 163 MemberDecorate 216(particleOut) 0 Offset 0 164 Decorate 216(particleOut) BufferBlock 165 Decorate 222(particleOut) DescriptorSet 0 166 Decorate 222(particleOut) Binding 1 167 MemberDecorate 651(PushConstants) 0 Offset 0 168 MemberDecorate 658($Global) 0 Offset 0 169 Decorate 658($Global) Block 170 Decorate 665 DescriptorSet 0 171 Decorate 665 Binding 3 172 Decorate 948(id) BuiltIn GlobalInvocationId 173 4: TypeVoid 174 5: TypeFunction 4 175 8: TypeFloat 32 176 11: TypeInt 32 0 177 14: 11(int) Constant 32 178 15: 11(int) Constant 6 179 16: 11(int) Constant 0 180 13: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 12 14 15 16 181 17: 11(int) Constant 3 182 10: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 9 14 17 16 183 18: TypeVector 8(float) 3 184 19: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 10 17 185 20: TypePointer Function 18(fvec3) 186 21: TypePointer Function 8(float) 187 22: TypeFunction 18(fvec3) 20(ptr) 20(ptr) 21(ptr) 188 23: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 8(DebugTypeFunction) 17 19 19 19 10 189 31: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 35(DebugSource) 1 32 190 33: 11(int) Constant 75 191 35: 11(int) Constant 1 192 36: 11(int) Constant 4 193 37: 11(int) Constant 5 194 34: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 1(DebugCompilationUnit) 35 36 31 37 195 30: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 20(DebugFunction) 29 23 31 33 16 34 29 17 33 196 40: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 41 19 31 33 16 30 36 35 197 43: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 31(DebugExpression) 198 46: 11(int) Constant 2 199 44: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 45 19 31 33 16 30 36 46 200 48: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 49 10 31 33 16 30 36 17 201 51: TypeVector 11(int) 3 202 52: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 13 17 203 53: TypePointer Function 51(ivec3) 204 54: TypeFunction 4 53(ptr) 205 55: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 8(DebugTypeFunction) 17 4 52 206 61: 11(int) Constant 82 207 60: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 20(DebugFunction) 59 55 31 61 16 34 59 17 61 208 64: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 65 52 31 61 16 60 36 35 209 70: 11(int) Constant 76 210 72: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 73 19 31 70 16 30 36 211 79: 11(int) Constant 77 212 82: TypeVector 8(float) 4 213 83: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 10 36 214 84: TypeInt 32 1 215 86: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 85 14 36 16 216 87: TypeVector 84(int) 2 217 88: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 6(DebugTypeVector) 86 46 218 89(UBO): TypeStruct 8(float) 8(float) 8(float) 8(float) 8(float) 8(float) 8(float) 8(float) 82(fvec4) 82(fvec4) 87(ivec2) 219 92: 11(int) Constant 48 220 93: 11(int) Constant 20 221 90: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 91 10 31 92 93 16 16 17 222 94: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 91 10 31 92 93 16 16 17 223 95: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 91 10 31 92 93 16 16 17 224 96: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 91 10 31 92 93 16 16 17 225 97: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 91 10 31 92 93 16 16 17 226 98: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 91 10 31 92 93 16 16 17 227 99: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 91 10 31 92 93 16 16 17 228 100: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 91 10 31 92 93 16 16 17 229 103: 11(int) Constant 50 230 104: 11(int) Constant 16 231 101: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 102 83 31 103 104 16 16 17 232 105: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 102 83 31 103 104 16 16 17 233 108: 11(int) Constant 51 234 106: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 107 88 31 108 93 16 16 17 235 109: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 110 35 31 79 16 34 110 16 17 90 94 95 96 97 98 99 100 101 105 106 236 111(ubo): TypeStruct 89(UBO) 237 114: 11(int) Constant 56 238 115: 11(int) Constant 12 239 112: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 113 109 31 114 115 16 16 17 240 116: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 117 35 31 79 16 34 117 16 17 112 241 118: TypePointer Uniform 111(ubo) 242 119: 118(ptr) Variable Uniform 243 121: 11(int) Constant 8 244 120: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 1 116 31 79 16 34 1 119 121 245 122: 84(int) Constant 0 246 123: 84(int) Constant 2 247 124: TypePointer Uniform 8(float) 248 138: 11(int) Constant 83 249 139: TypePointer Function 11(int) 250 141: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 142 13 31 138 16 60 36 251 146: 84(int) Constant 10 252 147: TypePointer Uniform 84(int) 253 156: 11(int) Constant 84 254 164: TypeBool 255 166: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 2(DebugTypeBasic) 165 14 46 16 256 172: 11(int) Constant 85 257 176: 11(int) Constant 88 258 177(Particle): TypeStruct 82(fvec4) 82(fvec4) 82(fvec4) 82(fvec4) 8(float) 259 180: 11(int) Constant 30 260 181: 11(int) Constant 15 261 178: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 179 83 31 180 181 16 16 17 262 182: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 179 83 31 180 181 16 16 17 263 183: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 179 83 31 180 181 16 16 17 264 184: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 179 83 31 180 181 16 16 17 265 187: 11(int) Constant 31 266 188: 11(int) Constant 14 267 185: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 186 10 31 187 188 16 16 17 268 189: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 190 35 31 176 16 34 190 16 17 178 182 183 184 185 269 191: TypeRuntimeArray 177(Particle) 270 192: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 189 16 271 193(particleIn): TypeStruct 191 272 196: 11(int) Constant 35 273 197: 11(int) Constant 28 274 194: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 195 192 31 196 197 16 16 17 275 198: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 199 35 31 176 16 34 199 16 17 194 276 200: TypePointer Uniform 193(particleIn) 277 201(particleIn): 200(ptr) Variable Uniform 278 202: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 199 198 31 176 16 34 199 201(particleIn) 121 279 204: 84(int) Constant 4 280 207: 8(float) Constant 1065353216 281 213: 11(int) Constant 89 282 214: TypeRuntimeArray 177(Particle) 283 215: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 5(DebugTypeArray) 189 16 284216(particleOut): TypeStruct 214 285 218: 11(int) Constant 37 286 217: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 195 215 31 218 180 16 16 17 287 219: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 220 35 31 213 16 34 220 16 17 217 288 221: TypePointer Uniform 216(particleOut) 289222(particleOut): 221(ptr) Variable Uniform 290 223: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 220 219 31 213 16 34 220 222(particleOut) 121 291 226: TypePointer Uniform 82(fvec4) 292 231: 11(int) Constant 90 293 233: 84(int) Constant 1 294 234: 8(float) Constant 0 295 235: 82(fvec4) ConstantComposite 234 234 234 234 296 238: 11(int) Constant 91 297 242: 11(int) Constant 95 298 244: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 245 19 31 242 16 60 36 299 247: 84(int) Constant 9 300 255: 11(int) Constant 97 301 257: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 258 19 31 255 16 60 36 302 265: 11(int) Constant 98 303 267: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 268 19 31 265 16 60 36 304 275: 11(int) Constant 102 305 283: 11(int) Constant 103 306 300: 11(int) Constant 106 307 312: 11(int) Constant 107 308 329: 11(int) Constant 110 309 341: 11(int) Constant 111 310 347: 84(int) Constant 5 311 362: 11(int) Constant 114 312 370: 11(int) Constant 115 313 390: 11(int) Constant 118 314 406: 11(int) Constant 119 315 413: 84(int) Constant 6 316 428: 11(int) Constant 122 317 440: 11(int) Constant 123 318 461: 11(int) Constant 126 319 481: 11(int) Constant 127 320 502: 11(int) Constant 130 321 518: 11(int) Constant 131 322 539: 11(int) Constant 134 323 540: 84(int) Constant 3 324 549: 11(int) Constant 137 325 551: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 552 19 31 549 16 60 36 326 560: 11(int) Constant 138 327 568: 8(float) Constant 1056964608 328 584: 11(int) Constant 139 329 598: 11(int) Constant 142 330 600: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 601 19 31 598 16 60 36 331 607: 84(int) Constant 8 332 613: 11(int) Constant 143 333 616: 84(int) Constant 7 334 619: 8(float) Constant 1008981770 335 626: 11(int) Constant 145 336 645: 11(int) Constant 147 337 650: 11(int) Constant 151 338651(PushConstants): TypeStruct 11(int) 339 654: 11(int) Constant 67 340 655: 11(int) Constant 23 341 652: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 653 13 31 654 655 16 16 17 342 656: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 657 35 31 650 16 34 657 16 17 652 343 658($Global): TypeStruct 651(PushConstants) 344 661: 11(int) Constant 71 345 659: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 11(DebugTypeMember) 660 656 31 661 181 16 16 17 346 662: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 10(DebugTypeComposite) 663 35 31 650 16 34 663 16 17 659 347 664: TypePointer Uniform 658($Global) 348 665: 664(ptr) Variable Uniform 349 666: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 18(DebugGlobalVariable) 1 662 31 650 16 34 1 665 121 350 667: TypePointer Uniform 11(int) 351 675: 11(int) Constant 152 352 677: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 179 19 31 675 16 60 36 353 679: 18(fvec3) ConstantComposite 234 234 234 354 681: 11(int) Constant 154 355 689: 11(int) Constant 155 356 697: 11(int) Constant 156 357 699: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 700 19 31 697 16 60 36 358 710: 11(int) Constant 157 359 712: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 713 19 31 710 16 60 36 360 727: 11(int) Constant 158 361 729: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 26(DebugLocalVariable) 730 19 31 727 16 60 36 362 743: 11(int) Constant 159 363 755: 11(int) Constant 161 364 767: 11(int) Constant 162 365 779: 11(int) Constant 163 366 792: 11(int) Constant 164 367 801: 11(int) Constant 165 368 813: 11(int) Constant 168 369 825: 11(int) Constant 169 370 833: 11(int) Constant 170 371 845: 11(int) Constant 171 372 858: 11(int) Constant 172 373 867: 11(int) Constant 173 374 879: 11(int) Constant 175 375 891: 11(int) Constant 176 376 900: 11(int) Constant 177 377 913: 11(int) Constant 178 378 925: 11(int) Constant 179 379 937: 11(int) Constant 182 380 947: TypePointer Input 51(ivec3) 381 948(id): 947(ptr) Variable Input 382 Line 1 82 1 383 6(main): 4 Function None 5 384 7: Label 385 946(id): 53(ptr) Variable Function 386 950(param): 53(ptr) Variable Function 387 Line 1 82 0 388 949: 51(ivec3) Load 948(id) 389 Store 946(id) 949 390 951: 51(ivec3) Load 946(id) 391 Store 950(param) 951 392 952: 4 FunctionCall 57(@main(vu3;) 950(param) 393 Return 394 FunctionEnd 395 Line 1 75 1 39627(springForce(vf3;vf3;f1;): 18(fvec3) Function None 22 397 24(p0): 20(ptr) FunctionParameter 398 25(p1): 20(ptr) FunctionParameter 399 26(restDist): 21(ptr) FunctionParameter 400 28: Label 401 71(dist): 20(ptr) Variable Function 402 38: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 30 403 39: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 33 33 16 16 404 42: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 40 24(p0) 43 405 47: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 44 25(p1) 43 406 50: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 48 26(restDist) 43 407 67: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 101(DebugFunctionDefinition) 30 27(springForce(vf3;vf3;f1;) 408 68: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 30 409 69: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 70 70 16 16 410 74: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 72 71(dist) 43 411 75: 18(fvec3) Load 24(p0) 412 76: 18(fvec3) Load 25(p1) 413 77: 18(fvec3) FSub 75 76 414 Store 71(dist) 77 415 78: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 79 79 16 16 416 80: 18(fvec3) Load 71(dist) 417 81: 18(fvec3) ExtInst 3(GLSL.std.450) 69(Normalize) 80 418 125: 124(ptr) AccessChain 119 122 123 419 126: 8(float) Load 125 420 127: 18(fvec3) VectorTimesScalar 81 126 421 128: 18(fvec3) Load 71(dist) 422 129: 8(float) ExtInst 3(GLSL.std.450) 66(Length) 128 423 130: 8(float) Load 26(restDist) 424 131: 8(float) FSub 129 130 425 132: 18(fvec3) VectorTimesScalar 127 131 426 ReturnValue 132 427 FunctionEnd 428 Line 1 82 1 429 57(@main(vu3;): 4 Function None 54 430 56(id): 53(ptr) FunctionParameter 431 58: Label 432 140(index): 139(ptr) Variable Function 433 243(force): 20(ptr) Variable Function 434 256(pos): 20(ptr) Variable Function 435 266(vel): 20(ptr) Variable Function 436 286(param): 20(ptr) Variable Function 437 290(param): 20(ptr) Variable Function 438 292(param): 21(ptr) Variable Function 439 315(param): 20(ptr) Variable Function 440 319(param): 20(ptr) Variable Function 441 321(param): 21(ptr) Variable Function 442 348(param): 20(ptr) Variable Function 443 352(param): 20(ptr) Variable Function 444 354(param): 21(ptr) Variable Function 445 376(param): 20(ptr) Variable Function 446 380(param): 20(ptr) Variable Function 447 382(param): 21(ptr) Variable Function 448 414(param): 20(ptr) Variable Function 449 418(param): 20(ptr) Variable Function 450 420(param): 21(ptr) Variable Function 451 447(param): 20(ptr) Variable Function 452 451(param): 20(ptr) Variable Function 453 453(param): 21(ptr) Variable Function 454 488(param): 20(ptr) Variable Function 455 492(param): 20(ptr) Variable Function 456 494(param): 21(ptr) Variable Function 457 525(param): 20(ptr) Variable Function 458 529(param): 20(ptr) Variable Function 459 531(param): 21(ptr) Variable Function 460 550(f): 20(ptr) Variable Function 461 599(sphereDist): 20(ptr) Variable Function 462 676(normal): 20(ptr) Variable Function 463 698(a): 20(ptr) Variable Function 464 711(b): 20(ptr) Variable Function 465 728(c): 20(ptr) Variable Function 466 62: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 60 467 63: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 61 61 16 16 468 66: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 64 56(id) 43 469 135: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 101(DebugFunctionDefinition) 60 57(@main(vu3;) 470 136: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 60 471 137: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 138 138 16 16 472 143: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 141 140(index) 43 473 144: 139(ptr) AccessChain 56(id) 35 474 145: 11(int) Load 144 475 148: 147(ptr) AccessChain 119 122 146 16 476 149: 84(int) Load 148 477 150: 11(int) Bitcast 149 478 151: 11(int) IMul 145 150 479 152: 139(ptr) AccessChain 56(id) 16 480 153: 11(int) Load 152 481 154: 11(int) IAdd 151 153 482 Store 140(index) 154 483 155: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 156 156 16 16 484 157: 11(int) Load 140(index) 485 158: 147(ptr) AccessChain 119 122 146 16 486 159: 84(int) Load 158 487 160: 147(ptr) AccessChain 119 122 146 35 488 161: 84(int) Load 160 489 162: 84(int) IMul 159 161 490 163: 11(int) Bitcast 162 491 167: 164(bool) UGreaterThan 157 163 492 SelectionMerge 169 None 493 BranchConditional 167 168 169 494 168: Label 495 170: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 60 496 171: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 172 172 16 16 497 Return 498 169: Label 499 174: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 60 500 175: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 176 176 16 16 501 203: 11(int) Load 140(index) 502 205: 124(ptr) AccessChain 201(particleIn) 122 203 204 503 206: 8(float) Load 205 504 208: 164(bool) FOrdEqual 206 207 505 SelectionMerge 210 None 506 BranchConditional 208 209 210 507 209: Label 508 211: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 60 509 212: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 213 213 16 16 510 224: 11(int) Load 140(index) 511 225: 11(int) Load 140(index) 512 227: 226(ptr) AccessChain 222(particleOut) 122 225 122 513 228: 82(fvec4) Load 227 514 229: 226(ptr) AccessChain 222(particleOut) 122 224 122 515 Store 229 228 516 230: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 231 231 16 16 517 232: 11(int) Load 140(index) 518 236: 226(ptr) AccessChain 222(particleOut) 122 232 233 519 Store 236 235 520 237: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 238 238 16 16 521 Return 522 210: Label 523 240: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 60 524 241: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 242 242 16 16 525 246: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 244 243(force) 43 526 248: 226(ptr) AccessChain 119 122 247 527 249: 82(fvec4) Load 248 528 250: 18(fvec3) VectorShuffle 249 249 0 1 2 529 251: 124(ptr) AccessChain 119 122 233 530 252: 8(float) Load 251 531 253: 18(fvec3) VectorTimesScalar 250 252 532 Store 243(force) 253 533 254: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 255 255 16 16 534 259: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 257 256(pos) 43 535 260: 11(int) Load 140(index) 536 261: 226(ptr) AccessChain 201(particleIn) 122 260 122 537 262: 82(fvec4) Load 261 538 263: 18(fvec3) VectorShuffle 262 262 0 1 2 539 Store 256(pos) 263 540 264: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 265 265 16 16 541 269: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 267 266(vel) 43 542 270: 11(int) Load 140(index) 543 271: 226(ptr) AccessChain 201(particleIn) 122 270 233 544 272: 82(fvec4) Load 271 545 273: 18(fvec3) VectorShuffle 272 272 0 1 2 546 Store 266(vel) 273 547 274: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 275 275 16 16 548 276: 139(ptr) AccessChain 56(id) 16 549 277: 11(int) Load 276 550 278: 164(bool) UGreaterThan 277 16 551 SelectionMerge 280 None 552 BranchConditional 278 279 280 553 279: Label 554 281: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 60 555 282: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 283 283 16 16 556 284: 11(int) Load 140(index) 557 285: 11(int) ISub 284 35 558 287: 226(ptr) AccessChain 201(particleIn) 122 285 122 559 288: 82(fvec4) Load 287 560 289: 18(fvec3) VectorShuffle 288 288 0 1 2 561 Store 286(param) 289 562 291: 18(fvec3) Load 256(pos) 563 Store 290(param) 291 564 293: 124(ptr) AccessChain 119 122 204 565 294: 8(float) Load 293 566 Store 292(param) 294 567 295: 18(fvec3) FunctionCall 27(springForce(vf3;vf3;f1;) 286(param) 290(param) 292(param) 568 296: 18(fvec3) Load 243(force) 569 297: 18(fvec3) FAdd 296 295 570 Store 243(force) 297 571 Branch 280 572 280: Label 573 298: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 60 574 299: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 300 300 16 16 575 301: 139(ptr) AccessChain 56(id) 16 576 302: 11(int) Load 301 577 303: 147(ptr) AccessChain 119 122 146 16 578 304: 84(int) Load 303 579 305: 84(int) ISub 304 233 580 306: 11(int) Bitcast 305 581 307: 164(bool) ULessThan 302 306 582 SelectionMerge 309 None 583 BranchConditional 307 308 309 584 308: Label 585 310: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 60 586 311: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 312 312 16 16 587 313: 11(int) Load 140(index) 588 314: 11(int) IAdd 313 35 589 316: 226(ptr) AccessChain 201(particleIn) 122 314 122 590 317: 82(fvec4) Load 316 591 318: 18(fvec3) VectorShuffle 317 317 0 1 2 592 Store 315(param) 318 593 320: 18(fvec3) Load 256(pos) 594 Store 319(param) 320 595 322: 124(ptr) AccessChain 119 122 204 596 323: 8(float) Load 322 597 Store 321(param) 323 598 324: 18(fvec3) FunctionCall 27(springForce(vf3;vf3;f1;) 315(param) 319(param) 321(param) 599 325: 18(fvec3) Load 243(force) 600 326: 18(fvec3) FAdd 325 324 601 Store 243(force) 326 602 Branch 309 603 309: Label 604 327: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 60 605 328: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 329 329 16 16 606 330: 139(ptr) AccessChain 56(id) 35 607 331: 11(int) Load 330 608 332: 147(ptr) AccessChain 119 122 146 35 609 333: 84(int) Load 332 610 334: 84(int) ISub 333 233 611 335: 11(int) Bitcast 334 612 336: 164(bool) ULessThan 331 335 613 SelectionMerge 338 None 614 BranchConditional 336 337 338 615 337: Label 616 339: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 60 617 340: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 341 341 16 16 618 342: 11(int) Load 140(index) 619 343: 147(ptr) AccessChain 119 122 146 16 620 344: 84(int) Load 343 621 345: 11(int) Bitcast 344 622 346: 11(int) IAdd 342 345 623 349: 226(ptr) AccessChain 201(particleIn) 122 346 122 624 350: 82(fvec4) Load 349 625 351: 18(fvec3) VectorShuffle 350 350 0 1 2 626 Store 348(param) 351 627 353: 18(fvec3) Load 256(pos) 628 Store 352(param) 353 629 355: 124(ptr) AccessChain 119 122 347 630 356: 8(float) Load 355 631 Store 354(param) 356 632 357: 18(fvec3) FunctionCall 27(springForce(vf3;vf3;f1;) 348(param) 352(param) 354(param) 633 358: 18(fvec3) Load 243(force) 634 359: 18(fvec3) FAdd 358 357 635 Store 243(force) 359 636 Branch 338 637 338: Label 638 360: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 60 639 361: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 362 362 16 16 640 363: 139(ptr) AccessChain 56(id) 35 641 364: 11(int) Load 363 642 365: 164(bool) UGreaterThan 364 16 643 SelectionMerge 367 None 644 BranchConditional 365 366 367 645 366: Label 646 368: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 60 647 369: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 370 370 16 16 648 371: 11(int) Load 140(index) 649 372: 147(ptr) AccessChain 119 122 146 16 650 373: 84(int) Load 372 651 374: 11(int) Bitcast 373 652 375: 11(int) ISub 371 374 653 377: 226(ptr) AccessChain 201(particleIn) 122 375 122 654 378: 82(fvec4) Load 377 655 379: 18(fvec3) VectorShuffle 378 378 0 1 2 656 Store 376(param) 379 657 381: 18(fvec3) Load 256(pos) 658 Store 380(param) 381 659 383: 124(ptr) AccessChain 119 122 347 660 384: 8(float) Load 383 661 Store 382(param) 384 662 385: 18(fvec3) FunctionCall 27(springForce(vf3;vf3;f1;) 376(param) 380(param) 382(param) 663 386: 18(fvec3) Load 243(force) 664 387: 18(fvec3) FAdd 386 385 665 Store 243(force) 387 666 Branch 367 667 367: Label 668 388: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 60 669 389: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 390 390 16 16 670 391: 139(ptr) AccessChain 56(id) 16 671 392: 11(int) Load 391 672 393: 164(bool) UGreaterThan 392 16 673 394: 139(ptr) AccessChain 56(id) 35 674 395: 11(int) Load 394 675 396: 147(ptr) AccessChain 119 122 146 35 676 397: 84(int) Load 396 677 398: 84(int) ISub 397 233 678 399: 11(int) Bitcast 398 679 400: 164(bool) ULessThan 395 399 680 401: 164(bool) LogicalAnd 393 400 681 SelectionMerge 403 None 682 BranchConditional 401 402 403 683 402: Label 684 404: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 60 685 405: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 406 406 16 16 686 407: 11(int) Load 140(index) 687 408: 147(ptr) AccessChain 119 122 146 16 688 409: 84(int) Load 408 689 410: 11(int) Bitcast 409 690 411: 11(int) IAdd 407 410 691 412: 11(int) ISub 411 35 692 415: 226(ptr) AccessChain 201(particleIn) 122 412 122 693 416: 82(fvec4) Load 415 694 417: 18(fvec3) VectorShuffle 416 416 0 1 2 695 Store 414(param) 417 696 419: 18(fvec3) Load 256(pos) 697 Store 418(param) 419 698 421: 124(ptr) AccessChain 119 122 413 699 422: 8(float) Load 421 700 Store 420(param) 422 701 423: 18(fvec3) FunctionCall 27(springForce(vf3;vf3;f1;) 414(param) 418(param) 420(param) 702 424: 18(fvec3) Load 243(force) 703 425: 18(fvec3) FAdd 424 423 704 Store 243(force) 425 705 Branch 403 706 403: Label 707 426: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 60 708 427: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 428 428 16 16 709 429: 139(ptr) AccessChain 56(id) 16 710 430: 11(int) Load 429 711 431: 164(bool) UGreaterThan 430 16 712 432: 139(ptr) AccessChain 56(id) 35 713 433: 11(int) Load 432 714 434: 164(bool) UGreaterThan 433 16 715 435: 164(bool) LogicalAnd 431 434 716 SelectionMerge 437 None 717 BranchConditional 435 436 437 718 436: Label 719 438: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 60 720 439: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 440 440 16 16 721 441: 11(int) Load 140(index) 722 442: 147(ptr) AccessChain 119 122 146 16 723 443: 84(int) Load 442 724 444: 11(int) Bitcast 443 725 445: 11(int) ISub 441 444 726 446: 11(int) ISub 445 35 727 448: 226(ptr) AccessChain 201(particleIn) 122 446 122 728 449: 82(fvec4) Load 448 729 450: 18(fvec3) VectorShuffle 449 449 0 1 2 730 Store 447(param) 450 731 452: 18(fvec3) Load 256(pos) 732 Store 451(param) 452 733 454: 124(ptr) AccessChain 119 122 413 734 455: 8(float) Load 454 735 Store 453(param) 455 736 456: 18(fvec3) FunctionCall 27(springForce(vf3;vf3;f1;) 447(param) 451(param) 453(param) 737 457: 18(fvec3) Load 243(force) 738 458: 18(fvec3) FAdd 457 456 739 Store 243(force) 458 740 Branch 437 741 437: Label 742 459: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 60 743 460: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 461 461 16 16 744 462: 139(ptr) AccessChain 56(id) 16 745 463: 11(int) Load 462 746 464: 147(ptr) AccessChain 119 122 146 16 747 465: 84(int) Load 464 748 466: 84(int) ISub 465 233 749 467: 11(int) Bitcast 466 750 468: 164(bool) ULessThan 463 467 751 469: 139(ptr) AccessChain 56(id) 35 752 470: 11(int) Load 469 753 471: 147(ptr) AccessChain 119 122 146 35 754 472: 84(int) Load 471 755 473: 84(int) ISub 472 233 756 474: 11(int) Bitcast 473 757 475: 164(bool) ULessThan 470 474 758 476: 164(bool) LogicalAnd 468 475 759 SelectionMerge 478 None 760 BranchConditional 476 477 478 761 477: Label 762 479: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 60 763 480: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 481 481 16 16 764 482: 11(int) Load 140(index) 765 483: 147(ptr) AccessChain 119 122 146 16 766 484: 84(int) Load 483 767 485: 11(int) Bitcast 484 768 486: 11(int) IAdd 482 485 769 487: 11(int) IAdd 486 35 770 489: 226(ptr) AccessChain 201(particleIn) 122 487 122 771 490: 82(fvec4) Load 489 772 491: 18(fvec3) VectorShuffle 490 490 0 1 2 773 Store 488(param) 491 774 493: 18(fvec3) Load 256(pos) 775 Store 492(param) 493 776 495: 124(ptr) AccessChain 119 122 413 777 496: 8(float) Load 495 778 Store 494(param) 496 779 497: 18(fvec3) FunctionCall 27(springForce(vf3;vf3;f1;) 488(param) 492(param) 494(param) 780 498: 18(fvec3) Load 243(force) 781 499: 18(fvec3) FAdd 498 497 782 Store 243(force) 499 783 Branch 478 784 478: Label 785 500: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 60 786 501: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 502 502 16 16 787 503: 139(ptr) AccessChain 56(id) 16 788 504: 11(int) Load 503 789 505: 147(ptr) AccessChain 119 122 146 16 790 506: 84(int) Load 505 791 507: 84(int) ISub 506 233 792 508: 11(int) Bitcast 507 793 509: 164(bool) ULessThan 504 508 794 510: 139(ptr) AccessChain 56(id) 35 795 511: 11(int) Load 510 796 512: 164(bool) UGreaterThan 511 16 797 513: 164(bool) LogicalAnd 509 512 798 SelectionMerge 515 None 799 BranchConditional 513 514 515 800 514: Label 801 516: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 60 802 517: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 518 518 16 16 803 519: 11(int) Load 140(index) 804 520: 147(ptr) AccessChain 119 122 146 16 805 521: 84(int) Load 520 806 522: 11(int) Bitcast 521 807 523: 11(int) ISub 519 522 808 524: 11(int) IAdd 523 35 809 526: 226(ptr) AccessChain 201(particleIn) 122 524 122 810 527: 82(fvec4) Load 526 811 528: 18(fvec3) VectorShuffle 527 527 0 1 2 812 Store 525(param) 528 813 530: 18(fvec3) Load 256(pos) 814 Store 529(param) 530 815 532: 124(ptr) AccessChain 119 122 413 816 533: 8(float) Load 532 817 Store 531(param) 533 818 534: 18(fvec3) FunctionCall 27(springForce(vf3;vf3;f1;) 525(param) 529(param) 531(param) 819 535: 18(fvec3) Load 243(force) 820 536: 18(fvec3) FAdd 535 534 821 Store 243(force) 536 822 Branch 515 823 515: Label 824 537: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 60 825 538: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 539 539 16 16 826 541: 124(ptr) AccessChain 119 122 540 827 542: 8(float) Load 541 828 543: 8(float) FNegate 542 829 544: 18(fvec3) Load 266(vel) 830 545: 18(fvec3) VectorTimesScalar 544 543 831 546: 18(fvec3) Load 243(force) 832 547: 18(fvec3) FAdd 546 545 833 Store 243(force) 547 834 548: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 549 549 16 16 835 553: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 551 550(f) 43 836 554: 18(fvec3) Load 243(force) 837 555: 124(ptr) AccessChain 119 122 233 838 556: 8(float) Load 555 839 557: 8(float) FDiv 207 556 840 558: 18(fvec3) VectorTimesScalar 554 557 841 Store 550(f) 558 842 559: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 560 560 16 16 843 561: 11(int) Load 140(index) 844 562: 18(fvec3) Load 256(pos) 845 563: 18(fvec3) Load 266(vel) 846 564: 124(ptr) AccessChain 119 122 122 847 565: 8(float) Load 564 848 566: 18(fvec3) VectorTimesScalar 563 565 849 567: 18(fvec3) FAdd 562 566 850 569: 18(fvec3) Load 550(f) 851 570: 18(fvec3) VectorTimesScalar 569 568 852 571: 124(ptr) AccessChain 119 122 122 853 572: 8(float) Load 571 854 573: 18(fvec3) VectorTimesScalar 570 572 855 574: 124(ptr) AccessChain 119 122 122 856 575: 8(float) Load 574 857 576: 18(fvec3) VectorTimesScalar 573 575 858 577: 18(fvec3) FAdd 567 576 859 578: 8(float) CompositeExtract 577 0 860 579: 8(float) CompositeExtract 577 1 861 580: 8(float) CompositeExtract 577 2 862 581: 82(fvec4) CompositeConstruct 578 579 580 207 863 582: 226(ptr) AccessChain 222(particleOut) 122 561 122 864 Store 582 581 865 583: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 584 584 16 16 866 585: 11(int) Load 140(index) 867 586: 18(fvec3) Load 266(vel) 868 587: 18(fvec3) Load 550(f) 869 588: 124(ptr) AccessChain 119 122 122 870 589: 8(float) Load 588 871 590: 18(fvec3) VectorTimesScalar 587 589 872 591: 18(fvec3) FAdd 586 590 873 592: 8(float) CompositeExtract 591 0 874 593: 8(float) CompositeExtract 591 1 875 594: 8(float) CompositeExtract 591 2 876 595: 82(fvec4) CompositeConstruct 592 593 594 234 877 596: 226(ptr) AccessChain 222(particleOut) 122 585 233 878 Store 596 595 879 597: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 598 598 16 16 880 602: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 600 599(sphereDist) 43 881 603: 11(int) Load 140(index) 882 604: 226(ptr) AccessChain 222(particleOut) 122 603 122 883 605: 82(fvec4) Load 604 884 606: 18(fvec3) VectorShuffle 605 605 0 1 2 885 608: 226(ptr) AccessChain 119 122 607 886 609: 82(fvec4) Load 608 887 610: 18(fvec3) VectorShuffle 609 609 0 1 2 888 611: 18(fvec3) FSub 606 610 889 Store 599(sphereDist) 611 890 612: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 613 613 16 16 891 614: 18(fvec3) Load 599(sphereDist) 892 615: 8(float) ExtInst 3(GLSL.std.450) 66(Length) 614 893 617: 124(ptr) AccessChain 119 122 616 894 618: 8(float) Load 617 895 620: 8(float) FAdd 618 619 896 621: 164(bool) FOrdLessThan 615 620 897 SelectionMerge 623 None 898 BranchConditional 621 622 623 899 622: Label 900 624: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 60 901 625: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 626 626 16 16 902 627: 11(int) Load 140(index) 903 628: 226(ptr) AccessChain 119 122 607 904 629: 82(fvec4) Load 628 905 630: 18(fvec3) VectorShuffle 629 629 0 1 2 906 631: 18(fvec3) Load 599(sphereDist) 907 632: 18(fvec3) ExtInst 3(GLSL.std.450) 69(Normalize) 631 908 633: 124(ptr) AccessChain 119 122 616 909 634: 8(float) Load 633 910 635: 8(float) FAdd 634 619 911 636: 18(fvec3) VectorTimesScalar 632 635 912 637: 18(fvec3) FAdd 630 636 913 638: 124(ptr) AccessChain 222(particleOut) 122 627 122 16 914 639: 8(float) CompositeExtract 637 0 915 Store 638 639 916 640: 124(ptr) AccessChain 222(particleOut) 122 627 122 35 917 641: 8(float) CompositeExtract 637 1 918 Store 640 641 919 642: 124(ptr) AccessChain 222(particleOut) 122 627 122 46 920 643: 8(float) CompositeExtract 637 2 921 Store 642 643 922 644: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 645 645 16 16 923 646: 11(int) Load 140(index) 924 647: 226(ptr) AccessChain 222(particleOut) 122 646 233 925 Store 647 235 926 Branch 623 927 623: Label 928 648: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 60 929 649: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 650 650 16 16 930 668: 667(ptr) AccessChain 665 122 122 931 669: 11(int) Load 668 932 670: 164(bool) IEqual 669 35 933 SelectionMerge 672 None 934 BranchConditional 670 671 672 935 671: Label 936 673: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 60 937 674: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 675 675 16 16 938 678: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 677 676(normal) 43 939 Store 676(normal) 679 940 680: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 681 681 16 16 941 682: 139(ptr) AccessChain 56(id) 35 942 683: 11(int) Load 682 943 684: 164(bool) UGreaterThan 683 16 944 SelectionMerge 686 None 945 BranchConditional 684 685 686 946 685: Label 947 687: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 60 948 688: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 689 689 16 16 949 690: 139(ptr) AccessChain 56(id) 16 950 691: 11(int) Load 690 951 692: 164(bool) UGreaterThan 691 16 952 SelectionMerge 694 None 953 BranchConditional 692 693 694 954 693: Label 955 695: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 60 956 696: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 697 697 16 16 957 701: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 699 698(a) 43 958 702: 11(int) Load 140(index) 959 703: 11(int) ISub 702 35 960 704: 226(ptr) AccessChain 201(particleIn) 122 703 122 961 705: 82(fvec4) Load 704 962 706: 18(fvec3) VectorShuffle 705 705 0 1 2 963 707: 18(fvec3) Load 256(pos) 964 708: 18(fvec3) FSub 706 707 965 Store 698(a) 708 966 709: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 710 710 16 16 967 714: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 712 711(b) 43 968 715: 11(int) Load 140(index) 969 716: 147(ptr) AccessChain 119 122 146 16 970 717: 84(int) Load 716 971 718: 11(int) Bitcast 717 972 719: 11(int) ISub 715 718 973 720: 11(int) ISub 719 35 974 721: 226(ptr) AccessChain 201(particleIn) 122 720 122 975 722: 82(fvec4) Load 721 976 723: 18(fvec3) VectorShuffle 722 722 0 1 2 977 724: 18(fvec3) Load 256(pos) 978 725: 18(fvec3) FSub 723 724 979 Store 711(b) 725 980 726: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 727 727 16 16 981 731: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 28(DebugDeclare) 729 728(c) 43 982 732: 11(int) Load 140(index) 983 733: 147(ptr) AccessChain 119 122 146 16 984 734: 84(int) Load 733 985 735: 11(int) Bitcast 734 986 736: 11(int) ISub 732 735 987 737: 226(ptr) AccessChain 201(particleIn) 122 736 122 988 738: 82(fvec4) Load 737 989 739: 18(fvec3) VectorShuffle 738 738 0 1 2 990 740: 18(fvec3) Load 256(pos) 991 741: 18(fvec3) FSub 739 740 992 Store 728(c) 741 993 742: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 743 743 16 16 994 744: 18(fvec3) Load 698(a) 995 745: 18(fvec3) Load 711(b) 996 746: 18(fvec3) ExtInst 3(GLSL.std.450) 68(Cross) 744 745 997 747: 18(fvec3) Load 711(b) 998 748: 18(fvec3) Load 728(c) 999 749: 18(fvec3) ExtInst 3(GLSL.std.450) 68(Cross) 747 748 1000 750: 18(fvec3) FAdd 746 749 1001 751: 18(fvec3) Load 676(normal) 1002 752: 18(fvec3) FAdd 751 750 1003 Store 676(normal) 752 1004 Branch 694 1005 694: Label 1006 753: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 60 1007 754: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 755 755 16 16 1008 756: 139(ptr) AccessChain 56(id) 16 1009 757: 11(int) Load 756 1010 758: 147(ptr) AccessChain 119 122 146 16 1011 759: 84(int) Load 758 1012 760: 84(int) ISub 759 233 1013 761: 11(int) Bitcast 760 1014 762: 164(bool) ULessThan 757 761 1015 SelectionMerge 764 None 1016 BranchConditional 762 763 764 1017 763: Label 1018 765: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 60 1019 766: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 767 767 16 16 1020 768: 11(int) Load 140(index) 1021 769: 147(ptr) AccessChain 119 122 146 16 1022 770: 84(int) Load 769 1023 771: 11(int) Bitcast 770 1024 772: 11(int) ISub 768 771 1025 773: 226(ptr) AccessChain 201(particleIn) 122 772 122 1026 774: 82(fvec4) Load 773 1027 775: 18(fvec3) VectorShuffle 774 774 0 1 2 1028 776: 18(fvec3) Load 256(pos) 1029 777: 18(fvec3) FSub 775 776 1030 Store 698(a) 777 1031 778: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 779 779 16 16 1032 780: 11(int) Load 140(index) 1033 781: 147(ptr) AccessChain 119 122 146 16 1034 782: 84(int) Load 781 1035 783: 11(int) Bitcast 782 1036 784: 11(int) ISub 780 783 1037 785: 11(int) IAdd 784 35 1038 786: 226(ptr) AccessChain 201(particleIn) 122 785 122 1039 787: 82(fvec4) Load 786 1040 788: 18(fvec3) VectorShuffle 787 787 0 1 2 1041 789: 18(fvec3) Load 256(pos) 1042 790: 18(fvec3) FSub 788 789 1043 Store 711(b) 790 1044 791: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 792 792 16 16 1045 793: 11(int) Load 140(index) 1046 794: 11(int) IAdd 793 35 1047 795: 226(ptr) AccessChain 201(particleIn) 122 794 122 1048 796: 82(fvec4) Load 795 1049 797: 18(fvec3) VectorShuffle 796 796 0 1 2 1050 798: 18(fvec3) Load 256(pos) 1051 799: 18(fvec3) FSub 797 798 1052 Store 728(c) 799 1053 800: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 801 801 16 16 1054 802: 18(fvec3) Load 698(a) 1055 803: 18(fvec3) Load 711(b) 1056 804: 18(fvec3) ExtInst 3(GLSL.std.450) 68(Cross) 802 803 1057 805: 18(fvec3) Load 711(b) 1058 806: 18(fvec3) Load 728(c) 1059 807: 18(fvec3) ExtInst 3(GLSL.std.450) 68(Cross) 805 806 1060 808: 18(fvec3) FAdd 804 807 1061 809: 18(fvec3) Load 676(normal) 1062 810: 18(fvec3) FAdd 809 808 1063 Store 676(normal) 810 1064 Branch 764 1065 764: Label 1066 Branch 686 1067 686: Label 1068 811: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 60 1069 812: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 813 813 16 16 1070 814: 139(ptr) AccessChain 56(id) 35 1071 815: 11(int) Load 814 1072 816: 147(ptr) AccessChain 119 122 146 35 1073 817: 84(int) Load 816 1074 818: 84(int) ISub 817 233 1075 819: 11(int) Bitcast 818 1076 820: 164(bool) ULessThan 815 819 1077 SelectionMerge 822 None 1078 BranchConditional 820 821 822 1079 821: Label 1080 823: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 60 1081 824: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 825 825 16 16 1082 826: 139(ptr) AccessChain 56(id) 16 1083 827: 11(int) Load 826 1084 828: 164(bool) UGreaterThan 827 16 1085 SelectionMerge 830 None 1086 BranchConditional 828 829 830 1087 829: Label 1088 831: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 60 1089 832: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 833 833 16 16 1090 834: 11(int) Load 140(index) 1091 835: 147(ptr) AccessChain 119 122 146 16 1092 836: 84(int) Load 835 1093 837: 11(int) Bitcast 836 1094 838: 11(int) IAdd 834 837 1095 839: 226(ptr) AccessChain 201(particleIn) 122 838 122 1096 840: 82(fvec4) Load 839 1097 841: 18(fvec3) VectorShuffle 840 840 0 1 2 1098 842: 18(fvec3) Load 256(pos) 1099 843: 18(fvec3) FSub 841 842 1100 Store 698(a) 843 1101 844: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 845 845 16 16 1102 846: 11(int) Load 140(index) 1103 847: 147(ptr) AccessChain 119 122 146 16 1104 848: 84(int) Load 847 1105 849: 11(int) Bitcast 848 1106 850: 11(int) IAdd 846 849 1107 851: 11(int) ISub 850 35 1108 852: 226(ptr) AccessChain 201(particleIn) 122 851 122 1109 853: 82(fvec4) Load 852 1110 854: 18(fvec3) VectorShuffle 853 853 0 1 2 1111 855: 18(fvec3) Load 256(pos) 1112 856: 18(fvec3) FSub 854 855 1113 Store 711(b) 856 1114 857: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 858 858 16 16 1115 859: 11(int) Load 140(index) 1116 860: 11(int) ISub 859 35 1117 861: 226(ptr) AccessChain 201(particleIn) 122 860 122 1118 862: 82(fvec4) Load 861 1119 863: 18(fvec3) VectorShuffle 862 862 0 1 2 1120 864: 18(fvec3) Load 256(pos) 1121 865: 18(fvec3) FSub 863 864 1122 Store 728(c) 865 1123 866: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 867 867 16 16 1124 868: 18(fvec3) Load 698(a) 1125 869: 18(fvec3) Load 711(b) 1126 870: 18(fvec3) ExtInst 3(GLSL.std.450) 68(Cross) 868 869 1127 871: 18(fvec3) Load 711(b) 1128 872: 18(fvec3) Load 728(c) 1129 873: 18(fvec3) ExtInst 3(GLSL.std.450) 68(Cross) 871 872 1130 874: 18(fvec3) FAdd 870 873 1131 875: 18(fvec3) Load 676(normal) 1132 876: 18(fvec3) FAdd 875 874 1133 Store 676(normal) 876 1134 Branch 830 1135 830: Label 1136 877: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 60 1137 878: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 879 879 16 16 1138 880: 139(ptr) AccessChain 56(id) 16 1139 881: 11(int) Load 880 1140 882: 147(ptr) AccessChain 119 122 146 16 1141 883: 84(int) Load 882 1142 884: 84(int) ISub 883 233 1143 885: 11(int) Bitcast 884 1144 886: 164(bool) ULessThan 881 885 1145 SelectionMerge 888 None 1146 BranchConditional 886 887 888 1147 887: Label 1148 889: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 60 1149 890: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 891 891 16 16 1150 892: 11(int) Load 140(index) 1151 893: 11(int) IAdd 892 35 1152 894: 226(ptr) AccessChain 201(particleIn) 122 893 122 1153 895: 82(fvec4) Load 894 1154 896: 18(fvec3) VectorShuffle 895 895 0 1 2 1155 897: 18(fvec3) Load 256(pos) 1156 898: 18(fvec3) FSub 896 897 1157 Store 698(a) 898 1158 899: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 900 900 16 16 1159 901: 11(int) Load 140(index) 1160 902: 147(ptr) AccessChain 119 122 146 16 1161 903: 84(int) Load 902 1162 904: 11(int) Bitcast 903 1163 905: 11(int) IAdd 901 904 1164 906: 11(int) IAdd 905 35 1165 907: 226(ptr) AccessChain 201(particleIn) 122 906 122 1166 908: 82(fvec4) Load 907 1167 909: 18(fvec3) VectorShuffle 908 908 0 1 2 1168 910: 18(fvec3) Load 256(pos) 1169 911: 18(fvec3) FSub 909 910 1170 Store 711(b) 911 1171 912: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 913 913 16 16 1172 914: 11(int) Load 140(index) 1173 915: 147(ptr) AccessChain 119 122 146 16 1174 916: 84(int) Load 915 1175 917: 11(int) Bitcast 916 1176 918: 11(int) IAdd 914 917 1177 919: 226(ptr) AccessChain 201(particleIn) 122 918 122 1178 920: 82(fvec4) Load 919 1179 921: 18(fvec3) VectorShuffle 920 920 0 1 2 1180 922: 18(fvec3) Load 256(pos) 1181 923: 18(fvec3) FSub 921 922 1182 Store 728(c) 923 1183 924: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 925 925 16 16 1184 926: 18(fvec3) Load 698(a) 1185 927: 18(fvec3) Load 711(b) 1186 928: 18(fvec3) ExtInst 3(GLSL.std.450) 68(Cross) 926 927 1187 929: 18(fvec3) Load 711(b) 1188 930: 18(fvec3) Load 728(c) 1189 931: 18(fvec3) ExtInst 3(GLSL.std.450) 68(Cross) 929 930 1190 932: 18(fvec3) FAdd 928 931 1191 933: 18(fvec3) Load 676(normal) 1192 934: 18(fvec3) FAdd 933 932 1193 Store 676(normal) 934 1194 Branch 888 1195 888: Label 1196 Branch 822 1197 822: Label 1198 935: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 23(DebugScope) 60 1199 936: 4 ExtInst 2(NonSemantic.Shader.DebugInfo.100) 103(DebugLine) 31 937 937 16 16 1200 938: 11(int) Load 140(index) 1201 939: 18(fvec3) Load 676(normal) 1202 940: 18(fvec3) ExtInst 3(GLSL.std.450) 69(Normalize) 939 1203 941: 8(float) CompositeExtract 940 0 1204 942: 8(float) CompositeExtract 940 1 1205 943: 8(float) CompositeExtract 940 2 1206 944: 82(fvec4) CompositeConstruct 941 942 943 234 1207 945: 226(ptr) AccessChain 222(particleOut) 122 938 540 1208 Store 945 944 1209 Branch 672 1210 672: Label 1211 Return 1212 FunctionEnd 1213