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