glslang/Test/baseResults/spv.debuginfo.glsl.comp.out

1086 lines
60 KiB
Plaintext

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