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