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