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