glslang-zig/Test/baseResults/spv.debuginfo.glsl.comp.out
Qingyuan Zheng 30661abd9c
Clean up the debug line info tracking and generation.
- Correctly populate the field `currentFileId` with the presence of include directive
- Support lazy OpLine/OpDebugLine generation only when a real instruction is added instead of a debug location is set
- Improve the debug location tracking to per-block instead of just per-builder
- A few bug fixes related to debug source info
2024-02-09 10:27:40 -08:00

1224 lines
72 KiB
Text

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