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

1204 lines
70 KiB
Text

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