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