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