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