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