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