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