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