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