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

1225 lines
72 KiB
Text

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